/* Base */
:root{
  --bg: #0a0f0d;
  --bg-2: #112a14;
  --text: #eaffd9;
  --muted: #b8e3ac;
  --accent: #a7ff88;
  --accent-2: #ffd86a;
  --card: rgba(255,255,255,.08);
  --card-2: rgba(255,255,255,.12);
  --ring: 2px solid var(--accent);
}

html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(120,255,180,.25) 0 25%, transparent 26%),
    radial-gradient(circle at 75% 60%, rgba(255,248,180,.22) 0 28%, transparent 29%),
    linear-gradient(135deg, rgba(6,18,12,.82), rgba(8,20,12,.78) 60%, rgba(6,14,10,.85)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay, overlay, normal, normal;
  background-attachment: fixed;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}

/* Layout & Background */
header, nav, main, article, footer { display: block; }
header { text-align: center; padding: 2rem 1rem 1rem; }
header h1 { font-size: clamp(1.75rem, 2vw + 1rem, 3rem); margin: .25rem 0 0.25rem; color: var(--text); }
header .meta { color: var(--muted); font-size: clamp(0.8rem, 0.4vw + 0.6rem, 0.95rem); margin-top: .25rem; }
nav { margin-top: .75rem; }
nav a { color: var(--text); text-decoration: none; padding: .25rem .6rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
nav a:hover, nav a:focus-visible { outline: var(--ring); outline-offset: 2px; text-decoration: underline; }

/* Container & Grid Utilities */
.container { max-width: clamp(320px, 90vw, 1100px); margin: 0 auto; padding: 0 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Content & Typography */
main { padding: 0 1rem; }
article { width: 100%; max-width: 900px; margin: 0 auto; padding: 1rem 0 2rem; }
article h1 { font-size: clamp(1.6rem, 1.8vw + 1rem, 2.8rem); margin: .5rem 0 0.75rem; color: var(--text); }
article p { margin: .6rem 0; color: var(--text); }
article h2, article h3 { color: var(--text); margin-top: 1rem; }
article h2 { font-size: clamp(1.1rem, 1vw + 1.1rem, 1.6rem); }
article h3 { font-size: clamp(0.95rem, 0.8vw + 0.95rem, 1.15rem); color: var(--text); font-weight: 600; }
article ul { margin: .5rem 0 1rem 1.15rem; padding: 0; }
article li { margin: .25rem 0; }

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

/* Glass Panels (with fallback) */
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 1rem; box-shadow: 0 8px 28px rgba(0,0,0,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@supports not (backdrop-filter: blur(12px)) and not (-webkit-backdrop-filter: blur(12px)) {
  .glass { background: rgba(255,255,255,.18); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.aside { display: block; }

/* Content & Surfaces */
.content { color: var(--text); line-height: 1.6; font-size: clamp(0.95rem, 0.5vw + 0.9rem, 1.05rem); }

/* Product Ad / CTAs / Links */
.product-ad, .sponsored-page { display: inline-block; margin: .25rem; padding: .4rem .75rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
a { color: var(--text); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; outline: none; color: var(--accent-2); }
.cta, .btn { font-family: inherit; font-weight: 600; border-radius: 999px; display: inline-block; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.18); color: #0b150f; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; text-align: center; }
.btn.primary { background: linear-gradient(135deg, var(--accent-2), #d9f9a7); color: #0a1b04; border-color: rgba(0,0,0,.15); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.5); }
.cta:hover, .btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .cta:focus-visible { outline: var(--ring); outline-offset: 2px; }

/* Footer */
footer { padding: 1.25rem 1rem; text-align: center; color: var(--muted); }

/* Print */
@media print {
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
  
/* Helpers */
ul, li { line-height: 1.6; }
.tag { display: inline-block; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; background: rgba(168,255,174,.25); border: 1px solid rgba(168,255,174,.5); color: #d9ffd5; }