:root {
  --bg: #0a0f0a;
  --bg-2: #111a10;
  --text: #e8f7d9;
  --muted: #a7b89f;
  --accent: #caa22c;       /* gold */
  --accent-2: #6b8f2b;     /* olive */
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --ring: 0 0 0 3px rgba(255, 214, 102, .55);
  --focus: #ffd166;
  --card: rgba(0,0,0,.25);
  --card-border: rgba(255,255,255,.28);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f5f0;
    --bg-2: #ffffff;
    --text: #1a1a1a;
    --muted: #5a5a5a;
    --accent: #b8860b;
    --accent-2: #3a5e1e;
    --panel: rgba(255,255,255,.75);
    --panel-border: rgba(0,0,0,.15);
    --shadow: 0 6px 20px rgba(0,0,0,.15);
    --ring: 0 0 0 3px rgba(184, 140, 0, .4);
    --focus: #b8860b;
    --card: rgba(255,255,255,.75);
    --card-border: rgba(0,0,0,.08);
  }
}
html, body, header, nav, main, article, aside, footer {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  background-color: var(--bg);
  /* Layered background: gradient + subtle scanlines/noise */
  background-image:
    linear-gradient(135deg, rgba(184, 140, 0, 0.15), rgba(0,0,0,0) 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px),
    linear-gradient(to bottom, rgba(10,12,12,.95), rgba(6,8,8,.95));
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}
@media (prefers-color-scheme: light) {
  body {
    background-color: var(--bg);
  }
}
header, nav, main, article, aside, footer {
  padding: 1rem;
}
header, main, footer {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  header, main, footer {
    background: rgba(0,0,0,.25);
  }
}
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.tag {
  display: inline-block;
  padding: .25rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(198, 170, 60, .25);
  color: var(--text);
  border: 1px solid rgba(198,170,60,.55);
}
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: #0a0a0a;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.content {
  padding: 1rem;
  color: var(--text);
}
.product-ad {
  display: block;
  margin: .75rem 0;
  padding: .75rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.28);
}
.product-ad a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.sponsored-page {
  display: block;
  margin: .75rem 0;
  padding: .75rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.28);
}
.sponsored-page a { color: inherit; text-decoration: none; display: block; }
a, button, .btn, .cta {
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
a:hover, a:focus, a:focus-visible {
  text-decoration: underline;
  outline: none;
  color: var(--accent-2);
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 999px;
}
.btn, .cta {
  display: inline-block;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  font-weight: 600;
  line-height: 1;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn.primary {
  background: linear-gradient(135deg, rgba(210, 176, 60, .95), rgba(176, 133, 20, .95));
  color: #111;
  border: 1px solid rgba(0,0,0,.25);
}
.btn.secondary {
  background: rgba(255,255,255,.08);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.cta {
  padding: .65rem 1rem;
}
ul { padding-left: 1.25rem; margin: .5rem 0; }
li { margin: .25rem 0; }

header h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  line-height: 1.1;
  text-align: center;
  margin: 0.25rem 0 0.75rem;
  font-weight: 800;
  letter-spacing: .2px;
}
header p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.125rem);
}
main {
  display: block;
}
footer p {
  text-align: center;
  color: var(--muted);
  margin: 0.5rem 0;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  body { color: #000; background: #fff; }
  header, main, footer { background: #fff; border: 0; box-shadow: none; }
}
a, button, .btn, .cta { -webkit-tap-highlight-color: transparent; }