:root {
  --bg: #0a0a12;
  --bg-2: #141522;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.14);
  --text: #e8f6ff;
  --muted: #b9c9d9;
  --rose: #f0cbdc;      /* powder rose base tint */
  --rose-2: #e39bb1;
  --accent: #d6ff4d;     /* chartreuse accents */
  --accent-2: #7fff00;
  --shadow: 0 8px 28px rgba(0,0,0,.32);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.22);
  --radius: 12px;
  --focus-ring: 3px solid rgba(255,255,255,.9);
  --grid-gap: 1rem;
}
html, body { height: 100%; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Layered, responsive background: gradient + underwater ripple / noise */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, rgba(8,8,20,.95), rgba(14,18,28,.95) 60%),
              radial-gradient(circle at 40% 0%, rgba(255, 105, 180, .15), transparent 40%),
              #000;
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(to bottom,
              rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: .28;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.05) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.04) 0 2px, transparent 2px);
  background-size: 6px 6px, 6px 6px;
  mix-blend-mode: overlay;
  opacity: .12;
  pointer-events: none;
  filter: saturate(1.05);
}

/* Glass / frosted panels (with fallback) */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(255,255,255,.14); }
}

html, body { height: 100%; }

/* Layout primitives */
.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding: 0 1rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--grid-gap); }
.card { padding: 1rem; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }

/* Header / hero */
header { text-align: center; padding: 2rem 1rem 1.5rem; }
header h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.04;
  margin: 0 0 .25rem;
  letter-spacing: .4px;
}
header .meta { margin: 0; font-size: .92rem; color: var(--muted); }

/* Article content */
main { padding: 1rem; display: grid; place-items: center; }
article { width: 100%; max-width: clamp(520px, 92vw, 860px); padding: 1rem; }

/* Images */
.featured-image, .image-frame {
  width: 100%; display: block;
}
.featured-image { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow-soft); }
.featured-image img { width: 100%; height: auto; display: block; }
.image-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Typography specifics */
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); margin: .75rem 0; color: #eaf6ff; }
p { margin: .5rem 0 1rem; color: #eaf2ff; }
blockquote {
  margin: .75rem 0; padding: .75rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0,0,0,.18);
  border-radius: 6px;
  color: #e8f7ff;
}
blockquote + h2 { margin-top: .5rem; }

/* Lists */
ul, li { margin: 0 0 0.5rem; padding: 0; }
li { padding-left: 1.1rem; text-indent: -0.1rem; }
li::marker { color: var(--accent-2); }

/* Links / buttons / CTAs */
a, button, .btn, .cta { cursor: pointer; color: var(--text); text-decoration: none; }
a { color: var(--accent); }
a:hover, a:focus { text-decoration: underline; color: var(--accent-2); outline: none; }
button, .btn, .cta {
  display: inline-block;
  border: 1px solid rgba(215,255,74,.6);
  border-radius: 999px;
  padding: .58rem 1rem;
  background: rgba(0,0,0,.25);
  color: #eaffd3;
  transition: transform .2s ease, background .2s ease;
}
button:hover, .btn:hover, .cta:hover { transform: translateY(-1px); background: rgba(0,0,0,.32); }
button:focus-visible, .btn:focus-visible, .cta:focus-visible, a:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
  outline-offset: 2px;
  border-color: rgba(255,255,255,.9);
  border-width: 2px;
}
.btn.primary { background: rgba(215,255,74,.55); color: #0b0b0b; border-color: rgba(215,255,74,.9); }

/* Product/ad sections in footer */
footer { padding: 1.5rem; display: grid; gap: 1rem; justify-items: center; border-top: 1px solid rgba(255,255,255,.15); background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.0)); }
footer .product-ad, footer .sponsored-page { width: min(100%, 640px); }
footer a { color: var(--text); text-decoration: none; }

/* Simple glass panels for ad blocks */
footer .product-ad, footer .sponsored-page {
  padding: .6rem;
}
footer .product-ad a, footer .sponsored-page a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(215,255,74,.6);
  color: #eaffd3;
}
footer p { color: var(--muted); font-size: .9rem; }

/* Content helper (non-critical elements) */
.content { padding: 1rem; }

/* Print styles (readable) */
@media print {
  body { background: #fff; color: #000; }
  header, footer { background: transparent; box-shadow: none; }
  a { text-decoration: underline; }
}

/* Accessibility: respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Shortcuts for utility-like classes (present for the spec) */
.container.grid { display: grid; gap: var(--grid-gap); }

/* Focus-visible fallback for older UA that may not support :focus-visible */
:focus:not(:focus-visible) { outline: none; }

/* End of stylesheet */