/* Base Palette & Layout Tokens */
:root{
  --bg: #0b1020;
  --bg-2: #0a1a2b;
  --text: #eaffff;
  --muted: #9bd9ff;
  --accent: #8cff00;     /* lime accent */
  --accent-2: #4aa3ff;   /* blue accent */
  --card: rgba(255,255,255,.08);
  --card-strong: rgba(255,255,255,.18);
  --shadow: 0 8px 24px rgba(0,0,0,.40);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.6;
  background:
    linear-gradient(135deg, rgba(7,14,32,.95) 0%, rgba(3,8,22,.95) 60%, rgba(6,12,28,.95) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.35) 60%, rgba(0,0,0,.25)),
    repeating-linear-gradient(0deg, rgba(0,120,255,.04) 0 40px, transparent 40px 80px);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}
@media (prefers-color-scheme: light) {
  :root{
    --bg: #f6faff;
    --bg-2: #eef4ff;
    --text: #0b1220;
    --muted: #4a5d7a;
    --card: rgba(0,0,0,.06);
    --card-strong: rgba(0,0,0,.14);
  }
  body {
    background:
      linear-gradient(135deg, #f6fbff 0%, #eef4ff 60%, #f6fbff 100%),
      repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 2px, transparent 2px 4px);
    color: var(--text);
  }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: clamp(860px, 90vw, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  font-size: .75rem;
  padding: .25em .6em;
  border-radius: 999px;
  background: rgba(140,255,0,.18);
  color: #eaffd6;
  border: 1px solid rgba(140,255,0,.4);
}
a, button, .btn, .cta {
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 8px;
}
.image-frame { width: 100%; max-width: 860px; margin: 1rem auto; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  background: #111;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typography & Content */
header { padding: 1.25rem; display: grid; place-items: center; text-align: center;
  gap: .25rem; width: min(1100px, 100%); margin: 0 auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding-block: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
header h1 {
  font-size: clamp(1.6rem, 2.4vw + 1rem, 3rem);
  margin: .25rem 0;
  letter-spacing: .4px;
  color: #eafff3;
}
header .meta {
  font-size: .8rem;
  color: var(--muted);
}
main { padding: 1rem; }
article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 1rem;
  margin: .5rem 0 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  article { background: rgba(0,0,0,.28); }
}
h2 { font-size: clamp(1.25rem, 1.6vw + .9rem, 2rem); margin: .75rem 0 0.5rem; color: #eaffff; }
p { font-size: clamp(0.95rem, 1vw + .8rem, 1.15rem); color: #e7f2ff; margin: .4rem 0; }
blockquote {
  margin: 1rem 0; padding: .5rem 1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(0,0,0,.15);
  border-radius: 6px;
}
ul { padding-left: 1.25rem; margin: .25rem 0; color: #e0f3ff; }
li { margin: .25rem 0; }

/* Glass Panels & Ad Sections */
.product-ad, aside, footer {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: var(--shadow);
}
.product-ad a { display: block; text-align: center; padding: .5rem; color: var(--text); }
footer { padding: 1rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
}
.btn {
  background: var(--accent);
  color: #041300;
  border: 1px solid rgba(0,0,0,.25);
  padding: .75rem 1rem;
  display: inline-block;
  font-weight: 700;
}
.btn.secondary { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.4); }
.cta { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; }

/* Form Elements (presentational) */
input, select, textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text);
  padding: .5rem;
  border-radius: 6px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Navigation placeholder (if added) */
nav { display: block; }

/* Accessibility & Print */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@keyframes subtleFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Small helpers */
.image-frame { animation: subtleFade .4s ease both; }
.content { padding: .25rem 0 0; }
.footer-row { display: grid; grid-template-columns: 1fr; gap: .75rem; }

/* Sections to satisfy selectors list explicitly */
html, body, header, nav, main, article, footer, aside { }
ul, li { }