/* Global reset & mobile-first baseline */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: #e9f6d6; /* accessible light text on dark background */
  background: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}
/* Subtle starfield: black galaxy vibes with olive-tinted specks */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10px 20px, rgba(140, 170, 100, .8) 1px, transparent 2px),
    radial-gradient(circle at 60px 120px, rgba(120, 180, 90, .6) 1px, transparent 2px),
    radial-gradient(circle at 200px 60px, rgba(110, 150, 60, .5) 1px, transparent 2px),
    #000;
  background-size: 240px 180px, 320px 240px, 420px 300px;
  opacity: .55;
  pointer-events: none;
  filter: saturate(110%);
  animation: drift 60s linear infinite;
  z-index: 0;
}
@keyframes drift { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-20px, 10px, 0); } }

/* Layout container */
.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  z-index: 1;
  position: relative;
}

/* HERO header as frosted glass slab (mobile-first) */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
}
header {
  /* frosted glass panel */
  background: rgba(6, 12, 8, 0.48);
  border: 1px solid rgba(132, 176, 86, 0.55);
  border-radius: 16px;
  padding: 1.75rem 1.75rem;
  margin: 0 auto;
  width: min(92%, 1100px);
  text-align: center;
  backdrop-filter: blur(6px) saturate(125%);
  -webkit-backdrop-filter: blur(6px) saturate(125%);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: .2px;
  color: #e8fbd9;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
@media (min-width: 720px) {
  header { padding: 2.25rem 2.5rem; }
  header h1 { font-size: clamp(2.2rem, 3.8vw, 3rem); }
}

/* MAIN content containing the image frame (centered) */
main {
  display: grid;
  place-items: center;
  padding: 0 1rem 2rem;
  position: relative;
  z-index: 1;
}
.image-frame {
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  padding: 0.75rem;
  background: rgba(10, 20, 14, 0.44);
  border: 1px solid rgba(110, 170, 90, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
@media (min-width: 800px) {
  .image-frame { padding: 1rem; }
}

/* FOOTER with CTA-like ad block (accessible CTA via link) */
footer {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 1.25rem;
  width: 100%;
  margin-top: auto;
}
.product-ad {
  width: min(520px, 92%);
  background: rgba(6, 12, 8, 0.42);
  border: 1px solid rgba(132, 176, 86, 0.55);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #d8f6c8;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #eaffd9;
  background: linear-gradient(#2a3e1b, #1a2f0f);
  border: 1px solid rgba(140, 200, 110, 0.7);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.product-ad a:focus { outline: 3px solid #a7d18a; outline-offset: 2px; }

/* Footer small print */
footer p {
  margin: 0;
  font-size: .88rem;
  color: #a6bd7a;
}

/* Focus accessibility for all interactive elements (keyboard navigation) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #a7d18a;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reduced motion respect */
@media (prefers-reduce-motion: reduce) {
  body::before { animation: none; }
}
