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

/* Theme variables (maroon hacker vibe with lime accents) */
:root {
  --maroon: #2b0f15;
  --maroon-dark: #210910;
  --lime: #b6ff00;
  --lime-soft: rgba(182,255,0,.25);
  --text: #e8f7ff;
  --glass: rgba(255,255,255,.12);
  --glass-border: rgba(255,255,255,.28);
  --blur: 8px;
}

/* Mobile-first base styling with lime-diagonal on maroon */
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--maroon);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.0) 0 0),
    repeating-linear-gradient(135deg, rgba(182,255,0,.25) 0px, rgba(182,255,0,.25) 6px, transparent 6px, transparent 12px),
    linear-gradient(#2b0f15, #210910);
  background-blend-mode: normal, overlay, normal;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero section container (mobile-first) */
main {
  display: grid;
  place-items: start center;
  padding: 6rem 1rem 2rem;
  width: 100%;
}

/* Frosted glass image frame as hero image */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer with prominent CTA and glassy panel */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #d9e8ff;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.0));
}
.product-ad {
  display: inline-block;
  text-align: left;
  padding: .8rem 1rem;
  border-radius: 14px;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
  color: #eaffd6;
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #041308;
  background: linear-gradient(135deg, #00d07a, #7dff6b);
  transition: transform .15s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Small helper text color for footnote */
footer p { margin-top: .75rem; color: #cbd8ff; }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive tweaks */
@media (min-width: 640px) {
  main { padding-top: 8rem; }
  .image-frame { border-radius: 18px; }
}
@media (min-width: 1024px) {
  main { padding-top: 10rem; }
  .image-frame { width: min(70vw, 920px); }
}