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

:root {
  --text: #e8fff6;
  --muted: #b8efe0;
  --glow: 0 0 6px rgba(46, 230, 163, 0.9), 0 0 14px rgba(46, 230, 163, 0.6);
  --glass: rgba(8, 28, 28, 0.55);
  --glass-border: rgba(46, 230, 163, 0.4);
  --bg1: #0b2a1a;
  --bg2: #114f3a;
  --bg3: #1f8a75;
  --teal: #2ee6a3;
  --shadow: 0 10px 25px rgba(0,0,0,.25);
}

html, body { height: 100%; }

body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background: linear-gradient(135deg, #0b2a1a 0%, #114f3a 40%, #1f8a75 70%, #0b2a1a 100%), 
              radial-gradient(circle at 20% 0, rgba(46,230,163,.15), rgba(46,230,163,0) 40%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout sections with frosted glass feel */
header, main, footer {
  width: min(1100px, 92%);
  margin: 1rem auto;
  border-radius: 14px;
  padding: 1rem;
  background: rgba(8, 28, 28, 0.45);
  border: 1px solid rgba(46, 230, 163, 0.35);
  backdrop-filter: saturate(1.2) blur(6px);
  box-shadow: var(--shadow);
}

/* Header: cyber-hacker title */
header { text-align: center; }
header h1 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  color: #eafff7;
  text-shadow: var(--glow);
  letter-spacing: .5px;
}
@keyframes glow { 
  0%,100% { text-shadow: 0 0 6px rgba(46,230,163,.9), 0 0 14px rgba(46,230,163,.6); } 
  50% { text-shadow: 0 0 10px rgba(46,230,163,.6), 0 0 22px rgba(46,230,163,.4); } 
}

/* Main: frosted image frame (hero) */
main .image-frame {
  margin: 1rem auto;
  width: 100%;
  max-width: 900px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(46,230,163,.35);
  background: rgba(8, 26, 26, 0.6);
  backdrop-filter: blur(6px) saturate(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}
image-frame img { display: block; } /* safeguard if mis-typed; harmless */
main .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.08);
}

/* Footer: CTA and product ad with glass look */
footer {
  margin-top: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  background: rgba(8, 28, 28, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(46,230,163,0.35);
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  text-align: center;
  background: rgba(9, 28, 28, 0.6);
  border: 1px solid rgba(46,230,163,0.4);
}
.product-ad h3 {
  margin: .25rem 0;
  font-family: ui-sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d8fff6;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  margin: 0;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #041b14;
  background: linear-gradient(135deg, #9fffe3 0%, #2bd1c2 100%);
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .15s ease;
}
.product-ad a p:hover { transform: translateY(-1px); }
.product-ad a p:focus-visible {
  outline: 3px solid rgba(46,230,163,.95);
  outline-offset: 2px;
}
footer p { margin-top: .25rem; color: #b9e8d9; }

a { color: #b9fff0; text-decoration: none; }
a:focus-visible { outline: 3px solid rgba(46,230,163,.95); outline-offset: 2px; }

/* Responsive adjustments (mobile-first) */
@media (min-width: 640px) {
  header { text-align: left; padding: 2rem 1rem; }
  header h1 { font-size: clamp(2rem, 1.5vw + 2rem, 3.5rem); }
  main { padding: 0; }
  .image-frame { margin: 2rem auto; border-radius: 16px; }
}
@media (min-width: 900px) {
  header { padding: 2rem 1rem; }
  main .image-frame { margin: 2rem auto; }
}