:root {
  --bg: #0b0f0f;
  --bg-2: #0e1414;
  --text: #eafff0;
  --muted: #a6f0a0;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --accent: #8b1e2a;     /* maroon */
  --accent-2: #2bd14a;    /* neon green */
  --shadow: 0 6px 18px rgba(0,0,0,.4);
  --radius: 12px;
  --radius-sm: 8px;
  --grid-gap: 1rem;
}
html, body {
  height: 100%;
}
html, body {
  margin: 0;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(#0b0f0f, #0b0f0f),
    repeating-linear-gradient(to bottom, rgba(0, 255, 0, 0.08) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(to right, rgba(0, 255, 0, 0.08) 0 1px, transparent 1px 2px),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 60%);
  background-size: auto, 24px 24px, 24px 24px, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
header, nav, main, article, aside, footer {
  display: block;
}
.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}
main {
  padding: 1rem 0;
}
.image-frame {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  background: #111;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Subtle glow */
  filter: saturate(1.05);
}
header {
  padding: 1rem 0;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: .3px;
  color: var(--text);
}
.content {
  padding: 0.75rem;
}
.grid {
  display: grid;
  grid-gap: var(--grid-gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .card { background: rgba(255, 255, 255, 0.18); backdrop-filter: none; }
}
.product-ad, .sponsored-page {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: .75rem;
  text-align: center;
}
.product-ad a, .sponsored-page a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.product-ad p, .sponsored-page p {
  margin: 0;
  font-weight: 600;
  color: #eafff3;
}
a, button, .btn, .cta {
  touch-action: manipulation;
}
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover, a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}
button, .btn, .cta {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: .65rem 1rem;
  background: rgba(0,0,0,.25);
  color: var(--text);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s;
}
.btn {
  background: rgba(138,28,42,0.95);
  border-color: rgba(139,29,42,0.9);
  color: #fff;
}
.btn.secondary {
  background: rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.3);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}
ul {
  margin: 0;
  padding-left: 1.2rem;
}
li { margin: 0.25rem 0; }
.tag {
  display: inline-block;
  padding: .15rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  color: #d4ffd7;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f6;
    --bg-2: #ffffff;
    --text: #0a0a0a;
    --muted: #555;
    --accent: #8a1e2a;
    --accent-2: #0a8a3a;
  }
  body {
    background-color: var(--bg);
    color: var(--text);
  }
  .image-frame {
    border-color: rgba(0,0,0,.15);
  }
  a { color: var(--accent-2); }
  .card {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}