/* Section: Base & Theme */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
:root {
  --bg: #0b0b0f;
  --bg-2: #141210;
  --text: #e6ffd6;
  --muted: #b9d6a0;
  --accent: #d4ff3a;
  --accent-2: #a6ff56;
  --card: rgba(255,255,255,0.08);
  --card-2: rgba(20,15,12,0.55);
  --border: rgba(255,255,255,0.28);
  --shadow: 0 8px 26px rgba(0,0,0,.35);
  --focus: #9cff7b;
  --radius: 14px;
}
html, body { margin: 0; padding: 0; }
html, body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* Layered background: bronze gradient + subtle noise/scanlines (pure CSS) */
  background-image:
    linear-gradient(135deg, rgba(150,118,60,.9), rgba(40,20,10,.95) 60%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(to right, rgba(0,0,0,.04) 0 1px, transparent 1px 2px),
    linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  background-blend-mode: overlay, overlay, overlay, normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html, body { background-attachment: initial; }
}

/* Section: Layout Helpers */
.container { width: 100%; max-width: clamp(860px, 90vw, 1200px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text); transition: transform .2s ease, background .2s ease;
}
@supports not (backdrop-filter: blur(12px)) {
  .card { background: rgba(255,255,255,0.12); }
}
.product-ad { display: block; padding: 1rem; text-align: center; border-radius: 12px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* Section: Modules & Elements */
header, nav, main, article, section, aside, footer { display: block; }
header { padding: 1.75rem 1rem; text-align: center; position: relative; }
header {
  /* Glassy hero treatment */
  background: rgba(15,12,10,0.28);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  margin: 1.25rem auto;
  max-width: min(1100px, 92%);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header h1 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.25rem); line-height: 1.15; margin: 0 0 .25rem; letter-spacing: .4px; }
header .meta { color: var(--muted); font-size: clamp(0.85rem, 0.9vw, 1rem); margin: 0; }
nav { margin-top: .75rem; }
nav a { color: var(--accent); text-decoration: none; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; }
nav a:hover { text-decoration: underline; }

/* Section: Content & Typography */
main { padding: 1.75rem 1rem 2.5rem; }
article { max-width: 860px; margin-inline: auto; padding: 0; }
h2, h3 { color: var(--text); margin-top: 1.25rem; }
p, li { color: color-mix(in oklab, var(--text) 90%, black); }

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

/* Glass panels for content blocks */
.content { padding: 0; }

/* Section: Links & Buttons */
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }
button, .btn, .cta { font-family: inherit; font-weight: 600; border-radius: 8px; cursor: pointer; border: 0; padding: .6rem .95rem; display: inline-block;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn { background: linear-gradient(135deg, rgba(210,255,112,.95), rgba(180,255,60,.95)); color: #0b1a00; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn--outline { background: transparent; color: var(--text); border: 1px solid rgba(212,255,58,.75); }
.cta { }

/* Section: Lists & utilities */
ul, li { margin: 0; padding: 0; }
ul { padding-left: 1.25rem; margin-block: .75rem; }
li { margin: .25rem 0; }

/* Section: Accessibility & Motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  body { background: white; color: black; }
  a { text-decoration: underline; }
}

 /* Section: Layout helpers (high-contrast focus helpers) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* Section: Decorative accents to reinforce theme (non-intrusive) */
:root { --glow: 0 0 12px rgba(212,255,58,.75); }
.header-glow { box-shadow: var(--glow); }