:root{
  --bg: #140f1e;
  --bg-2: #28122a;
  --text: #e9e0f6;
  --muted: #c8b8d8;
  --accent: #d9ff00;       /* laser lemon */
  --accent-2: #a9ff00;     /* vibrant secondary accent */
  --card: rgba(18,0,30,.28);
  --card-border: rgba(210,210,255,.35);
  --glass: rgba(20,0,40,.22);
  --glass-border: rgba(180,160,255,.4);
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --radius: 12px;
  --focus: 3px solid rgba(217,255,0,.95);
}

* { 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:
    radial-gradient(circle at 15% 0%, rgba(255,255,0,.20), transparent 25%),
    linear-gradient(135deg, #1a0f1e 0%, #150e1b 60%, #0e0812 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f0fb; --text: #1b1230; --muted: #52456b; }
  body { background: white; color: var(--text); }
}

/* Global helpers */
.container { max-width: clamp(640px, 78vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; width: 100%; }

/* Layout primitives with glassy, high-contrast vibe */
header, main, footer, aside, article {
  background: rgba(18,0,28,.28);
  border: 1px solid rgba(210,210,255,.34);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header { display: grid; gap: .5rem; align-items: center; }
header h1 { font-size: clamp(1.75rem, 0.9rem + 4vw, 3rem); line-height: 1.08; margin: .25rem 0 .25rem; letter-spacing: .2px; font-weight: 800; color: #fff; }
header .meta { color: var(--muted); font-size: clamp(0.9rem, 0.6vw + 0.8rem, 1.05rem); margin: 0; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; border: 1px solid transparent; }
nav a:hover, nav a:focus-visible { outline: none; text-decoration: underline; background: rgba(255,255,255,.08); }

/* Hero / content */
main { display: grid; gap: 1rem; padding: 0; }
article { display: grid; gap: .75rem; }

/* Image frame styling */
.image-frame { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 16px rgba(0,0,0,.25); background: #000; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typography scale for readability and hierarchy */
h1, h2 { line-height: 1.15; margin: 0.5rem 0; font-weight: 800; color: #fff; }
h1 { font-size: clamp(1.75rem, 1.2rem + 3.5vw, 3.25rem); }
h2 { font-size: clamp(1.25rem, 0.9rem + 2vw, 1.75rem); color: #e5e0ff; }
p { font-size: clamp(0.95rem, 0.7vw + .9rem, 1.15rem); color: var(--text); margin: .25rem 0 1rem; }
ul, ol { padding-left: 1.25rem; margin: .25rem 0 1rem; color: var(--text); }
li { margin: .25rem 0; color: var(--text); }
blockquote { margin: .75rem 0; padding: .75rem 1rem; border-left: 4px solid #9fff66; background: rgba(0,0,0,.15); border-radius: 6px; }

/* Content container and cards */
.content { padding: 0; }

/* Utility blocks common in a landing page */
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1rem; box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* Product ad / footer blocks */
.product-ad, .sponsored-page { display: block; text-align: center; padding: .65rem; border-radius: 12px; background: rgba(26,0,40,.28); border: 1px solid rgba(180,160,255,.42); margin: .5rem 0; }
.product-ad a, .sponsored-page a { color: var(--text); text-decoration: none; font-weight: 700; }
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

/* Link and button styling (focus-visible for accessibility) */
a, button, .btn, .cta {
  color: #041; 
  text-decoration: none;
}
a { color: var(--accent); }
a:focus-visible, a:hover { text-decoration: underline; outline: none; }

/* Buttons: solid and outline variants with accessible focus */
.btn {
  display: inline-block;
  padding: .62rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(210,210,255,.5);
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: #d6ff00; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: var(--focus); outline-offset: 3px; }

/* Outline variant */
.btn--outline {
  background: transparent;
  border-color: rgba(210,210,255,.6);
  color: var(--text);
  padding: .62rem 1rem;
}
.btn--outline:hover { background: rgba(255,255,255,.08); }

/* Glassy content blocks to emphasize hero sections or panels */
.glass {
  background: rgba(20,0,40,.26);
  border: 1px solid rgba(180,160,255,.4);
  border-radius: var(--radius);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(20,0,40,.42); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* List and tag helpers */
.tag {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .75rem;
  border-radius: 999px;
  border: 1px solid rgba(210,210,255,.6);
  background: rgba(210,255,0,.25);
  color: #0a0a0a;
}

/* Layout helpers for responsive grids (auto-fit, minmax) */
@media (min-width: 760px) {
  .grid--responsive { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
}
@media (max-width: 639px) {
  header { padding: .75rem 0; }
  .image-frame { border-radius: 10px; }
  .tag { font-size: .7rem; }
}

/* Print styles for readability (basic) */
@media print {
  body { background: white; color: black; }
  a, a:visited { color: black; text-decoration: underline; }
  header, main, footer { border: none; background: transparent; box-shadow: none; }
}
