/* Section: Base & Theme */
:root{
  --bg: #0b120f;
  --bg-2: #141d14;
  --text: #eaffd9;
  --muted: #a6cfa7;
  --accent: #e7d900;
  --accent-2: #2a7f4d;
  --glass: rgba(10, 20, 12, 0.22);
  --glass-2: rgba(255,255,255,0.08);
}
html, body { height: 100%; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, rgba(7,12,8,.9) 0%, rgba(3,6,4,.95) 60%), #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.05) 0 1px, rgba(0,0,0,0) 1px 2px),
    radial-gradient(circle at 20% 20%, rgba(246,232,120,.08), transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(28,110,60,.08), transparent 40%);
  mix-blend-mode: overlay;
  opacity: .8;
}
a, button, .btn, .cta { cursor: pointer; }

/* Section: Layout primitives */
.container { max-width: clamp(320px, 90vw, 1100px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; }
.card { background: rgba(8, 20, 12, 0.25); border: 1px solid rgba(120, 180, 110, 0.4); border-radius: 12px; padding: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Section: Typography & content */
header { text-align: center; padding: 1.5rem 1rem 0; }
header h1 { margin: 0 0 .25rem; font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); line-height: 1.1; letter-spacing: .5px; }
header .meta { color: var(--muted); font-size: .9rem; }

/* Hero / article content */
main { padding: 1rem 0 2rem; display: grid; place-items: center; position: relative; z-index: 1; width: 100%; }
article { max-width: clamp(520px, 90vw, 860px); width: 100%; padding: 0 0.5rem; }
.featured-image { margin: 1rem 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(46, 170, 100, .4); background: rgba(0,0,0,.25); box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* Image framing with aspect-ratio */
.image-frame { aspect-ratio: 16/9; border: 1px solid rgba(46,180,100,.6); border-radius: 12px; overflow: hidden; display: block; background: #000; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Headings & text */
h2 { font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem); margin: .75rem 0 0.5rem; color: #e8ffd1; }
p { color: #d9f5c9; line-height: 1.6; margin: .6rem 0; }
blockquote { margin: .75rem 0; padding: .75rem 1rem; border-left: 3px solid var(--accent); background: rgba(0,0,0,.15); border-radius: 6px; }

/* Lists */
ul { margin: .75rem 0; padding-left: 1.25rem; }
li { margin: .4rem 0; }

/* Section: Glass panels & autofocusable UI */
.product-ad, .sponsored-page { display: inline-block; margin: .4rem; padding: .6rem 1rem; border-radius: 8px; }
.product-ad a, .sponsored-page a { color: var(--text); text-decoration: none; display: inline-block; }
.product-ad { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); }

/* Generic glass panel look for possible sections */
.article, .content, .cta, .tag { background: rgba(8, 20, 12, 0.25); border: 1px solid rgba(120, 180, 110, 0.4); border-radius: 12px; padding: 1rem; }

/* Section: Buttons & links */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Button variants */
.btn { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(0,0,0,.25); background: rgba(231, 217, 0, .9); color: #0b0b0b; font-weight: 700; font-size: .95rem; transition: transform .2s ease, background .2s ease, border-color .2s; text-align: center; text-decoration: none; }
.btn:hover { transform: translateY(-1px); background: rgba(231, 217, 0, 1); border-color: rgba(0,0,0,.3); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; border: 1px solid rgba(255,255,255,.5); color: var(--text); }
.cta { background: var(--accent); color: #0b0b0b; border: 1px solid rgba(0,0,0,.2); padding: .65rem 1.2rem; border-radius: 999px; }

/* Section: Explicit responsive layout helpers */
@media (min-width: 720px) {
  .container { padding-inline: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Section: Accessibility & color modes */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f5ea;
    --bg-2: #eef7f0;
    --text: #0a1b0a;
    --muted: #3a4f30;
    --accent: #d8a400;
    --accent-2: #2e8b4a;
  }
  body { background: #f7fbf4; color: var(--text); }
  body::before { opacity: 0.65; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, rgba(0,0,0,0) 1px 2px); }
  .card, .article { background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.08); color: #0a1b0a; }
  a { color: var(--accent); }
}
