/* TOKENS */
:root {
  --lime-500: #7dffb3;
  --lime-400: #56f29e;
  --lime-300: #2ee686;
  --rose-300: #e9a7c5;
  --rose-200: #f0c7d8;
  --rose-100: #fbe5f0;

  --bg: #04070a;
  --bg-2: #0a111a;
  --text: #eafff5;
  --muted: #b8ffd9;

  --accent: #8fffad;           /* lime glow */
  --accent-2: #f6bde3;           /* powder rose */
  --surface: rgba(255, 255, 255, 0.12);
  --surface-2: rgba(255, 255, 255, 0.20);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0,0,0,0.28);
  --focus: 0 0 0 3px rgba(135, 255, 210, 0.75);
  --focus-offset: 2px;
  --radius: 14px;
  --gap: 1rem;
}

/* LAYERS & BACKGROUND (gradient + subtle noise/scanline) */
html, body { height: 100%; }
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 60%), 
              linear-gradient(135deg, #0b0f12 0%, #0b1020 60%, #041019 100%);
  background-attachment: fixed;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* subtle lime/rose glow radiance cascade */
html::before {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(127,255,165,.12), transparent 40%),
              radial-gradient(circle at 90% 20%, rgba(246,173,213,.12), transparent 40%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 2px);
  opacity: .25;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
  filter: saturate(120%);
}

/* GLASS PANELS (fallback if backdrop-filter unsupported) */
header, nav, main, article, aside, footer {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0.5rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position: relative;
}
@supports not (backdrop-filter: blur(12px)) {
  header, nav, main, article, aside, footer { 
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
}

/* TYPOGRAPHY & STRUCTURE */
h1, h2, h3 { margin: .25rem 0 0.5rem; line-height: 1.15; }
h1 { font-size: clamp(1.4rem, 2.4vw + 1rem, 2.6rem); letter-spacing: .2px; }
h2 { font-size: clamp(1.25rem, 2vw + .5rem, 1.9rem); }
p { margin: .5rem 0 1rem; color: rgba(234, 255, 245, 0.95); }
blockquote { margin: .5rem 0 1rem; padding: .5rem 1rem; border-left: 3px solid var(--accent); color: #d6fff0; opacity: .95; }

ul { padding-inline-start: 1.25rem; margin: .5rem 0 1rem; }
li { margin: .25rem 0; }

/* CONTENT & MEDIA */
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  background: #000;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  image-rendering: auto;
  filter: saturate(1.05);
}
.product-ad { display: block; text-align: center; padding: .75rem; }
.product-ad a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; border-radius: 999px; background: rgba(143, 255, 204, 0.15); border: 1px solid rgba(143,255,204,.4); }
.product-ad a:hover { text-decoration: underline; color: var(--text); }

/* UTILITIES (utility classes) */
.container {
  width: 100%;
  max-width: clamp(320px, 90vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.tag {
  display: inline-block;
  padding: .15rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #eafff5;
}

/* LINKS & BUTTONS */
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  outline-offset: var(--focus-offset);
  border-radius: 8px;
}
button, .btn, .cta {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  padding: .65rem 1rem;
  background: rgba(255,255,255,.12);
  color: var(--text);
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn--solid {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(0,0,0,.0) 100%), rgba(135,255,210,.25);
  color: #041c10;
  border: 1px solid rgba(255,255,255,.5);
}
.btn--outline {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.5);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* HEADERS/FOOTERS CONTENT ORGANIZATION */
header > h1 { margin: .25rem 0 .25rem; font-weight: 700; }

/* LAYOUT UTILITIES */
.main, .content { display: block; }

/* RESPONSIVE TYPOGRAPHY */
p { font-size: clamp(15px, 1.2vw + 0.5rem, 18px); }

/* ACCESSIBILITY NOTES (print-friendly) */
@media print {
  body { background: white; color: black; }
  header, main, footer { background: none; border: none; box-shadow: none; }
  a { color: #0000EE; text-decoration: underline; }
}

/* MOTION PREFERENCES */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}