/* Base Reset & Tokens */
:root {
  --bg: #2a0b2a;
  --bg-2: #1a0a1a;
  --text: #f8faff;
  --muted: #cbd5e1;
  --accent: #ccff00;
  --accent-2: #7aff63;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(92,0,60,.9), rgba(16,0,20,.9)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }

:focus { outline: none; }

/* Layout Helpers */
.container { width: 100%; max-width: clamp(640px, 90vw, 1100px); padding-inline: 1rem; margin-inline: auto; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Sectioning Elements */
html, body, header, nav, main, article, aside, footer { /* semantic targets for styling */ }
header, footer { 
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header { text-align: center; margin: 1rem auto; }
header h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3.5rem); line-height: 1.05; margin: .25rem 0 .25rem; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.25rem; }
nav { margin-top: .25rem; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; padding: .35rem .6rem; border-radius: 6px; border: 1px solid var(--border); background: rgba(255,255,255,.05); }
main { display: grid; place-items: center; padding: 1.5rem 1rem; }
article { width: 100%; }
.featured-image { width: 100%; margin: 0 0 1rem; }
.featured-image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
h2 { font-size: clamp(1.25rem, 1.2vw + 1rem, 2rem); margin: .75rem 0 0.25rem; }
p { color: var(--muted); margin: .6rem 0; }
ul { padding-left: 1.25rem; margin: .25rem 0; color: var(--muted); }
li { margin: .25rem 0; }

/* Typography & Interactions */
a, button, .btn, .cta { text-decoration: none; color: var(--text); transition: color .2s ease, transform .2s ease; }
a:hover, a:focus { text-decoration: underline; color: var(--accent); }
a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 4px; }

/* Button Variants */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(204,255,0,.25); color: #061000; font-weight: 600; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: rgba(204,255,0,.4); }
.btn:active { transform: translateY(0); transform: scale(0.98); }
.btn--outline { background: transparent; border: 1px solid rgba(204,255,0,.8); color: var(--text); }
.btn--outline:hover { background: rgba(204,255,0,.15); }

/* Glass Panels (fallback if backdrop-filter unsupported) */
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  header, footer, .card, .product-ad, .sponsored-page, nav { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
@supports not (backdrop-filter: blur(12px)) {
  header, footer, .card, .product-ad, .sponsored-page, nav { background: rgba(0,0,0,.5); }
}

/* Image Frame Spec (usage-ready) */
.image-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content & Cards */
.content { padding: 1rem; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Product Ad / Footer Ad Blocks */
.product-ad, .sponsored-page {
  display: block;
  text-align: center;
  padding: .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  transition: transform .2s ease;
}
.product-ad a, .sponsored-page a { display: inline-block; width: 100%; color: var(--text); text-decoration: none; }
.product-ad:hover, .sponsored-page:hover { transform: translateY(-2px); }

/* Footer details */
footer { margin-top: 2rem; padding: 1.75rem 1rem; text-align: center; background: rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.25); }

/* Print styles */
@media print {
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  header, nav, main, article, aside, footer { background: transparent; box-shadow: none; }
}

/* Responsive typography & reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 700px) {
  header { padding: 0.75rem; }
  nav { gap: .25rem; }
  .product-ad, .sponsored-page { padding: .75rem; }
}
(/) /* End of Styles (production-ready) */