:root {
  --bg: #0a0f1a;
  --bg-2: #0b1a2b;
  --text: #e8f3ff;
  --muted: #cbdaf6;
  --accent: #00e6ff;       /* electric blue */
  --accent-2: #b76e79;     /* rose gold */
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.22);
  --border: rgba(255,255,255,.28);
  --shadow: 0 8px 28px rgba(0,0,0,.25);
  --radius: 14px;
  --focus: #ffffff;
}

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

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans";
  color: var(--text);
  margin: 0;
  background: 
    linear-gradient(135deg, rgba(0,230,255,.14), rgba(183,110,121,.18) 60%),
    radial-gradient(circle at 20% -10%, rgba(0,230,255,.12), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(183,110,121,.12), transparent 40%),
    linear-gradient(#0b1020 0%, #05070a 100%);
  background-blend-mode: screen, overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* subtle scanlines + soft noise feel (pure CSS) */
  background-image:
    linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, transparent 1px 2px);
  opacity: .65;
  mix-blend-mode: overlay;
}

header, nav, main, article, aside, footer {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 0.9);
  padding: 1rem;
  margin: 0.75rem auto;
  width: min(100%, 1200px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
}

header h1 {
  font-size: clamp(1.75rem, 2vw + 1rem, 3rem);
  line-height: 1.08;
  margin: 0.25rem 0 0.25rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: #eaffff;
  text-shadow: 0 0 12px rgba(0, 230, 255, .6);
}

header .meta {
  color: var(--muted);
  font-feature-settings: "tnum" on, "lnum" on;
  font-size: 0.9rem;
  margin: .25rem 0 0.5rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
}
nav a {
  color: var(--text);
  text-decoration: none;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, background-color .2s ease;
}
nav a:hover, nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
nav a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

main {
  padding: 0;
  margin-top: .5rem;
}

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

article {
  display: block;
  padding: 1rem;
  max-width: 70ch;
  margin: 0 auto;
  color: var(--text);
}
article h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.75rem);
  margin: .6rem 0 0.5rem;
  color: #eaffff;
}
article h2 {
  font-size: clamp(1.25rem, 1.5vw + .8rem, 2rem);
  margin-top: 1rem;
  color: #eaffff;
}
article h3 {
  font-size: 1.15rem;
  margin-top: .8rem;
}
article p {
  font-size: clamp(0.98rem, 0.8vw + 0.9rem, 1.1rem);
  line-height: 1.6;
  color: #eef6ff;
  margin: .6rem 0;
}
article ul {
  padding-left: 1.25rem;
  margin: .5rem 0;
}
article li {
  margin: .25rem 0;
}
blockquote {
  border-left: 3px solid var(--accent);
  padding-left: .75rem;
  color: #eaf2ff;
  margin: .75rem 0;
  opacity: .95;
}

.product-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.product-ad a {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  text-align: center;
  border-radius: 999px;
  color: #041226;
  background: linear-gradient(135deg, #00e6ff 0%, #1aa6db 100%);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.product-ad a:hover { filter: brightness(1.05); transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

footer {
  padding: 1rem;
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  justify-items: center;
}
footer p {
  margin: 0;
  color: var(--muted);
}
.sponsored-page a {
  display: block;
  text-align: center;
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  color: #eaf4ff;
  text-decoration: none;
  background: rgba(0,0,0,.25);
}
.sponsored-page a:hover { background: rgba(0,0,0,.35); }

@media (min-width: 700px) {
  main { padding: 0 0; }
  article { margin: 0 auto; padding: 1rem 1.25rem; }
  footer { grid-template-columns: 1fr 1fr; align-items: start; padding: 1rem 0; }
  .product-ad, .sponsored-page { display: flex; justify-content: center; }
}

ul, li {
  list-style: disc;
}
li { padding-left: .25rem; }

/* Utility & components */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
}

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

.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .9rem;
}

.tag {
  display: inline-block;
  padding: .15em .5em;
  font-size: .75rem;
  border-radius: 999px;
  border: 1px solid rgba(183,110,121,.6);
  color: #eaf7ff;
  background: rgba(183,110,121,.22);
}

a, button, .btn, .cta {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
button, .btn, .cta {
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.4);
  color: #041226;
  background: #eaffff;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn--solid {
  background: linear-gradient(135deg, var(--accent), #1a9ac2);
  color: #041226;
  border-color: rgba(0,230,255,.8);
}
.btn--outline {
  background: rgba(0,0,0,.0);
  color: #eaffff;
  border-color: rgba(183,110,121,.6);
}
a.btn, a.cta {
  display: inline-block;
  text-decoration: none;
}
a.btn:hover, a.cta:hover, button:hover { transform: translateY(-1px); }
a.btn:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }

.image-frame--glow {
  box-shadow: 0 0 20px rgba(0,230,255,.6);
}

/* Typography & readability tweaks */
.content { font-size: clamp(0.98rem, 0.8vw + 0.9rem, 1.05rem); line-height: 1.6; color: var(--text); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html, body, header, nav, main, article, footer { transition: none !important; animation: none !important; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; }
  header, nav, main, article, footer { box-shadow: none; border: none; background: transparent; }
  a { text-decoration: underline; }
}
