/* Reset and base styles (light reset) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme: olive galaxy with pink hacker accents, frosted glass */
:root {
  --olive-dark: #0b140f;
  --olive-mid: #2f4f2a;
  --olive-light: #4b6a3a;
  --bg: #0a0f0a;
  --text: #e8f2e8;
  --pink: #ff53b8;
  --pink-dark: #e6008b;
  --card: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .25);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* olive galaxy starscape: layered gradients for subtle starfield */
  background-image:
    radial-gradient(circle at 15% 25%, rgba(118, 170, 60, .25) 0 2px, transparent 2px),
    radial-gradient(circle at 60% 60%, rgba(180, 120, 180, .15) 0 2px, transparent 2px),
    radial-gradient(circle at 85% 15%, rgba(110, 180, 90, .18) 0 2px, transparent 2px),
    linear-gradient(#1a1f1a, #0a0f0a);
  background-size: 60px 60px, 80px 80px, 70px 70px, 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

main { padding: 1rem 1rem 2rem; }

/* Frosted glass card around the hero image (image-frame) */
.image-frame {
  width: min(92vw, 860px);
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  mix-blend-mode: normal;
  filter: saturate(1.05);
}

/* Footer with frosted glass feel and CTA region inside */
footer {
  margin: 2rem auto 0;
  padding: 1rem;
  width: min(92vw, 860px);
  border-radius: 16px;
  background: rgba(8, 16, 12, .45);
  border: 1px solid rgba(140, 255, 220, .25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  color: #e7fbe8;
}

/* CTA block inside the footer (featured product) */
.product-ad {
  display: grid;
  gap: .6rem;
  padding: .75rem;
  margin-bottom: .5rem;
  text-align: left;
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
}

.product-ad h3 {
  font-size: .95rem;
  color: #ffd9e6;
  margin-bottom: .25rem;
  letter-spacing: .4px;
}

.product-ad a {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  /* pink hacker button */
  background: linear-gradient(135deg, #ff5ea9 0%, #ff2f9b 60%, #e30086 100%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:focus-visible {
  outline: 3px solid #ffd9e6;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 100, 180, .25);
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}

/* minor text under the ad, muted glow */
footer p {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: #d2f6d9;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Responsive: mobile-first scaling, adjust layout for larger screens */
@media (min-width: 768px) {
  .image-frame { width: 60%; }
  footer { width: 60%; }
  .product-ad {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .product-ad a { padding: .9rem 1.4rem; }
}

@media (min-width: 1024px) {
  .image-frame { width: 50%; }
  footer { width: 50%; }
}