/* Base theme & tokens */
:root {
  --bg: #030f0f;
  --bg-2: #0b1414;
  --text: #eafff3;
  --muted: #a6f0d0;
  --accent: #39ff14;
  --accent-2: #1de9d1;
  --glass: rgba(10, 24, 24, 0.28);
  --glass-border: rgba(60, 255, 210, 0.45);
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.15);
}

/* Global */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, rgba(2,6,6,0.95) 0%, rgba(6,14,14,0.95) 60%, rgba(4,8,8,0.95) 100%);
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layered glow background (gradient + faux scanlines/noise) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(57, 255, 20, 0.25), transparent 40%),
    radial-gradient(circle at 75% 40%, rgba(0, 214, 196, 0.20), transparent 40%),
    repeating-linear-gradient(90deg, rgba(57,255,140,0.04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(57,255,140,0.04) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.95;
  filter: saturate(1.15);
  pointer-events: none;
}

/* Utilities & layout */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
  padding: 0 0.5rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.tag {
  display: inline-block;
  padding: 0.15em 0.6em;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.20);
  color: var(--text);
  border: 1px solid rgba(57, 255, 20, 0.4);
}

/* Typography scale (fluid) */
h1, h2, h3 { margin: 0 0 0.5rem; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.8rem + 2vw, 3rem); line-height: 1.05; }
h2 { font-size: clamp(1.4rem, 0.8vw + 1.2rem, 2.25rem); }
h3 { font-size: clamp(1.15rem, 0.8vw + 1rem, 1.75rem); }
p { margin: 0 0 1rem; font-size: clamp(0.92rem, 0.8vw + 0.9rem, 1.05rem); line-height: 1.6; color: var(--text); }

/* Page sections (glass panels) */
header, main, footer, aside, article {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  /* Fallback when backdrop-filter is not supported */
  background-color: rgba(10, 20, 20, 0.26);
}
header { margin: 1rem auto; width: min(1100px, 92%); }
main { margin: 1rem auto; width: min(1100px, 92%); }
footer { margin: 1rem auto 2rem; width: min(1100px, 92%); display: grid; gap: 0.75rem; justify-items: center; }

/* Hero content inside header/article */
header h1 { color: var(--text); }
header .meta { color: var(--muted); font-size: 0.8rem; }

/* Image frame for visuals */
.image-frame {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(60, 255, 210, 0.45);
  box-shadow: 0 8px 28px rgba(0, 255, 140, 0.25);
  background: #000;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}
.featured-image { width: 100%; }

/* Article content styling */
article {
  max-width: clamp(320px, 90%, 800px);
  margin: 0 auto;
}
blockquote {
  margin: 0.75rem 0;
  padding: 0.5rem 1rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  color: #eafff0;
}
ul { padding-left: 1.25rem; }
li { margin: 0.25rem 0; }

/* Content utility (may be used by page sections) */
.content { padding: 0; }

/* Product/ad section in footer */
.product-ad, .sponsored-page {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(8, 20, 20, 0.28);
  border: 1px solid rgba(60, 255, 210, 0.4);
  color: var(--text);
}
.product-ad a, .sponsored-page a { color: var(--text); text-decoration: none; font-weight: 600; display: inline-block; padding: 0.1rem 0.25rem; }
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

/* Link & button aesthetics (interactive states) */
a, button, .btn, .cta {
  text-decoration: none;
  color: var(--text);
}
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}
a:hover { text-decoration: underline; }

button, .btn {
  font: inherit;
  background: var(--accent);
  color: #041f12;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.55em 1.05em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-block;
}
.btn {
  background: var(--accent);
  color: #041f12;
}
button:hover, .btn:hover {
  transform: translateY(-1px);
  background: #2aff8e;
}
.cta {
  font-weight: 700;
}
.cta:hover { transform: translateY(-1px); }

/* Print-friendly (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: none; border: none; box-shadow: none; }
  a { text-decoration: underline; }
}

/* Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  html, body, header, main, article, footer { transition: none !important; animation: none !important; }
}
```