/* Section: Tokens & Global */
:root{
  --bg: #0a0f0f;
  --bg-2: #112018;
  --text: #eafff2;
  --muted: #9bd2a9;
  --accent: #39ff8a;
  --accent-2: #2bd36d;
  --panel: rgba(12,18,18,.42);
  --panel-opaque: rgba(12,18,18,.66);
  --border: rgba(110,180,140,.55);
  --shadow: 0 6px 18px rgba(0,0,0,.4);
  --focus: #1aff9b;
}

/* Section: Base & Layout */
html, body { height: 100%; }
html, body { margin: 0; padding: 0; color: var(--text);
  background: 
    linear-gradient(135deg, rgba(7,18,12,.95) 0%, rgba(6,20,14,.92) 60%, rgba(3,6,6,.92) 100%),
    radial-gradient(circle at 20% 0, rgba(0,255,120,.08), transparent 40%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container { width: 100%; max-width: clamp(720px, 90vw, 1100px); margin-inline: auto; padding: 0 1rem; }

/* Section: Typography */
h1, h2, h3 { margin: .25rem 0; font-weight: 700; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(1.6rem, 3vw + 1rem, 2.5rem); }
p { margin: .5rem 0; color: var(--text); opacity: .95; }

/* Section: Glass panels & surfaces */
.glass {
  background: rgba(12,18,18,.42);
  border: 1px solid rgba(80,140,120,.5);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(12,18,18,.75); border-color: rgba(120,180,140,.8); }
}

/* Section: Layout helpers */
.grid { display: grid; gap: 1rem; }
.card { background: rgba(14,23,23,.42); border: 1px solid rgba(120,180,140,.5); border-radius: 12px; padding: .75rem; }

/* Section: Image frame */
.image-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(120,180,140,.6);
  box-shadow: 0 6px 18px rgba(0,255,140,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section: Content area */
.content { padding: 1rem 0; }

/* Section: Typography helpers for lists/inline items */
ul, li { list-style: none; padding: 0; margin: 0; }

/* Section: Footer + promos */
footer { padding: 1rem 0 2rem; display: grid; gap: .75rem; justify-items: center; }
.product-ad, .sponsored-page { width: min(720px, 92%); text-align: center; }

/* Section: Interactions (links & controls) */
a, button, .btn, .cta { cursor: pointer; color: var(--text); text-decoration: none; }
a { color: var(--accent-2); }
a:hover, a:focus { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* Section: Buttons (variants) */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem;
  border-radius: 999px; border: 1px solid rgba(60,120,100,.6);
  background: linear-gradient(#1ce6a0, #19d07a);
  color: #052110; font-weight: 700; transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid rgba(120,180,140,.6); }

/* Outline emphasis variant */
.btn.outline { background: transparent; color: var(--text); border: 1px solid var(--accent-2); }

/* Section: Utility tag */
.container .tag { font-family: inherit; font-size: .75rem; padding: .25rem .5rem; border-radius: 999px;
  display: inline-block; background: rgba(0,255,130,.25); border: 1px solid rgba(0,255,130,.6); }

/* Section: Image & header specific tweaks */
header { text-align: center; padding: 2rem 0 1.5rem; position: relative; z-index: 1; }
header h1 { font-size: clamp(1.75rem, 4vw + .5rem, 3rem); color: #eafff5; text-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* Section: Subtle motion preferences */
@media (prefers-reduced-motion: reduce) {
  html:focus-within, *:focus { transition: none !important; animation: none !important; }
}

/* Section: Small print styles */
@media print {
  body { color: #000; background: #fff; }
  .glass { background: transparent; border: none; box-shadow: none; }
  a, button { color: #000; text-decoration: underline; }
}

/* Section: Basic page structure (ensures selectors present) */
html, body, header, nav, main, article, footer, aside { /* structural selectors present; no overrides here */ }