:root{
  /* Palette tokens derived from ultraviolet/plasma pink theme */
  --bg: #0b0b1b;
  --bg-2: #111229;
  --text: #eaf2ff;
  --muted: #cbd6ff;
  --accent: #ff3fae;      /* plasma pink primary */
  --accent-2: #a34dff;    /* ultraviolet accent */
  --surface: rgba(255,255,255,0.10);
  --surface-2: rgba(255,255,255,0.18);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.38);
  --focus: 0 0 0 3px rgba(255,63,174,.65);
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  background: 
    radial-gradient( circle at 20% -10%, rgba(240,0,255,.25), transparent 40% ),
    radial-gradient( circle at 85% 0%, rgba(0,255,210,.15), transparent 40% ),
    linear-gradient(135deg, #060712 0%, #0b0f24 40%, #0a0a1a 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle, CSS-driven scanlines / noise layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 2px, 2px 100%;
  opacity: .65;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  padding-inline: 1rem;
  margin-inline: auto;
}
.grid {
  display: grid;
  gap: 1rem;
}
.card { 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card.fallback {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  background: rgba(0,0,0,.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  filter: saturate(1.05);
}
.image-frame + .content { margin-top: .75rem; }

/*  Sectioned typography / hero */
header {
  padding: clamp(1rem, 6vw, 2rem);
  display: grid;
  gap: .5rem;
  align-items: start;
  justify-items: start;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  z-index: 1;
  border-radius: var(--radius);
  background: rgba(12,10,26,.32);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  line-height: 1.06;
  letter-spacing: .4px;
  color: #f7faff;
}
header .meta {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 0.8vw + 0.7rem, 1rem);
  opacity: .95;
}

/* Main content */
main { padding: 1rem 0 2rem; }
article { max-width: 800px; margin: 0 auto; padding: 0.25rem 0 1.5rem; }
.featured-image { margin: 1rem 0 0.75rem; }
.featured-image img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); }

/* Content text styling */
.content { padding: 0.75rem 0; color: var(--muted); }
.content h2 { color: #f2faff; font-size: clamp(1.4rem, 2vw + 1rem, 1.9rem); margin: .25rem 0 0.5rem; }
.content p { font-size: clamp(1rem, 1.2vw + .5rem, 1.125rem); line-height: 1.6; margin: .75rem 0; color: #eaf0ff; }
.content ul { margin: .75rem 0 1rem 1.25rem; padding: 0; color: var(--muted); }
.content li { margin: .25rem 0; }

/* Glass panel helpers for any section inside the document */
.glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: .75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  color: #fff;
}

/* Product ad / aside styling */
.product-ad, aside.sponsored-page {
  display: block;
  text-align: center;
  margin: .75rem 0;
}
.product-ad a, .sponsored-page a {
  display: inline-block;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
}
.product-ad {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad a { font-weight: 600; background: linear-gradient(135deg, rgba(255,75,180,.9), rgba(163,0,255,.9)); }
.sponsored-page a { background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.25)); }

/* Links / CTAs */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-decoration-color: rgba(255,63,174,.9); }
.btn, .cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: var(--accent);
  color: #fff;
  text-align: center;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: #ff4fbe; }
.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.38);
  color: #fff;
}
.btn.secondary:hover { background: rgba(255,255,255,.08); }

/* Focus visibility (accessible) */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  outline-offset: 2px;
}
a:focus-visible { outline: none; box-shadow: var(--focus); }

/* Typography scale helpers (optional) */
.kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* Print styles for readability */
@media print {
  body { background: white; color: black; }
  header, main, footer { background: transparent; box-shadow: none; border: none; }
  a { color: black; text-decoration: none; }
  .image-frame { border: none; }
  .container { padding: 0; }
}

/* Accessibility: reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
} 

/*  Section headers (organizational) */
 /* Base tokens and utilities section */ 
 /* Background layer and glass panels */ 
 /* Typography, links, and CTAs */ 
 /* Image frame and content blocks */ 
 /* Layout, grid utilities, and print/motion */