:root {
  /* Tokenized palette (fuchsia/pink inspired) */
  --bg: #0b001a;
  --bg-2: #1a003a;
  --text: #f8f5ff;
  --muted: #c9b5d6;
  --accent: #ff4fae;
  --accent-2: #d61e88;
  --surface: rgba(255,255,255,0.12);
  --surface-2: rgba(255,255,255,0.20);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.28);
}

/* Baseline resets & performance */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255, 0, 140, .25), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(180, 0, 120, .15), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(0,0,0,.04)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 2px);
  background-blend-mode: screen, screen, normal, overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* Layout utilities */
.container { width: 100%; max-width: clamp(640px, 90vw, 1100px); margin: 0 auto; padding: 0 1rem; }

/* Section headers / typography */
h1, h2, h3 { margin: 0.4rem 0; line-height: 1.15; }
h1 { font-size: clamp(1.6rem, 3vw + 1rem, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw + .6rem, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw + .5rem, 1.5rem); }

/* Page structure */
header { padding: 1.25rem 1rem; text-align: center; }
header h1 { font-weight: 700; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: .9rem; margin-top: .25rem; }

/* Hero/feature image (responsive) */
.featured-image { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: 0 auto 1rem; max-width: 900px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Main content panels (glassmorphism) */
main { display: grid; place-items: center; padding: 1rem 0 2rem; }
article {
  width: 100%;
  max-width: 860px;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  article { background: rgba(255,255,255,.92); color: #111; border: none; box-shadow: none; padding: .75rem; }
}
.content { padding: 0; }

/* Image frame (alternate class, for compliance with selector set) */
.image-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* List styling */
ul, ol { margin: .5rem 0 1rem 1.1rem; padding: 0; }
li { margin: .25rem 0; }

/* Utility & components */
.container.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: .75rem; }

/* Tags */
.tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; background: rgba(255, 0, 140, .25); color: #fff; }

/* Buttons & CTAs */
.btn, .cta { display: inline-block; padding: .62rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); font-weight: 600; text-align: center; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; text-decoration: none; }
.btn { background: var(--accent); color: #fff; }
.btn:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn.outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,.6); }
.btn.outline:hover { background: rgba(255,255,255,.08); }

/* Link emphasis (focus/hover underline for contrast) */
a:focus-visible, a:hover { text-decoration: underline; }

/* Footer + ads panels (glass panels) */
footer { padding: 1rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; border-top: 1px solid rgba(255,255,255,.15); }
.product-ad, .sponsored-page { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: .75rem; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.product-ad a, .sponsored-page a { display: block; width: 100%; height: 100%; color: #fff; text-align: center; text-decoration: none; }
footer p { text-align: center; color: var(--muted); font-size: .85rem; width: 100%; }

/* Media queries for responsiveness */
@media (max-width: 720px) {
  header { padding: .75rem; }
  .featured-image { margin: 0 auto 0.75rem; }
  footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #000; }
  .btn { display: inline; }
}