/* Minimal reset and CSS variables for a hacker/cyberpunk aesthetic */
:root {
  --olive-dark: #2b3512;
  --olive-light: #6a7b38;
  --beige: #e7dbc1;
  --beige-soft: #f6eed8;
  --bg: #1a1a0f;
  --text: #e6dcc4;
  --accent: #9be15d;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --shadow-dark: rgba(0,0,0,.5);
}

/* Light reset: box-sizing, margin, padding */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Olive checkerboard background (beige hacker glow accents) */
html, body {
  height: 100%;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  color: var(--text);
  background-color: var(--olive-dark);
  /* olive checkerboard pattern */
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,0,0,.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.05) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  /* keep pattern fixed for a cyberpunk vibe */
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Layout scaffolding (mobile-first) */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  min-height: 70vh;
  width: 100%;
}

/* Frosted glass image frame (hero area) */
.image-frame {
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(248, 244, 233, 0.14); /* beige frosted tint */
  border: 1px solid rgba(235, 225, 180, 0.55);
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.25);
  /* frosted glass feel */
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  outline: 1px solid rgba(255,255,255,.15);
  isolation: isolate;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* subtle neon glow border to hint cyberpunk */
  box-shadow: 0 0 0 1px rgba(155, 225, 93, 0.25),
              0 0 26px 6px rgba(155, 225, 93, 0.25);
  pointer-events: none;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight beige tint over image for theme cohesion */
  filter: saturate(1.05) contrast(1.02);
}

/* Footer with prominent CTA area (beige/beige-like) */
footer {
  width: 100%;
  padding: 1.75rem 1rem 2.25rem;
  text-align: center;
  background: rgba(253, 246, 216, 0.08);
  border-top: 1px solid rgba(235, 225, 180, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}
.product-ad {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(235, 225, 180, 0.22);
  border: 1px solid rgba(235, 230, 180, 0.55);
  margin-bottom: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.product-ad h3 {
  font-size: 0.95rem;
  color: #efe6c9;
  letter-spacing: .2px;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: 0.72rem 1.25rem;
  border-radius: 12px;
  margin-left: 0.25rem;
  background: linear-gradient(#2a2a0f, #1c1b0a);
  color: #f9f0d7;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-ad a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.55), 0 0 14px rgba(155,225,93,.6);
}
.product-ad a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
footer p {
  color: #e9dcc2;
  opacity: .92;
  font-size: .95rem;
  margin-top: .4rem;
}

/* Accessibility: high contrast focus for links in the page body too */
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Typography tweaks for a hacker vibe (beige tones) */
h1, h2, h3, h4 {
  color: #efe6cc;
}
h3 {
  font-weight: 600;
}
p {
  color: rgba(230, 220, 196, 0.95);
  line-height: 1.4;
}

/* Responsive tweaks (tablet/desktop) */
@media (min-width: 768px) {
  main {
    padding: 2rem 2rem;
  }
  .image-frame {
    width: min(85vw, 900px);
    border-radius: 22px;
  }
  footer {
    padding: 2rem 2rem 2.5rem;
  }
}
@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
  .image-frame {
    box-shadow:
      0 12px 40px rgba(0,0,0,.45),
      inset 0 1px 0 rgba(255,255,255,.25);
  }
}