:root {
  /* Palette derived from baby blue aurora + bronze accents */
  --bg: #0b1020;
  --bg-2: #0e1b38;
  --text: #eaf6ff;
  --muted: #b9d2e8;
  --accent: #b58940;      /* bronze */
  --accent-2: #7bd9ff;    /* baby blue highlight */
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.28);
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }
html { color-scheme: dark; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  color: var(--text);
  /* Layered background: gradient + light glow + scanline pattern (pure CSS) */
  background-image:
    radial-gradient(circle at 25% 0%, rgba(120, 200, 255, 0.25), transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(184, 134, 11, 0.25), transparent 40%),
    linear-gradient(135deg, rgba(2,16,40,0.95) 0%, rgba(6,22,52,0.92) 60%, rgba(2,6,15,0.95) 100%);
  background-color: var(--bg);
  background-blend-mode: screen, overlay, normal;
  position: relative;
  overflow-x: hidden;
}
html::before, body::before {
  /* Subtle, GPU-friendly scanline/noise overlay (pure CSS) */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(to right, rgba(255,255,255,.03) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: 0.25;
}
body { z-index: 0; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

.container {
  width: min(90%, 1120px);
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

header, main, footer, aside, article {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 1rem auto;
  max-width: min(100%, 1120px);
}

@supports not (backdrop-filter: blur(12px)) {
  header, main, footer, aside, article {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.35);
  }
}

header {
  text-align: center;
  padding: 1.25rem 1rem;
}

header h1 {
  font-size: clamp(1.6rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1.1;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: .2px;
  color: var(--text);
}

header .meta {
  color: var(--muted);
  font-size: clamp(.8rem, .5vw + .8rem, 1rem);
}

nav {
  margin-top: .75rem;
}
nav a {
  color: var(--text);
  text-decoration: none;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-block;
}
nav a:hover, nav a:focus-visible {
  text-decoration: underline;
  outline: none;
}

main { display: grid; place-items: stretch; padding: 1rem 0; }

article {
  display: grid;
  gap: 1rem;
  align-items: start;
}

/* Hero / media block styling (image frame) */
.image-frame, .image-frame img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.image-frame {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: crisp-edges;
  transform: scale(1);
  transition: transform .3s ease;
}
.image-frame:hover img { transform: scale(1.02); }

/* Content area and typographic rhythm */
.content { color: var(--text); }

h2 {
  font-size: clamp(1.1rem, 0.9rem + 1.8vw, 1.6rem);
  margin: .75rem 0 .4rem;
  color: var(--text);
}
p { color: var(--muted); }

ul, li {
  margin: 0;
  padding: 0;
  list-style: disc;
}
ul { padding-left: 1.25rem; }
ol { padding-left: 1.25rem; margin: 0; }

a, button, .btn, .cta {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}

.product-ad {
  display: grid;
  place-items: center;
  padding: .75rem;
  text-align: center;
  background: rgba(0,0,0,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
}
.product-ad a { color: var(--text); font-weight: 600; display: inline-block; padding: .6rem 1rem; border-radius: 999px; background: rgba(0,0,0,.14); border: 1px solid rgba(255,255,255,.28); }
.product-ad a:hover { text-decoration: underline; }

.sponsored-page { display: grid; place-items: center; }

/* Buttons: solid and outline variants with accessible focus */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.0);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  user-select: none;
}
.btn--solid {
  background: var(--accent);
  color: #1b1403;
}
.btn--solid:hover { transform: translateY(-1px); background: #d1a84e; }
.btn--solid:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: rgba(181, 137, 64, 0.15); }

.cta { display:inline-flex; align-items:center; gap:.5rem; padding:.7rem 1rem; border-radius:999px; }

/* Link emphasis for accessibility on glass backdrop */
a:hover { text-decoration: underline; }

@media (min-width: 560px) {
  .container { padding-inline: 0; }
  article { padding: 1.25rem; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  min-height: 100px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.tag {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  color: #0a1320;
  background: rgba(184,134,11,.25);
  border: 1px solid rgba(184,134,11,.6);
}

/* Form elements (present or future use) */
input, textarea {
  width: 100%;
  padding: .6rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--text);
  outline: none;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Print styles for readability */
@media print {
  html, body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #00f; }
  header, main, footer { box-shadow: none; border: 0; background: none; }
}
