/* Base tokens */
:root{
  --bg: #0a001a;
  --bg-2: #0a0a1a;
  --text: #e9e9f0;
  --muted: #b6b6c2;
  --accent: #ff0abf;       /* hot pink */
  --accent-2: #b3ff00;     /* chartreuse */
  --surface: rgba(255,255,255,0.10);
  --surface-2: rgba(0,0,0,0.25);
  --border: rgba(255,255,255,0.25);
  --gap: 1rem;
}
/* Layout basics */
* { box-sizing: border-box; }
html, body, header, nav, main, article, aside, footer { display: block; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(255,0,191,0.25), transparent 40%),
    linear-gradient(135deg, rgba(255,0,191,0.25), rgba(0,0,0,0.8) 60%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 2px, transparent 2px 4px);
  background-color: #000;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background layers blend */
body {
  background-blend-mode: overlay, normal, normal;
}

/* Global typography scale (fluid) */
h1, h2 { line-height: 1.15; font-weight: 700; letter-spacing: .2px; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem 1.15rem; }

/* Utilities & layout helpers */
.container { width: min(92%, 1100px); margin-inline: auto; padding: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }

/* Glass panel aesthetic (with optional backdrop-filter) */
article {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.image-frame {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  background: #111;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

header { text-align: center; padding: 1.25rem 1rem; }
header h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); margin: .25rem 0 .25rem; color: var(--text); text-shadow: 0 1px 0 rgba(0,0,0,.3); }
header .meta { color: var(--muted); font-size: 0.92rem; }

/* Hero + content typography hierarchy */
h2 { font-size: clamp(1.4rem, 1.6vw + 1rem, 2.2rem); margin: .25rem 0 .5rem; color: var(--text); }
p { color: var(--text); opacity: .95; }

/* Links & buttons (accessible focus) */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--accent-2); }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Buttons & CTAs */
.btn, .cta { display: inline-block; padding: .65rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,0,191,.85); color: #fff; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover, .cta:hover { transform: translateY(-1px); background: #ff1ab1; }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Tag pills */
.tag { display:inline-flex; align-items:center; padding:.25em .6em; font-size:.75rem; border-radius:999px; background: rgba(0,255,140,.15); color: var(--text); border: 1px solid rgba(0,255,140,.4); }

/* Sections in footer (ad blocks) */
.product-ad, .sponsored-page { display:block; width: 100%; padding: .8rem; margin: .5rem 0; background: rgba(0,0,0,.15); border-radius: 12px; border: 1px solid rgba(255,255,255,.25); }
.product-ad a, .sponsored-page a { display:block; color: #fff; text-decoration: none; padding: .4rem; }
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

/* Layout specifics for semantic sections */
header, nav, main, article, aside, footer { width: 100%; }

/* Print-friendly tweaks */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #000; }
  .image-frame { page-break-inside: avoid; }
}

/* Mobile-first improvements */
@media (min-width: 640px) {
  .container { padding-inline: 1.25rem; }
}
@media (min-width: 900px) {
  main { padding: 1.25rem 0; }
  article { padding: 1.25rem; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Minimal hero entrance (GPU-friendly) */
header { animation: fadeIn 450ms ease-out both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }