/* Base tokens */
:root {
  --bg: #000000;
  --bg-2: #050505;
  --text: #eafff5;
  --muted: #a6d8a6;
  --accent: #39ff14;
  --accent-2: #4dff80;
  --glass: rgba(15, 25, 30, 0.28);
  --glass-strong: rgba(15, 25, 30, 0.42);
  --border: rgba(57, 255, 20, 0.5);
  --shadow: 0 8px 28px rgba(0,0,0,.5);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.45);
}

/* Global reset / helpers */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: 
    linear-gradient(#000, #050505 60%, #000),
    radial-gradient(circle at 20% 0%, rgba(57,255,20,.15), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(0,255,120,.10), transparent 40%);
  min-height: 100%;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
:root { color-scheme: dark; }

/* Subtle CSS noise/scanlines (pure CSS) */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image:
    repeating-linear-gradient(to bottom, rgba(57,255,20,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(to right, rgba(57,255,20,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: .8;
}
body::after {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,.25) 100%);
  opacity: .6;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Layout helpers (utilities) */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1120px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--glass);
  border: 1px solid rgba(57,255,20,.35);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(57,255,20,.18);
  color: #eafff0;
  border: 1px solid rgba(57,255,20,.4);
}

/* Typography (fluid, system stack) */
h1, h2, h3 { line-height: 1.15; margin: .25rem 0; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.25rem, 2.5vw + .75rem, 2.25rem); }
h3 { font-size: clamp(1.05rem, 2vw + .6rem, 1.4rem); }
p { margin: .75rem 0; color: var(--text); }

/* Page structure styling (selectores to be used by HTML) */
html, body, header, nav, main, article, footer, aside {
  /* reserved for layout basics; specific visuals below */
}

/* Header / hero feel (glass panel) */
header {
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  max-width: clamp(320px, 90vw, 1100px);
  background: rgba(10, 15, 20, 0.28);
  border: 1px solid rgba(57,255,20,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.55);
}
header h1 { margin: 0 0 .25rem; font-size: clamp(1.6rem, 3.2vw + 0.8rem, 2.75rem); }
header .meta { margin: 0; font-size: .92rem; color: #d8ffe0; opacity: .95; }
nav { margin-top: .5rem; }
nav a {
  color: var(--text);
  text-decoration: none;
  padding: .35rem .6rem;
  border-radius: 6px;
}
nav a:hover { text-decoration: underline; }

/* Main content area (fluid glass panels) */
main {
  padding: 0;
}
article {
  padding: 1rem;
  margin: 0 auto 2rem;
  max-width: clamp(320px, 90vw, 1100px);
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.32);
  border: 1px solid rgba(57,255,20,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.featured-image { margin: 1rem 0 0; border-radius: 12px; overflow: hidden; }
.image-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(57,255,20,.4); box-shadow: 0 0 12px rgba(57,255,20,.35); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Link content polish inside text */
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: #a5ffd0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Content area helpers for the page body text blocks */
.content { color: var(--text); font-size: clamp(14px, 1vw + 0.8rem, 18px); line-height: 1.6; }

/* Lists and quotes */
ul { padding-left: 1.25rem; margin: .75rem 0; }
li { margin: .25rem 0; }
blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text);
  opacity: .95;
}

/* Product ad area in footer (glass panel) */
footer { padding: 1rem 0 2rem; }
.product-ad {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(8,14,18,.32);
  border: 1px solid rgba(57,255,20,.4);
  margin-inline: .25rem;
  margin-bottom: .5rem;
}
.product-ad a { color: var(--text); text-decoration: none; display: block; }
.product-ad a:hover { text-decoration: underline; }

/* Secondary content blocks in footer (utility) */
.sponsored-page {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(8,14,18,.32);
  border: 1px solid rgba(57,255,20,.4);
  margin-inline: .25rem;
}
.sponsored-page a { color: var(--text); text-decoration: none; }

/* Button variants (solid and outline) */
.btn, .cta, button {
  font-family: inherit;
  font-size: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(57,255,20,.6);
  background: linear-gradient(#0b0f0f, #0b0f0f);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
  user-select: none;
}
.btn:hover,
.cta:hover,
button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.5), 0 0 12px rgba(57,255,20,.5); }
.btn:focus-visible, .cta:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}
.btn--outline:hover { background: rgba(57,255,20,.14); }

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

/* Layout helpers for possible future sections */
.aside { display: none; }

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