/* Base tokens */
:root{
  --bg: #0b0f14;
  --bg-2: #11161b;
  --text: #eafff5;
  --muted: #a7ffd4;
  --accent: #2aff8a;
  --accent-2: #ff3a3a;
  --card: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.25);
  --shadow: 0 6px 20px rgba(0,0,0,.35);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(0,255,136,.65);
}

/* Base resets */
html, body { height: 100%; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at 20% -10%, rgba(0,255,128,.22), transparent 40%),
              radial-gradient(circle at 85% 15%, rgba(255,0,0,.18), transparent 35%),
              linear-gradient(135deg, #04070a 0%, #0b0f14 60%, #0b0f14 100%);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  opacity: .25; pointer-events: none;
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 2px);
  background-size: 2px 2px;
  opacity: .08; pointer-events: none;
  mix-blend-mode: overlay;
}
a, button, .btn, .cta { cursor: pointer; }

/* Layout primitives */
html, body, header, nav, main, article, footer, aside { }
aside { display: none; }

/* Header / hero */
header {
  padding: clamp(1rem, 3vw, 2rem);
  margin: 1rem auto;
  max-width: 1100px;
  border-radius: 16px;
  background: rgba(8,12,16,.6);
  border: 1px solid rgba(120,255,200,.25);
  box-shadow: var(--shadow);
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 .5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .2px;
}
header .meta { font-size: .95rem; color: var(--muted); margin: 0 0 .5rem; }
header nav { margin-top: .25rem; }
header nav a {
  color: var(--accent);
  font-weight: 600;
  padding: .35rem .6rem;
  border-radius: 6px;
  border: 1px solid rgba(0,255,136,.6);
  text-decoration: none;
}
header nav a:hover { text-decoration: underline; }
header nav a:focus-visible { outline: none; box-shadow: var(--focus); }

/* Main content */
main { padding: 1rem; }
.container {
  width: 100%;
  max-width: clamp(640px, 86vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.article { }

.featured-image { margin: 1rem 0 0; }
.image-frame {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: #000;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typographic content */
.content { padding-block: 1rem; }
h2, h3 { color: #eaffff; margin: .75rem 0; }
p { margin: .75rem 0; }

/* Lists */
ul { padding-left: 1.25rem; margin: .5rem 0; }
ul li { margin: .25rem 0; }

/* Glass / card panels (fallback + backdrop-filter) */
.card, .product-ad, .sponsored-page {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: var(--shadow);
}
.product-ad, .sponsored-page { text-align: center; margin: .5rem 0; }
.card { padding: 0.75rem; }

/* Utility / components */
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

.container, .grid, .card, .tag { /* utility anchors kept lean */ }

/* Tag pills */
.tag {
  display: inline-block;
  padding: .25em .5em;
  border-radius: 999px;
  background: rgba(0,255,136,.25);
  color: var(--text);
  border: 1px solid rgba(0,255,136,.6);
  font-size: .75rem;
}

/* Links / CTAs */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: none; box-shadow: var(--focus); }

.btn, .cta {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #001a10;
  font-weight: 700;
  border-color: rgba(0,255,136,.6);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  body::before, body::after { opacity: .25; }
}