:root {
  --bg: #04060a;
  --bg-2: #0b1020;
  --text: #eaffff;
  --muted: #9aff7a;
  --accent: #DFFF00;
  --accent-2: #7FFF00;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(180, 255, 0, 0.35);
  --shadow: 0 8px 28px rgba(0,0,0,0.45);
  --focus: rgba(127, 255, 0, 0.95);
  --cardbg: rgba(255, 255, 255, 0.08);
  --cardbg-strong: rgba(255, 255, 255, 0.14);
}

html, body, header, nav, main, article, aside, footer {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: clamp(14px, 0.9vw + 12px, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 80% -10%, rgba(223,255,0,.15), transparent 40%),
    linear-gradient(135deg, var(--bg-2), var(--bg) 60%, #000 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, transparent 1px 2px);
  background-attachment: fixed;
  color-scheme: dark;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  max-width: min(1000px, 92vw);
  margin: 0 auto;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

header h1 {
  font-size: clamp(1.8rem, 1.2rem + 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0.25em 0 0.25em;
  letter-spacing: .4px;
  color: #f7ffea;
}

header .meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

main {
  padding: 1rem;
}

.image-frame, .featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  margin: 0.75rem 0;
}

.image-frame img, .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  image-rendering: auto;
}

main article {
  display: block;
  max-width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 0 0.5rem;
}

h2 {
  font-size: clamp(1.25rem, 0.9rem + 1.8vw, 2.2rem);
  margin: 1rem 0 .5rem;
  color: #eaffd6;
}

p {
  margin: 0.75rem 0;
  color: #eaf9ff;
}

blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(0,0,0,.22);
  border-radius: 6px;
  color: #eaffff;
}

section {
  margin-top: 1rem;
  padding: .25rem 0;
}

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

li {
  margin: 0.25rem 0;
}

.product-ad, .sponsored-page {
  display: block;
  margin: .5rem 0;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
}

.product-ad a, .sponsored-page a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.25rem;
}

.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

/* Utilities (layout) */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-inline: 0.5rem;
}

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

.card {
  background: var(--cardbg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #eaffab;
  border: 1px solid rgba(223,255,0,.6);
}

a, button, .btn, .cta {
  -webkit-tap-highlight-color: transparent;
  text-decoration-skip-ink: auto;
}

a { color: #eaffff; text-decoration: none; }

a:hover, a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons (solid + outline) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041100;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.btn.secondary {
  background: rgba(0,0,0,.28);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.4);
}
.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(223,255,0,.7);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .95; }
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Glass panels (for sections that read as frosted panels) */
header, main, footer {
  /* apply a soft glass look if possible via individual elements */
  background: transparent;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}
@supports not (backdrop-filter: blur(12px)) and not (-webkit-backdrop-filter: blur(12px)) {
  .glass { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,.5); }
}

/* Layout helpers for sections that resemble panels */
header.glass-panel, article.glass-panel, section.glass-panel, footer.glass-panel {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav {
  display: none;
}

/* Print accessibility */
@media print {
  body { background: #fff; color: #000; }
  a { color: #0000ee; text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}