/* Base */
:root{
  --bg: 6,14,28;
  --bg-2: 0,102,170;
  --text: 240,248,255;
  --muted: 170,210,235;
  --accent: 0,180,210;
  --accent-2: 40,110,190;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
  --shadow: 0 10px 25px rgba(0,0,0,.25);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif; }
body {
  margin: 0;
  color: rgb(var(--text));
  background: linear-gradient(135deg, rgba(var(--bg),0.95), rgba(var(--bg-2),0.75) 60%);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(0, 255, 230, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(0, 120, 200, 0.12), transparent 40%);
  background-blend-mode: screen, overlay;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 25%, rgba(0,180,210,.10) 0 40%, transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(0,60,130,.15) 0 50%, transparent 50%);
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px);
  opacity: .25;
  mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { display: none; }
}

/* Layout helpers */
.container { max-width: clamp(320px, 92vw, 1120px); margin-inline: auto; padding-block: 1.25rem; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; }
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Typography & headings */
h1, h2, h3 { margin: 0.25rem 0; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
h1 { font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: .5px; }
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1.15; }
p { color: rgb(var(--muted)); line-height: 1.6; margin: .5rem 0 1rem; }
a { color: #fff; text-decoration: none; }
a:focus-visible, a:hover { text-decoration: underline; }

/* Hero / header */
header { text-align: center; padding: 1.25rem 0 0.75rem; }
header h1 { margin-bottom: .25rem; font-weight: 700; }
header .meta { color: rgba(255,255,255,.82); font-size: .95rem; margin-top: .25rem; }

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

/* Main content */
main { display: block; padding: 0 0 1.5rem; }
.article-section { padding: 0.5rem 0; }
blockquote { margin: .5rem 0; padding-left: .75rem; border-left: 3px solid rgba(var(--accent), .9); color: rgb(var(--muted)); }

.content { font-size: clamp(0.98rem, 0.9vw + 0.8rem, 1.15rem); }

/* Glass panels (content blocks) */
.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Product / ad sections in footer */
footer { padding: 1rem 0 2rem; display: grid; gap: .75rem; justify-items: center; text-align: center; }
.product-ad, .sponsored-page { width: min(92%, 780px); }
footer p { margin: .25rem 0; color: rgba(255,255,255,.85); }

/* Buttons / CTAs */
.btn, .cta, a.btn { display: inline-block; padding: .7rem 1.15rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; text-align: center; cursor: pointer; position: relative; transition: transform .15s ease, background .2s ease, border-color .2s; text-decoration: none; }
.btn.primary, .cta { background: rgba(var(--accent), .95); border-color: rgba(0,0,0,.15); }
.btn.secondary { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn:focus-visible, .cta:focus-visible, a.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn:hover, .cta:hover { transform: translateY(-1px); }
.btn:active, .cta:active { transform: translateY(0); }

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

/* Utility */
.tag { display: inline-block; padding: .15em .55em; border-radius: 999px; font-size: .75rem; border: 1px solid rgba(255,255,255,.4); color: #fff; background: rgba(0,0,0,.15); }

/* Print */
@media print {
  body { background: white; color: #000; }
  a { text-decoration: underline; }
  header, footer { display: none; }
}
@media (min-width: 900px) {
  main { padding: 0 0 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .cta { transition: none; }
  .image-frame { transition: none; }
  header, main, footer { transition: none; }
}

/* Section headers (sectioning) */
.section-header { font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: #e6feff; opacity: .9; margin: .25rem 0 0.5rem; }