html, body, header, nav, main, article, footer, aside {
  margin: 0;
  padding: 0;
  height: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color: #fff;
  background: var(--bg);
}

/* Tokens + color system (brown/white cyber) */
:root {
  --bg: #0e0a08;
  --bg-2: #1a1410;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.28);
  --text: #f6f6f6;
  --muted: #c9c2ba;
  --accent: #bf8a4d;        /* warm brown/gold for actions */
  --accent-2: #e6cfa0;      /* lighter contrast for accents */
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 14px;
  --focus: 2px solid #fff;
  --focus-offset: 4px;
  --no-backdrop: rgba(255,255,255,.12);
}

/* Layered, responsive background: gradient + polka dots + scanlines */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,12,9,.85), rgba(8,6,5,.95)),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.25));
  background-size: 2.5rem 2.5rem, auto, auto;
  background-blend-mode: normal, normal, overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3efe9;
    --bg-2: #f8f5f0;
    --surface: rgba(0,0,0,0.06);
    --surface-2: rgba(0,0,0,0.10);
    --border: rgba(0,0,0,0.15);
    --text: #1a1a1a;
    --muted: #555;
    --accent: #8a5a2b;
    --accent-2: #c89d62;
    --shadow: 0 6px 16px rgba(0,0,0,.08);
    --radius: 12px;
    --no-backdrop: rgba(0,0,0,.08);
  }
  body {
    background-image:
      radial-gradient(circle, rgba(0,0,0,.04) 1px, transparent 1px),
      linear-gradient(to bottom, #f8f5f0, #efe9e0),
      linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,0,0,.08));
    background-size: 2.5rem 2.5rem, auto, auto;
  }
}

* { box-sizing: border-box; }

.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Layout primitives */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@supports not (backdrop-filter: blur(10px)) {
  .card { background: rgba(255,255,255,.14); }
}

/* Image frame specifics */
.image-frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  display: block;
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.image-frame:hover img {
  transform: scale(1.03);
}

/* Content blocks */
.content {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  color: var(--text);
  padding: 0.75rem 0;
  text-wrap: pretty;
}

/* Glass panels (fallback included) */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: var(--no-backdrop); }
}

/* Footer panels as product ads / promos */
.product-ad, .sponsored-page {
  text-align: center;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, background .2s ease;
}
.product-ad:hover, .sponsored-page:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }

/* Links and CTAs */
a, button, .btn, .cta {
  font-family: inherit;
  color: #fff;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}
a { color: var(--accent-2); }
a:hover, a:focus-visible { color: var(--accent); text-decoration: underline; outline: none; }

/* Primary and outline button variants */
.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6);
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: #a7743a; }
.btn:active, .cta:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.6);
}
.btn--outline:hover { background: rgba(255,255,255,.08); }

/* Special focus ring accessibility */
:focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
  border-radius: 6px;
}

/* Typography scale for hero-like hierarchy */
header {
  padding: 1.75rem 1rem;
  text-align: center;
}
header h1 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.12;
  margin: 0 0 .5rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--text);
}
header .subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--muted);
}

/* Page sections */
main { padding: 1rem 0; }

/* Footer helpers */
footer {
  padding: 1rem 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.25);
}
footer p { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Lists */
ul { padding-left: 0; margin: 0; display: flex; gap: .75rem; flex-wrap: wrap; }
li { list-style: none; }

/* Utilities used by the page */
.tag {
  display: inline-block;
  padding: .15em .5em;
  font-size: .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.25);
  color: #fff;
}
.container--narrow { max-width: 720px; }

/* Images and media helpers (no extra assets) */
img { max-width: 100%; height: auto; display: block; }

/* Print styles (basic readability) */
@media print {
  body { color: #000; background: #fff; }
  .glass, .image-frame { background: #fff; border: none; box-shadow: none; }
  a, button { text-decoration: underline; color: #000; }
}

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