/* Section: Tokens & Global */
:root {
  --bg: #0b0f1a;
  --bg-2: #040511;
  --text: #eaf7ff;
  --muted: #a9b8d9;
  --accent: #00e5ff;        /* electric blue */
  --accent-2: #ff2ea8;      /* neon pink */
  --card: rgba(255, 255, 255, 0.12);
  --card-strong: rgba(255, 255, 255, 0.22);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --radius: 12px;
  --focus: 3px solid var(--accent-2);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: var(--font-sans); line-height: 1.4; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.25) 0%, rgba(255, 0, 180, 0.25) 60%, rgba(0,0,0,0.6) 100%), 
              radial-gradient(circle at 20% -10%, rgba(0,180,255,0.15), transparent 40%),
              #000;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Section: Background details (noise/scanlines) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* subtle gradient overlay already applied; add scanlines/noise */
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
}
body { /* layer above background for content visibility */ }

/* Section: Layout primitives */
.container { width: 100%; max-width: clamp(680px, 88vw, 1200px); margin-inline: auto; padding-inline: 1rem; }

/* Grid utility (responsive) */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Section: Typography scale (responsive) */
h1, h2 { margin: 0 0 0.25rem; font-weight: 700; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.25rem, 2.5vw + 0.25rem, 1.75rem); line-height: 1.25; color: #eaffff; }

/* Section: Base content styling */
header, main, article, aside, footer { display: block; }
header { text-align: center; padding: 2rem 1rem 1rem; position: relative; z-index: 1; }
header h1 { color: #eaffff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
header .meta { color: var(--muted); font-size: clamp(0.85rem, 1.5vw, 1rem); margin-top: .25rem; }
nav { margin-top: .6rem; }
nav a { color: #eaffff; text-decoration: none; padding: .25rem .6rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); }
nav a:hover { background: rgba(255,255,255,.08); }

/* Section: Media / image framing (legacy selector) */
.image-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.28); background: #000; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section: Content container (glass panels) */
.content {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(14, 20, 40, 0.22);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
@supports not (backdrop-filter: blur(12px)) {
  .content { background: rgba(14, 20, 40, 0.48); border-color: rgba(255,255,255,.36); }
}
article { padding: 1rem 0; }

/* Section: Glass panels (product-ad) */
.product-ad {
  display: block;
  padding: .75rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  text-align: left;
  color: #eaffff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.product-ad:hover { transform: translateY(-1px); background: rgba(255,255,255,.12); }

/* Section: Lists */
ul { padding-left: 1.25rem; margin: .5rem 0; }
li { margin: .25rem 0; }

/* Section: Link styles (a) */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }
a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Section: Buttons & CTAs */
.btn, .cta, button, a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.26);
  color: #fff; text-decoration: none;
  font-weight: 600; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover, .cta:hover, a.btn:hover, button:hover { transform: translateY(-1px); }
.btn:active, .cta:active, a.btn:active, button:active { transform: translateY(0); }

.btn--solid {
  color: #001018;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.btn--outline {
  background: transparent;
  color: #eaffff;
  border: 1px solid rgba(0, 229, 255, 0.8);
}
.cta { min-width: max-content; }

/* Section: Text colors & emphasis on glass */
.muted { color: var(--muted); }
.brand { color: #eaffff; }

/* Section: Layout helpers (utility-like) */
.container--tight { max-width: clamp(520px, 90vw, 700px); }

/* Section: Footer & ad blocks */
footer { padding: 1.25rem; }
footer .grid { margin-top: .75rem; }

/* Section: Print-friendly overrides */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #000; }
  header, main, article, aside, footer { page-break-inside: avoid; }
  .image-frame { page-break-inside: avoid; break-inside: avoid; }
  .card, .product-ad { background: #fff; border: 1px solid #000; }
  .btn, .cta { display: inline; padding: .25in; }
}
  
/* Section: Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
  
/* Section: Basic typography helpers (fluid typography) */
p { font-size: clamp(1rem, 2.2vw, 1.125rem); line-height: 1.6; margin: .75rem 0; color: #eaf3ff; }
blockquote {
  margin: .75rem 0; padding: .75rem 1rem; border-left: 3px solid var(--accent-2);
  background: rgba(0,0,0,.15); border-radius: 6px; color: #eaffff;
}
```