:root {
  /* Lime + Black palette tokens */
  --bg: #0a0a0a;
  --bg-2: #0f1115;
  --text: #eafff0;
  --muted: #a6ff6b;
  --accent: #7dff2a;
  --accent-2: #b6ff3a;
  --surface: rgba(0, 0, 0, 0.22);
  --border: rgba(0, 255, 0, 0.35);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 rgba(0,0,0,0);
}

html, body {
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(6,6,6,0.95) 60%), #000;
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  font-size: clamp(14px, 1.2rem + 0.25vw, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  isolation: isolate;
  position: relative;
}

/* Layered background: subtle gradient + scanlines/noise (pure CSS) */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 255, 0, 0.08), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05), transparent 40%),
    linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.92) 60%);
  pointer-events: none;
  /* low-profile glow between lime and black */
  filter: saturate(1.1);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    repeating-linear-gradient(to bottom, rgba(0,255,0,0.04) 0 1px, transparent 1px 2px);
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Global focus visibility */
:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Layout primitives */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

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

.card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 255, 0, 0.32);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 200ms ease, background 200ms ease;
}
@supports not (backdrop-filter: blur(12px)) {
  .card { background: rgba(0, 0, 0, 0.58); }
}
.card:hover { transform: translateY(-2px); }

/* Glass panel helper for components that should feel frosted */
.glass {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 0, 0.35);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(0,0,0,0.55); }
}

/* Hero / header */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2vw, 2rem) 0;
}
header {
  width: min(1100px, 92%);
  text-align: center;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 255, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  margin: 1rem auto;
}
header h1 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 0.25rem 0 0;
  color: #eafff0;
  letter-spacing: .2px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f6;
    --bg-2: #ededed;
    --text: #0a0a0a;
    --muted: #4a9e2a;
    --accent: #27a300;
    --accent-2: #1f9e2a;
  }
  body { background: #f7f7f7; color: var(--text); }
  header { background: rgba(255,255,255,0.9); border-color: rgba(0, 150, 0, 0.25); }
  header h1 { color: #0a0a0a; }
}

/* Main content */
main {
  padding: 1rem 0 2rem;
}
article {
  display: grid;
  place-items: center;
  width: 100%;
}
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 0, 0.38);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.image-frame:hover img {
  transform: scale(1.03);
}

/* Content area (for potential hero text blocks) */
.content {
  padding: 0.75rem 0;
  text-align: left;
}
.content h2 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  margin: 0.25rem 0 0.25rem;
}
.content p {
  color: var(--text);
  opacity: 0.92;
  margin: 0.25rem 0;
  font-size: clamp(0.95rem, 0.8vw + 0.9rem, 1.1rem);
}

/* Product ad / footer-like panels */
.product-ad, .sponsored-page {
  display: block;
  margin: 0.75rem 0;
}
.product-ad a, .sponsored-page a {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  padding: 1rem;
  color: var(--text);
}
.product-ad {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(0,255,0,0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.product-ad a { display: flex; align-items: center; gap: .5rem; }
.product-ad p, .sponsored-page p { margin: 0; }

/* Links, buttons, CTAs */
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--accent-2); }
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}
button, .btn, .cta {
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 255, 0, 0.6);
  background: rgba(0, 255, 0, 0.22);
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn { background: rgba(0,0,0,0.28); border-color: rgba(0,255,0,.55); }
.btn:hover { transform: translateY(-1px); background: rgba(0,255,0,0.34); }
.btn--outline {
  background: transparent;
  border: 1px solid rgba(0,255,0,.7);
}
.btn:active, .cta:active { transform: translateY(0); }

/* Image utility */
.image-frame + .image-frame { margin-top: 1rem; }

/* Lists (universal) */
ul { margin: 0; padding: 0; list-style: none; }
li { margin: 0.25rem 0; }

/* Utility classes (compact) */
aside { display: none; }

/* Accessibility-friendly typography helpers if used by page */
.subtle { color: var(--muted); }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { color: #00a300; text-decoration: underline; }
}
  
/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}