/* Section: Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --text: #eafff0;
  --muted: #9fffa0;
  --accent: #39ff14;
  --accent-2: #a6ff2f;
  --surface: rgba(10,10,10,.25);
  --surface-2: rgba(10,10,10,.18);
  --border: rgba(57,255,70,.32);
  --shadow: 0 6px 18px rgba(0,0,0,.55);
  --focus: 0 0 0 3px rgba(57,255,70,.6);
}
html { color-scheme: dark; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--text);
  min-height: 100%;
  line-height: 1.45;
  background-color: #000;
  /* Layered background: gradient + subtle noise/scanlines */
  background-image:
    radial-gradient(circle at 50% -10%, rgba(0,255,40,.08), transparent 40%),
    linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.95) 60%, rgba(0,0,0,.85) 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f7f5; --bg-2: #e9f0e9; --text: #0a0a0a; --muted: #4b5a3f; --surface: rgba(255,255,255,.75); --surface-2: rgba(255,255,255,.6); --border: rgba(0,0,0,.15); }
  body {
    background-image:
      radial-gradient(circle at 50% -10%, rgba(0,120,0,.08), transparent 40%),
      linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(245,245,245,.95) 60%, rgba(255,255,255,.9) 100%),
      repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 2px, transparent 2px 4px);
  }
}
a { color: inherit; text-decoration: none; outline: none; }
a:focus-visible { outline: 3px solid rgba(57,255,70,.9); outline-offset: 2px; border-radius: 4px; text-decoration: underline; }

/* Section: Layout primitives */
.header, header { display: block; }
nav, main, article, aside, section, footer { display: block; }
.container { width: 100%; max-width: clamp(320px, 92vw, 1100px); margin-inline: auto; padding-inline: 1rem; }

/* Section: Global typography */
h1, h2 { line-height: 1.1; margin: 0 0 .5rem; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 1.6rem + 4vw, 4rem); font-weight: 700; color: #eafff0; text-shadow: 0 0 18px rgba(57,255,70,.4); }
h2 { font-size: clamp(1.4rem, 0.8rem + 2vw, 2.4rem); color: #eafff0; }
p { margin: 0 0 1rem; color: #eafff0; }
blockquote { margin: 1rem 0; padding: .75rem 1rem; border-left: 4px solid rgba(57,255,70,.6); color: #eafff0; background: rgba(0,0,0,.25); border-radius: 6px; }

/* Section: Glass panels (fallback if backdrop-filter unsupported) */
.glass {
  background: linear-gradient(to bottom, rgba(8,8,8,.28), rgba(8,8,8,.18));
  border: 1px solid rgba(57,255,70,.32);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(8,8,8,.75); }
}
.card { /* utility glass card */ background: rgba(8,8,8,.42); border:1px solid rgba(57,255,70,.32); border-radius:12px; padding:1rem; box-shadow: 0 6px 20px rgba(0,0,0,.5); }

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

/* Section: Content helpers */
.content { padding: 1rem; color: var(--text); }

/* Section: Product ad / footer blocks */
.product-ad { display: block; padding: .75rem 1rem; text-align: center; margin: .5rem 0; background: rgba(0,0,0,.25); border:1px solid rgba(57,255,70,.32); border-radius:10px; }
.sponsored-page { display: block; padding: .75rem 1rem; text-align: center; margin: .5rem 0; background: rgba(0,0,0,.25); border:1px solid rgba(57,255,70,.32); border-radius:10px; }

/* Section: Lists */
ul, li { margin: 0 0 0.5rem; padding-left: 1.25rem; }
li { color: #eafff0; }

/* Section: Utilities (grid, card, tag) */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Section: Buttons & links */
.btn, .cta, button { display: inline-block; padding: .6rem .95rem; border-radius: 8px; border: 1px solid rgba(57,255,70,.6); background: rgba(0,0,0,.25); color: var(--text); cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s; text-align: center; }
.btn.primary { background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); border-color: rgba(57,255,70,.8); color: #eafff0; }
.btn.outline, .cta { background: transparent; border-color: rgba(57,255,70,.7); color: var(--text); }
.btn:hover, .cta:hover { transform: translateY(-1px); }
.btn:active, .cta:active { transform: translateY(0); }
.btn:focus-visible, .cta:focus-visible { outline: var(--focus); outline-offset: 2px; }

/* Section: Header & main structure */
header { padding: 2rem 0; text-align: center; }
header h1 { margin-bottom: .25rem; }
header .meta { color: #9fffa0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; opacity: .95; }

/* Section: Global layout of page regions */
main { padding: 1rem 0 2rem; }
footer { padding: 1rem 0; text-align: center; }

/* Section: Specific selectors required by prompt (present or not, styled anyway) */
html, body, header, nav, main, article, footer, aside { /* ensure base surfaces are presentable */ }
.image-frame, .image-frame img { }

/* Section: Build-out hero container and content flow */
article { display: block; padding: 1rem; }
.featured-image { margin: 0 0 1rem; border-radius: 12px; overflow: hidden; }
.featured-image img { width: 100%; height: auto; display: block; }

/* Section: Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
  
/* Section: Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}