/* Tokens */
:root{
  --bg: #0a0a12;
  --bg-2: #0f0f1a;
  --text: #eaf0ff;
  --muted: #b8c2d9;
  --accent: #ffd6e8;
  --accent-2: #ff6fbf;
  --glass: rgba(255,255,255,.08);
  --glass-2: rgba(255,255,255,.14);
  --border: rgba(255,255,255,.25);
  --shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Baseline & layout */
html, body, header, nav, main, article, footer, aside { height: auto; }
html, body { height: 100%; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Layered background: gradient + subtle decorative overlays (pure CSS) */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,230,170,.08), rgba(0,0,0,.0) 60%), linear-gradient(#0a0a0f 0%, #0a0a0f 60%, #090913 100%);
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* laser lemon fractal-like ambiance with soft glows */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 180, .18) 0 25%, transparent 25%),
    radial-gradient(circle at 75% 60%, rgba(255, 100, 170, .14) 0 20%, transparent 20%),
    conic-gradient(from 180deg at 50% 50%, rgba(255,255,255,.04), rgba(255,255,255,.0) 50%, rgba(255,255,255,.04) 100%);
  background-blend-mode: screen, overlay, overlay;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  /* subtle scanlines (pure CSS) */
  background-image: linear-gradient(to bottom, transparent 0 7px, rgba(255,255,255,.04) 7px 8px);
  background-size: 100% 8px;
  mix-blend-mode: overlay;
  opacity: .25;
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { display: none; }
}

/* Glass panels & surfaces */
header, main, footer, aside, article, .content, .card, .product-ad {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
header, main, footer { position: relative; z-index: 1; }

/* Layout helpers */
.container { width: 100%; max-width: clamp(320px, 92vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Typography (fluid, system UI) */
h1, h2, h3 { margin: .3em 0; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw + 0.5rem, 4rem); line-height: 1.08;
  background: linear-gradient(90deg, #fff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(1.25rem, 1.5vw + 1rem, 2rem); }
p { font-size: clamp(.95rem, .8vw + .9rem, 1.15rem); line-height: 1.5; color: #e9eefc; margin: .5em 0; }
blockquote { margin: .75em 0; padding: .75em 1rem; border-left: 3px solid rgba(255,255,255,.4); color: #f5f8ff; background: rgba(255,255,255,.06); border-radius: 6px; }

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

/* Content block with glassmorphism */
.content {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .content { backdrop-filter: none; }
}

/* Product ad & other sections */
.product-ad {
  display: block;
  padding: .8rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
}
.product-ad a { text-decoration: none; color: var(--text); display: inline-block; padding: .6rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.15); transition: transform .15s ease, background .2s ease; }
.product-ad a:hover { background: rgba(0,0,0,.25); transform: translateY(-1px); }
.sponsored-page { margin-top: .5rem; }

/* Links & buttons (interactive, accessible) */
a, button, .btn, .cta {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  padding: .65em 1em;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
a:hover, button:hover, .btn:hover, .cta:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-color: rgba(255,255,255,.9);
}
.btn, .cta { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: white; }
.btn--solid { background: rgba(255, 102, 178, .95); border: none; }
.btn--outline { background: transparent; }
.btn + .btn { margin-left: .5rem; }

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

/* Utilities / components */
.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .75rem;
  box-shadow: var(--shadow);
}
.tag {
  display:inline-block;
  padding:.25em .6em;
  font-size:.75rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* Layout blocks per page structure */
header { padding: 1.25rem 0; text-align: center; }
header h1 { margin: 0; }

/* Print styles for basic readability (optional) */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: transparent; box-shadow: none; }
}
@media (min-width: 700px) {
  main { padding: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}