html, body {
  margin: 0;
  padding: 0;
  color: var(--text, #e7e9ff);
  background: linear-gradient(135deg, #0a0f1e 0%, #0b1120 60%, #0a0f1e 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  position: relative;
  isolation: isolate;
  color-scheme: dark;
}
:root {
  --bg: #0b1020;
  --bg-2: #0a1220;
  --surface: rgba(255, 255, 255, 0.09);
  --surface-2: rgba(255, 255, 255, 0.14);
  --text: #e9e8ff;
  --muted: #a5b4fc;
  --accent: #FF6A61;      /* coral accent */
  --accent-2: #7C83FF;    /* indigo accent */
  --border: rgba(255,255,255,.25);
  --card: rgba(18, 18, 26, 0.28);
  --shadow: 0 6px 28px rgba(0,0,0,.35);
}
html:focus-within { outline: none; }
body::before,
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; }

body::before {
  /* Indigo grid paper overlay (pure CSS) */
  background-image:
    linear-gradient(rgba(124,131,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,131,255,.25) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .25;
  mix-blend-mode: overlay;
}
body::after {
  /* Subtle scanline noise (pure CSS) */
  background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,.06) 2px, transparent 2px, transparent 4px);
  opacity: .18;
  mix-blend-mode: overlay;
  filter: saturate(0.95);
}

.container,
main, header, footer, aside {
  width: 100%;
}

header, main, footer, aside {
  position: relative;
  z-index: 1;
}

header {
  padding: 2rem 0 1rem;
  text-align: center;
}
header h1 {
  margin: 0 0 .25rem;
  font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem);
  line-height: 1.08;
  letter-spacing: .2px;
  font-weight: 700;
}
header .meta {
  margin: 0;
  font-size: clamp(0.8rem, 0.5vw + 0.8rem, 1rem);
  color: var(--muted);
  opacity: .95;
}

main {
  display: grid;
  place-items: start center;
  padding: 1rem 0 2rem;
}
article {
  width: min(1100px, 92vw);
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(14,17,34,.42), rgba(14,17,34,.28) 60%, rgba(14,17,34,.42));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (prefers-color-scheme: light) {
  html, body { color-scheme: light; }
  body {
    background: #f7f7fb;
  }
  body::before {
    opacity: .16;
  }
  body::after { opacity: .14; }
  article {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
  }
}
.featured-image { margin: 1rem 0 0; }
.image-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  background: #111;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
h2 {
  font-size: clamp(1.4rem, 2vw + 1rem, 2.2rem);
  margin: 0.75rem 0 0.5rem;
}
p {
  margin: .75rem 0;
  color: #e6e8ff;
  font-size: clamp(0.95rem, 0.25vw + 0.95rem, 1.12rem);
}
blockquote {
  margin: .75rem 0;
  padding: .5rem 1rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(124,131,255,.15);
  border-radius: 6px;
}
ul {
  padding-left: 1.2rem;
  margin: .75rem 0 1rem;
}
li {
  margin: .25rem 0;
}
.product-ad,
.sponsored-page {
  display: block;
  margin: .75rem 0;
}
.product-ad a,
.sponsored-page a {
  display: block;
  text-align: left;
  padding: .75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: rgba(124,131,255,.18);
  border: 1px solid rgba(124,131,255,.4);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover,
.sponsored-page a:hover { transform: translateY(-1px); background: rgba(124,131,255,.28); }
.product-ad a:focus-visible, .sponsored-page a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

footer {
  padding: 1.25rem 0 2rem;
  text-align: center;
  color: #cbd5e1;
}
footer p { margin: .25rem 0; color: #cbd5e1; }

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

.btn, .cta {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(124,131,255,.28);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: rgba(124,131,255,.38); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.btn.primary {
  background: var(--accent);
  border-color: rgba(255,255,255,.25);
}
.btn.primary:hover { background: #e6564f; }

.content {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
}
.grid {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.tag {
  display: inline-block;
  padding: .15em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(124,131,255,.25);
  color: #eef1ff;
  border: 1px solid rgba(124,131,255,.5);
}
@media (max-width: 720px) {
  header { padding: 1.5rem 0 0.75rem; }
  article { padding: .75rem; }
  .image-frame { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  body::before, body::after { display: none; }
  html, body { background: #fff; color: #000; }
  article { background: transparent; border: none; box-shadow: none; }
}