/* Tokens & Base Palette */
:root {
  --bg: #0a0a1a;
  --bg-2: #1a0a3a;
  --surface: rgba(18, 12, 40, 0.34);
  --surface-2: rgba(255, 255, 255, 0.08);
  --text: #e8e6ff;
  --muted: #b8b2d8;
  --accent: #ffd700;
  --accent-2: #fff9b0;
  --card: rgba(20, 12, 40, 0.38);
  --card-border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,0.28);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(255, 214, 0, 0.9);
  --ease: cubic-bezier(.22,.61,.36,.99);
}

/* Global & Layout Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background:
    /* Layered ultraviolet gradient */
    radial-gradient(circle at 20% -10%, rgba(255, 245, 120, 0.08), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(140, 90, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #0a0a1a 0%, #1a0a3a 40%, #0a0a1a 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
}
body::before {
  /* Subtle scanline/noise overlay (pure CSS) */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 2px, 2px 100%;
  mix-blend-mode: overlay;
  opacity: .6;
  z-index: 0;
}
main, header, aside, article, nav, footer { position: relative; z-index: 1; }

/* Utility & Layout Helpers */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tag {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 214, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.image-frame, .featured-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 0 24px rgba(255, 214, 0, 0.25);
  background: rgba(255,255,255,.04);
}
.image-frame {
  aspect-ratio: 16 / 9;
}
.image-frame img, .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content { padding: 0.75rem 0; }

/* Glass Panels (Frosted Look) */
.glass {
  background: rgba(14, 10, 40, 0.32);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.no-backdrop {
  background: rgba(14, 10, 40, 0.75);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
@media (prefers-reduced-motion: reduce) {
  html, body { background-attachment: initial; }
  .glass, .no-backdrop { backdrop-filter: none; }
  * { transition: none !important; animation: none !important; }
}

/* Typography & Hierarchy */
h1, h2, h3, h4 { margin: 0 0 .25rem; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(1.4rem, 2.5vw + 1rem, 2.4rem); text-align: center; letter-spacing: .2px; }
h2 { font-size: clamp(1.25rem, 1.8vw + 1rem, 1.9rem); color: #f7f5ff; }
h3 { font-size: clamp(1.05rem, 1.2vw + .9rem, 1.3rem); color: #e9e2ff; margin-top: .75rem; }
p { font-size: clamp(0.95rem, 0.6vw + .9rem, 1.05rem); color: #e9e6ff; line-height: 1.6; }
blockquote {
  border-left: 3px solid rgba(255,214,0,.8);
  padding-left: .75rem;
  margin: .5rem 0;
  color: #f8f6ff;
  font-style: italic;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
}

/* Header / Nav / Footer Styling */
header {
  padding: 1.25rem 1rem;
}
header h1 { margin-bottom: .35rem; }
header .meta { text-align: center; color: var(--muted); font-size: .95rem; margin-top: .25rem; }
nav { text-align: center; margin-top: .5rem; }
nav a {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s var(--ease), background .2s;
}
nav a:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }

/* Main / Article Layout */
main { padding: 0 0 1.25rem; }
article { padding: 1rem; border-radius: var(--radius); background: rgba(12, 10, 40, 0.34); border: 1px solid rgba(255,255,255,.28); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: clamp(320px, 92vw, 1100px); margin: 0.5rem auto; }

/* Featured image wrapper (aligns with provided HTML) */
.featured-image { margin: 0.5rem 0 1rem; }

/* Content area inside article if used */
.content { padding: 0.25rem 0 0; }

/* Section: Product Ad / Aside styling */
.product-ad, .sponsored-page { display: block; margin: .5rem 0; }
.product-ad a, .sponsored-page a { display: block; text-align: center; padding: .75rem; border-radius: 10px; color: var(--text); text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.product-ad a:hover, .sponsored-page a:hover { background: rgba(255,255,255,.14); }

/* Link & Button Styles (interactive) */
a, button, .btn, .cta {
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}
a:hover { text-decoration: underline; }

/* Button Variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  gap: 0.5rem;
  font-weight: 600;
  transition: transform .15s var(--ease), background .2s, color .2s;
}
.btn.primary {
  background: linear-gradient(135deg, #ffd800 0%, #ffbd00 100%);
  color: #000;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.btn.secondary {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.25);
}
.btn:hover { transform: translateY(-1px); }

/* Image framing animation-friendly (GPU) */
.image-frame, .featured-image { will-change: transform, opacity; }

/* Lists & Misc */
ul { padding-left: 1.25rem; margin: .75rem 0; }
li { margin: .25rem 0; }

/* Print Styles */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #000; }
  .glass, .no-backdrop { backdrop-filter: none; }
}
```