:root {
  --bg: #0b1020;
  --bg-2: #0a1a2b;
  --surface: rgba(18, 28, 56, 0.22);
  --surface-2: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.12);
  --panel-strong: rgba(255, 255, 255, 0.22);
  --text: #eaf4ff;
  --muted: #b9c7e6;
  --accent: #ff2d92;
  --accent-2: #5ee6ff;
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.35);
}

* { 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, #040a1a 0%, #0a1b2b 60%, #050812 100%);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 0;
}
/* Layered background: subtle grid + scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 2px, transparent 2px, transparent 4px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}
header, nav, main, article, aside, footer {
  position: relative;
  z-index: 1;
}
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
  padding-block: 1rem;
}
.glass {
  background: rgba(14, 20, 44, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(14, 20, 44, 0.65); }
}
header { padding: 1.25rem 0; }
header .site-title { font-size: clamp(1.25rem, 0.8rem + 2.5vw, 2.5rem); margin: 0 0 .25rem; line-height: 1.1; color: #fff; }
header .meta { color: var(--muted); font-size: clamp(0.8rem, 0.6vw + 0.8rem, 1rem); margin: 0; }

main { padding: 1rem 0 2rem; }
article { max-width: 720px; margin: 0 auto; padding: 0.5rem; }
.featured-image { display: grid; place-items: center; margin: 1rem 0 1.25rem; }
.image-frame { width: 100%; max-width: 860px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.28); background: rgba(0,0,0,0.25); box-shadow: 0 8px 22px rgba(0,0,0,.4), inset 0 0 12px rgba(0,180,255,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

h1 { font-size: clamp(2rem, 1.6rem + 2.5vw, 3.75rem); line-height: 1.04; margin: 0.25rem 0 0.5rem; color: #fff; letter-spacing: .3px; }
h2 { font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2rem); margin: 1rem 0 .5rem; color: #eaf4ff; }
p { color: #dbe7ff; margin: 0.5rem 0; line-height: 1.6; }

ul { padding-left: 1.2em; margin: .5rem 0; }
li { margin: 0.25rem 0; color: #e6f2ff; }

.content { padding: 0 0 1rem; }

.product-ad { display: grid; gap: 0.5rem; padding: .5rem; }
.product-ad a { color: #fff; text-decoration: none; display: block; padding: .75rem 1rem; border-radius: 10px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,.4); text-align: center; }
.product-ad a p { margin: 0; font-weight: 600; }

.sponsored-page { display: grid; gap: .5rem; padding: .5rem; }
.sponsored-page a { color: #fff; text-decoration: none; display: block; padding: .75rem 1rem; border-radius: 10px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,.4); text-align: center; }

footer { padding: 1rem 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }

a, button, .btn, .cta {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  outline: none;
}
a { color: var(--accent-2); }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

.btn, .cta {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, box-shadow .2s;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: #ff3f9f; box-shadow: 0 6px 16px rgba(255, 45, 146, 0.5); }
.btn:active, .cta:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.7);
}
.btn--outline:hover { background: rgba(255,255,255,0.08); }

.tag {
  display:inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  color: #001018;
  background: rgba(94, 240, 255, 0.55);
  border: 1px solid rgba(94,240,255,0.95);
}

ul, li { list-style: disc; }

/* Layout helpers */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }

/* Images frame with glow */
.image-frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 0 12px rgba(0,180,255,.25); background: #000; }

/* Print styles for readability */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { box-shadow: none; background: transparent; }
  a { text-decoration: underline; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
} 

/* Basic responsive typography helpers */
h1, h2, h3 { line-height: 1.15; }
p, li { font-size: clamp(14px, 0.9vw + 12px, 18px); }