:root {
  --bg: #0c0c0a;
  --bg-2: #d8b016;      /* mustard */
  --bg-3: #1a1f14;
  --text: #e9f7e9;
  --muted: #cbd8c2;
  --surface: rgba(255,255,255,.08);
  --surface-2: rgba(0,0,0,.25);
  --border: rgba(255,255,255,.28);
  --accent: #39ff8a;       /* iridescent green */
  --accent-2: #2bdc83;
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --focus: 2px solid rgba(57,255,138,.95);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif; font-size: 16px; }
:root { color-scheme: dark; }

html, body, header, nav, main, article, footer, aside,
.image-frame, .image-frame img, .content,
.product-ad, a, button, .btn, .cta,
ul, li, .container, .grid, .card, .tag {
  /* ensure sensible defaults if needed in future */
}

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(0,0,0,.25) 0, rgba(0,0,0,.25) 60%, rgba(0,0,0,.25) 100%),
    linear-gradient(#2a2200, #0b0b0b 60%, #0b0b0b);
  /* Mustard-yellow carbon-fiber vibe + subtle scanlines */
  background-image:
    linear-gradient(135deg, rgba(214,176,25,.25) 0%, rgba(218,170,0,.25) 50%, rgba(0,0,0,.25) 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.05) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  /* subtle scanline overlay layer (pure CSS) */
  content:"";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(to bottom,
              rgba(0,0,0,.04) 0 1px,
              rgba(255,255,255,0) 1px 2px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
body > * { position: relative; z-index: 1; }

.header, header {
  text-align: center;
  padding: 1.25rem 1rem;
}
header h1 {
  font-size: clamp(1.75rem, 2.6vw + 1rem, 3rem);
  line-height: 1.08;
  margin: 0.25rem 0 0.4rem;
  letter-spacing: .02em;
}
header .meta {
  color: var(--muted);
  font-size: clamp(.88rem, 1.2vw + .5rem, 1.05rem);
  margin: 0;
}
nav {
  margin-top: .4rem;
}
nav a {
  color: var(--text);
  text-decoration: none;
  padding: .45rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
nav a:hover { text-decoration: underline; background: rgba(0,0,0,.28); transform: translateY(-1px); }
nav a:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-color: rgba(255,255,255,.8);
}

main {
  padding: 1rem;
}
.container {
  max-width: clamp(860px, 72vw, 1100px);
  margin-inline: auto;
}
.image-frame {
  width: min(720px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.28);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame.no-backdrop {
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: none;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(1.04);
  outline: none;
}
.content { padding: 0; }
h2 {
  font-size: clamp(1.4rem, 1.8vw + 1rem, 2rem);
  margin: 1rem 0 .5rem;
}
p { color: #eaf7e9; opacity: .95; margin: .75rem 0; }
blockquote {
  margin: 1rem 0; padding: .75rem 1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(0,0,0,.25);
  border-radius: 6px;
  color: #e8fff0;
}
ul { padding-left: 1.25rem; margin: .75rem 0 1rem; }
li { margin: .25rem 0; }

.footer, footer {
  padding: 1rem;
  display: grid;
  gap: .75rem;
  align-items: start;
  grid-template-columns: 1fr;
}
.product-ad, .sponsored-page {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: .65rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad a, .sponsored-page a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: .25rem 0;
}
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }
footer p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }

.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: .75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.card .tag {
  display: inline-block;
  font-size: .75rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: .25rem;
  color: #eafff0;
}
.tag { color: #eafff0; }

a, button, .btn, .cta {
  text-decoration: none;
  color: var(--text);
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.28);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
a:hover, .btn:hover, .cta:hover { background: rgba(0,0,0,.34); transform: translateY(-1px); text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}
a:focus-visible { text-decoration: underline; }

@media (min-width: 640px) {
  main { padding: 1.25rem 0; }
  .container { padding: 0 0; }
}
@media (min-width: 900px) {
  footer { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

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