:root {
  /* Palette tokens (magenta + retro teal) */
  --bg: #0b0022;
  --bg-2: #1a0033;
  --text: #eaf7ff;
  --muted: #a6d7ff;
  --accent: #ff2bd9;    /* magenta/violet */
  --accent-2: #2ee6d5;  /* retro teal */
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  --focus: #2ee6d5;
  --radius: 12px;
  --gap: 1rem;
}

/* Section: Base reset & globals */
html, body {
  height: 100%;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background-color: var(--bg);
  /* Layered background: magenta ripples + teal hints + scanlines */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 0, 140, 0.25) 0 18%, transparent 18%),
    radial-gradient(circle at 80% 25%, rgba(46, 230, 213, 0.20) 0 20%, transparent 20%),
    linear-gradient(135deg, rgba(6, 0, 25, 0.92), rgba(0, 0, 0, 0.92)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px);
  background-blend-mode: screen, screen, normal, overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}

/* Section: Layout primitives */
.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: .25rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(46, 230, 213, 0.18);
  border: 1px solid rgba(46, 230, 213, 0.5);
  color: var(--text);
}
ul, li { margin: 0; padding: 0; }
li { margin: .25rem 0; padding-left: 1.1rem; }

/* Section: Typography & helpers */
h1, h2, h3 { margin: .25rem 0; line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3.5rem); letter-spacing: .2px; }
h2 { font-size: clamp(1.5rem, 1vw + 1rem, 2.25rem); }
h3 { font-size: clamp(1.1rem, 0.8vw + .75rem, 1.4rem); font-weight: 700; color: var(--text); }

p { color: rgba(234, 246, 255, 0.92); line-height: 1.6; margin: .75rem 0; }

/* Section: Header, article, aside, main, footer (semantic styling) */
header, main, article, aside, footer {
  display: block;
}
header {
  margin: 1rem auto;
  padding: 1.25rem;
  max-width: 900px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
header h1 { text-shadow: 0 0 12px rgba(46, 230, 213, 0.4); color: var(--text); }
header .meta { color: var(--muted); font-size: .92rem; }

/* Section: Media image frame */
.image-frame, .featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0.75rem auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.image-frame { display: block; }
.image-frame img, .featured-image img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Section: Content panels (glass / frosted) */
.article, .content, article {
  /* Glass panel look with fallback */
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem auto;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  article, .content {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
@supports not (backdrop-filter: blur(8px)) {
  article, .content { background: rgba(255,255,255,0.12); }
}
main { padding: 1rem 0 2rem; }

/* Section: Links, buttons, CTAs */
a, button, .btn, .cta {
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
a { color: var(--accent-2); }
a:hover, a:focus { text-decoration: underline; color: var(--accent); }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.btn, .cta {
  display: inline-block;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(46,230,213,.6);
  background: rgba(46,230,213,.22);
  color: #041a15;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { background: rgba(46,230,213,.32); transform: translateY(-1px); }

/* Section: Product ad styling inside footer */
.product-ad {
  padding: .75rem;
  margin: 1rem auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15);
}
.product-ad h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.product-ad a {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 6px;
  background: rgba(46,230,213,.28);
  border: 1px solid rgba(46,230,213,.6);
  color: var(--text);
  text-decoration: none;
}
.product-ad a:hover { background: rgba(46,230,213,.42); text-decoration: none; }

/* Section: Print-friendly tweaks */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  header, main, article, footer, .image-frame { background: transparent; border: 0; box-shadow: none; }
  a, .btn, .cta { text-decoration: underline; color: #000; }
}

/* Section: Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
```