:root {
  --maroon: #2a0b0f;
  --maroon-2: #3a0d12;
  --green: #2ee389;
  --green-dark: #1a9e73;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text: #eafaf3;
  --muted: #cfe9d8;
}

*,
*::before,
*::after { box-sizing: border-box; }

/* Light reset */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--maroon);
  /* Green diagonal lines over maroon hacker vibe */
  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    repeating-linear-gradient(135deg, rgba(46, 238, 137, 0.25) 0 6px, rgba(46, 238, 137, 0) 6px 12px);
  background-blend-mode: multiply, normal;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout: mobile-first, focus on hero area visually via frosted frames */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 60dvh;
  gap: 1.5rem;
}

/* Frosted glass image frame as hero container */
.image-frame {
  width: min(900px, 92%);
  border-radius: 14px;
  padding: 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  overflow: hidden;
}

/* Image inside hero */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}

/* Footer with a frosted, cyberpunk ad block and copyright line */
footer {
  width: 100%;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.25);
  background: rgba(12, 0, 0, 0.25);
  color: var(--text);
}

/* Product ad badge (glassy pill) */
.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 12px rgba(0,0,0,.15);
}
.product-ad h3 {
  font-size: .95rem;
  margin: 0;
  color: #d2ffd8;
  text-shadow: 0 0 6px rgba(46,238,137,.6);
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(#1f9f69, #0c6b46);
  color: #eafff5;
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .2s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:hover { transform: translateY(-1px); background: linear-gradient(#27b07a, #0a7a54); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Copyright line */
footer p { margin: 0; font-size: .9rem; opacity: .9; }

/* Focus visibility for keyboard accessibility on CTAs/links */
a:focus-visible {
  outline: 3px solid #9fff9c;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 720px) {
  main { min-height: 70dvh; padding: 3rem 2rem; }
  .image-frame { padding: 1rem; }
}
@media (min-width: 1024px) {
  .image-frame { width: 860px; }
  footer { padding: 1.5rem 2rem; }
}