/* Tokens */
:root {
  --bg: #040404;
  --bg-2: #0a0f0a;
  --text: #e6f1c4;
  --muted: #a9c99a;
  --accent: #8dbf40;
  --accent-2: #b5d87e;
  --glass: rgba(14, 20, 12, 0.22);
  --glass-strong: rgba(14, 20, 12, 0.32);
  --border: rgba(120, 140, 90, 0.4);
  --shadow: 0 8px 28px rgba(0,0,0,.55);
  --card: rgba(12, 18, 12, 0.28);
  --focus: 2px solid var(--accent-2);
}

/* Light mode tweak for legibility */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7f0;
    --bg-2: #e9ecd2;
    --text: #0b1b0a;
    --muted: #5a6a45;
    --accent: #2a6a1f;
    --accent-2: #1e8a2a;
    --glass: rgba(246, 248, 235, 0.75);
    --glass-strong: rgba(246, 248, 235, 0.9);
    --border: rgba(0,0,0,.15);
    --shadow: 0 4px 18px rgba(0,0,0,.08);
    --card: rgba(255,255,255,0.85);
  }
}

/* Section headers */
 /* Base */ 

/* Reset + layout primitives */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(8,8,8,0.95) 0%, rgba(12,14,12,0.95) 60%, rgba(8,8,8,0.95) 100%);
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.5;
}
body::after, body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  /* subtle noise/scanlines: layered gradient + lines for depth */
  background-image:
    radial-gradient(circle at 15% 10%, rgba(60,110,40,0.15), transparent 20%),
    radial-gradient(circle at 85% 25%, rgba(20,40,20,0.15), transparent 20%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(to right, rgba(0,0,0,0.04) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay;
  opacity: 0.35;
  z-index: 0;
  filter: saturate(0.95);
}
body::after {
  /* soft vignette for depth */
  background: radial-gradient(circle at 50% 0%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.55) 100%);
  opacity: 0.5;
  z-index: -1;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--text);
  background: rgba(141, 203, 72, 0.24);
  border: 1px solid rgba(141,203,72,0.55);
}
.header, header, nav, main, article, aside, footer {
  /* structural selectors are given basic layout so they participate in stacking order */
}
header {
  padding: 1.25rem 1rem;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: .2px;
  color: var(--text);
}
main { padding: 1rem; }
article { display: grid; place-items: center; padding: 0.75rem 0; }

/* Image frame (responsive, aspect-ratio, glow) */
.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(120, 140, 90, 0.5);
  background: rgba(12, 20, 12, 0.25);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* subtle brightness/contrast tweak for cyber look */
  filter: saturate(1.08) contrast(1.02);
}

/* Glass panels with fallback */
.glass { 
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
}
@supports not (backdrop-filter: blur(10px)) {
  .glass { background: rgba(12, 18, 12, 0.34); }
}

/* Footer / CTAs */
footer {
  padding: 1rem 0;
  display: grid;
  gap: .75rem;
  justify-items: center;
  align-items: center;
  color: var(--muted);
}
.product-ad, .sponsored-page {
  width: min(100%, 520px);
}
.product-ad a, .sponsored-page a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: .7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 12, 0.28);
  transition: transform .15s ease, background .2s ease;
}
.product-ad a:hover, .sponsored-page a:hover { transform: translateY(-1px); background: rgba(12, 18, 12, 0.36); text-decoration: underline; }
.product-ad a:focus-visible, .sponsored-page a:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

/* Link and button styling (interactive focus states) */
a, button, .btn, .cta {
  color: var(--accent);
  text-decoration: none;
  outline: none;
}
a:hover, a:focus-visible { text-decoration: underline; outline: none; }
.btn, .cta {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(141,203,72,0.55);
  background: rgba(141,203,72,0.25);
  color: var(--text);
  font-weight: 600;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: rgba(141,203,72,0.38); }
.btn:focus-visible, .cta:focus-visible { outline: var(--focus); outline-offset: 2px; }

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

/* Content area (generic) */
.content { padding: 1rem; border-radius: 12px; background: var(--glass-strong, rgba(14,20,12,0.28)); border: 1px solid var(--border); }

/* Navigation placeholder (present for completeness) */
nav { display: none; }

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (min-width: 640px) {
  footer { grid-template-columns: 1fr 1fr; justify-items: center; align-items: center; padding: 1rem 0; }
}
@media (min-width: 860px) {
  main { padding: 2rem 0; }
  article { padding: 1rem 0; }
  .container { padding-inline: 1.25rem; }
  .image-frame { border-radius: 16px; }
}
 
/* End of stylesheet */