/* Tokens & Base Palette */
:root{
  --bg: #041018;
  --bg-2: #041b2a;
  --text: #eaffff;
  --muted: #9edbd3;
  --accent: #7dff00;
  --accent-2: #00e5ff;
  --card: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.28);
  --shadow: 0 8px 28px rgba(0,0,0,.32);
}

/* Type + Layered Background (mobile-first) */
html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
body {
  margin: 0;
  color: var(--text);
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 15% -5%, rgba(0,255,230,.22), transparent 25%),
    radial-gradient(circle at 85% 5%, rgba(0,255,128,.12), transparent 25%),
    linear-gradient(135deg, rgba(0,255,255,.10), rgba(0,255,0,.05) 60%, rgba(0,0,0,.25)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    var(--bg);
  background-blend-mode: overlay, overlay, overlay, overlay, normal;
  position: relative;
}

/* Layout primitives */
header, nav, main, article, aside, footer { padding: 0; }
header { display: grid; place-items: center; text-align: center; padding: 2rem 1rem 1rem; }
main { display: grid; place-items: center; padding: 0 1rem; }
footer { padding: 1rem; }

/* Hero / header typography */
header h1 { font-size: clamp(1.6rem, 4vw + .5rem, 2.6rem); margin: .25rem 0 0; letter-spacing: .3px; }

/* Image frame (frame + image) */
.image-frame { width: min(100%, 720px); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content container & utility layout */
.container { width: min(100%, 1100px); margin: 0 auto; padding: 0 1rem; }

/* Glass panels (frosted glass) */
.glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@supports not (backdrop-filter: blur(10px)) {
  .glass { background: rgba(255,255,255,.20); border: 1px solid rgba(255,255,255,.40); }
}

/* Content region inside panels */
.content { padding: .75rem; }

/* Product ad / promo blocks */
.product-ad { display: inline-block; margin: .75rem; padding: 0; border-radius: 10px; overflow: hidden;
  background: rgba(0,0,0,.28); border: 1px solid rgba(0,0,0,.28); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.product-ad a { color: var(--text); text-decoration: none; display: block; padding: .75rem 1rem; }
.product-ad a:hover, .product-ad a:focus { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* Sponsored / alternate content blocks (footer sections) */
.sponsored-page { display: inline-block; margin: .75rem; padding: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.25); background: rgba(0,0,0,.28); }
.sponsored-page a { color: var(--text); text-decoration: none; display: block; padding: .75rem 1rem; }

/* Typography scale for headings and supporting text (where present) */
h2, h3 { margin: .25rem 0; font-weight: 700; }

/* Interactive elements (buttons, links) */
a, button, .btn, .cta { color: var(--text); text-decoration: none; background: transparent; border: none; cursor: pointer; font: inherit; }
a { color: var(--accent-2); }
a:hover, a:focus { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* Buttons (variants) */
.btn, .cta { padding: .55rem .95rem; border-radius: 999px; border: 1px solid rgba(125,255,0,.6);
  background: rgba(0,0,0,.25); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.btn { transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: linear-gradient(135deg, rgba(125,255,0,.92), rgba(0,255,255,.92)); border-color: rgba(125,255,0,.95); color: #041b0e; }
.btn--outline { background: transparent; border-color: rgba(125,255,0,.92); color: var(--text); }
.cta { padding: .6rem 1rem; }

/* Focus accessibility */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* Grid / card helpers (responsive utilities) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { padding: .75rem; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* Misc. list styling (ul/li) */
ul { margin: 0 0 1rem 1.1em; padding: 0; }
li { margin: .25rem 0; }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
  
/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Section headers (organization only) */
 /* Global styles applied above ensure all required selectors are styled:
    html, body, header, nav, main, article, footer, aside
    .image-frame, .image-frame img
    .content
    .product-ad
    a, button, .btn, .cta
    ul, li
    .container, .grid, .card, .tag
*/