/* TOKENS */
:root{
  --bg: #0b0010;
  --bg-2: rgba(236, 51, 255, 0.28);  /* fuchsia highlight */
  --bg-3: rgba(255, 64, 128, 0.32);  /* scarlet accent */
  --text: #f7eaff;
  --muted: #d2b7d8;
  --accent: #ff2a6f;                   /* primary accent (fuchsia-scarlet) */
  --accent-2: #ff3b9a;                 /* secondary accent */
  --glass: rgba(255,255,255,0.14);
  --glass-strong: rgba(255,255,255,0.22);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,.28);
  --focus: 2px solid #fff;
}

/* LAYOUT & TYPOGRAPHY */
html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #0b0010 0%, #1a0030 40%, #0a0010 100%);
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body, html { scroll-behavior: smooth; }

/* Layered background: gradient + subtle noise/scanlines (pure CSS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04)),
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.08) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(to right, rgba(255,0,128,0.04) 0 2px, transparent 2px 4px);
  background-blend-mode: overlay;
  opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}

/* SECTION: HEADER */
header {
  padding: 1.25rem 1rem;
  text-align: center;
}
header h1 {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 0 0 .25rem;
  letter-spacing: .2px;
  color: var(--text);
}
header .meta {
  font-size: clamp(0.875rem, 0.6vw, 1rem);
  color: var(--muted);
  margin: 0;
}
header nav {
  margin-top: .5rem;
}
header nav a {
  color: #fff;
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}
@media (hover: hover) {
  header nav a:hover { background: rgba(255,255,255,.18); text-decoration: underline; text-underline-offset: 3px; }
}

/* SECTION: MAIN CONTENT & CONTAINER */
main { padding: 0 1rem 2rem; }
.container { width: 100%; max-width: clamp(720px, 86vw, 1100px); margin-inline: auto; }

/* GLASS CONTENT PANELS */
.content {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
@supports not (backdrop-filter: blur(12px)) {
  .content { background: rgba(255,255,255,0.18); }
}

.featured-image {
  margin: 1rem 0;
}
.image-frame {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  background: #000;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* HEADERS & TEXT SCALE */
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.5rem); margin: .75rem 0 .5rem; color: var(--text); }
h3 { font-size: clamp(1.15rem, 1vw + .9rem, 1.6rem); margin: .6rem 0 .4rem; color: var(--text); }
h4 { font-size: 1.1rem; margin: .4rem 0; color: var(--text); }
p { margin: .5rem 0 1rem; color: rgba(247, 234, 255, 0.95); }

/* LISTS & BLOCKQUOTE */
ul, ol { padding-inline-start: 1.25rem; margin: .25rem 0 1rem; }
li { margin: .25rem 0; }
blockquote {
  margin: .75rem 0; padding: .75rem 1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
  color: #fff;
}

/* SECTION: FOOTER & AD PANELS */
footer { padding: 1rem 1rem 2rem; text-align: center; }

.product-ad,
.sponsored-page {
  display: block;
  margin: .5rem auto;
  max-width: 720px;
}
.product-ad a,
.sponsored-page a { display: block; padding: .9rem 1rem; border-radius: 10px; text-decoration: none; color: #fff;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,.25);
}
.product-ad a { background: linear-gradient(135deg, rgba(255,45,120,0.9), rgba(255,140,180,0.9)); }
.sponsored-page a { background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35)); }

/* Generic button/link variants */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255,42,111,1) 0%, rgba(255,58,154,0.95) 100%);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .95; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Outline variant for buttons/CTAs */
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
}
.btn--outline:hover {
  background: rgba(255,255,255,.08);
}

/* Links: underline on hover/focus; accessible contrast */
a { color: #ffd7ea; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }

/* UTILITIES: GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  display: block;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: .15em .5em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* SECTIONS & LAYOUT HELPERS */
 aside { display: none; } /* reserved for potential future layout */

 .container { padding-inline: 0; padding-block: 0; }

/* RESPONSIVE: REDUCE MOTION */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}
 
/* PRINT STYLES */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
