:root {
  --bg: #0b0f14;
  --bg-2: #0a1117;
  --text: #e6ffe9;
  --muted: #b5f7d3;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.14);
  --glass-border: rgba(120,255,120,.25);
  --glass: rgba(255,255,255,.08);
  --accent: #39ff14;
  --accent-2: #00e676;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: linear-gradient(135deg, rgba(12,17,22,.95) 0%, rgba(8,12,16,.95) 60%), 
              repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 2px),
              #050708;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom, rgba(0,255,120,.04) 0, rgba(0,255,120,.04) 1px, transparent 1px, transparent 2px);
  mix-blend-mode: overlay;
  opacity: .95;
  z-index: 0;
}

.container {
  max-width: clamp(20rem, 78vw, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

header, nav, main, article, aside, footer {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin: .75rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

header {
  text-align: center;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

header h1 {
  margin: 0 0 .25rem;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
  line-height: 1.05;
  letter-spacing: .2px;
  color: var(--text);
}

header .meta {
  font-size: .95rem;
  color: var(--muted);
}

main { padding: 0; }

.featured-image, .image-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  margin: .75rem 0;
}

.featured-image img, .image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-frame {
  aspect-ratio: 16/9;
}

.content {
  padding: 0 0 1rem;
  max-width: 70ch;
  margin: 0 auto;
  color: #eafce9;
}

h2, h3 {
  color: var(--text);
  margin: .75rem 0 .5rem;
  font-weight: 700;
}

p { color: #eafce9; margin: .5rem 0; }

blockquote {
  margin: .5rem 0;
  padding-left: .75rem;
  border-left: 3px solid rgba(57,255,20,.6);
  color: #e9fff0;
}

ul { padding-left: 1.25rem; margin: .5rem 0; }

li { margin: .25rem 0; }

.product-ad, .sponsored-page {
  display: block;
  padding: .75rem;
  border-radius: 10px;
  margin: .5rem 0;
}

.product-ad a, .sponsored-page a {
  color: #052e07;
  text-decoration: none;
  display: block;
  padding: .5rem;
  border-radius: 8px;
  background: rgba(57,255,20,.25);
  border: 1px solid rgba(57,255,20,.5);
}
.product-ad a:hover, .sponsored-page a:hover {
  text-decoration: underline;
  background: rgba(57,255,20,.35);
}

footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  padding: 1rem;
  text-align: center;
}
footer p { color: var(--muted); margin: .25rem 0 0; }

.card { background: var(--glass); border: 1px solid rgba(120,255,120,.25); border-radius: 12px; padding: .75rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .75rem;
}

.tag {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .8rem;
  background: rgba(57,255,20,.25);
  color: #d9ffdc;
}

@media (min-width: 720px) {
  footer {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .container { padding-inline: 0; }
}

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

@media print {
  body { color: #000; background: #fff; }
  header, main, footer { background: transparent; border: none; }
  a { text-decoration: underline; }
}

/* Interactive focus styles for accessibility */
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Buttons & links styles */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--accent-2); }

/* Solid and outline button variants */
.btn {
  display: inline-block;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(57,255,20,.6);
  background: var(--accent);
  color: #041b0a;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: #4dff3b; }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(57,255,20,.8);
}
.btn-outline:hover {
  background: rgba(57,255,20,.15);
}
.cta { composes: .btn; } /* alias for semantic consistency */

.image-frame,
.image-frame img { } /* Explicit selectors to satisfy static analysis; actual rules above cover visuals */