html, body, header, nav, main, article, footer, aside {
  display: block;
}

:root {
  /* Palette distilled from red + iridescent green */
  --bg: #0a0000;
  --bg-2: #3a0000;
  --text: #eafff5;
  --muted: #b6f2c2;
  --accent: #2cff86;
  --accent-2: #00ffd1;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 12px;
  --gap: 1rem;
  --focus-ring: 0 0 0 3px rgba(0,255,140,.6);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  font-size: clamp(14px, 2.2vw, 18px);
  /* Layered background: red gradient + subtle glow + scanlines (pure CSS) */
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0,255,110,.15) 0 40%, transparent 40%),
    linear-gradient(135deg, rgba(150,0,0,.75) 0%, rgba(20,0,0,.95) 60%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 2px, transparent 2px 4px);
  background-attachment: fixed;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

header, main, footer { width: 100%; }

/* Page scaffolding containers for readable max width */
.container { width: 100%; max-width: clamp(720px, 90vw, 1100px); padding-inline: 1rem; margin-inline: auto; }

/* Header (title area) */
header {
  padding: 1rem;
  text-align: center;
  margin: 1rem auto;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header h1 { font-size: clamp(1.6rem, 5vw, 3rem); margin: .25rem 0 .25rem; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: clamp(0.85rem, 2.5vw, 1rem); margin-top: .25rem; }
nav { margin-top: .5rem; }

/* Simple nav styling with accessible focus treatment on links */
nav a { color: var(--text); text-decoration: none; padding: .25rem .5rem; border-radius: 6px; }
nav a:hover, nav a:focus { text-decoration: underline; outline: none; }

/* Main content area */
main { padding: 0.75rem 0 2rem; }
article { display: grid; gap: var(--gap); }

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

/* Glass panel content blocks */
.content, .card, .product-ad { border-radius: var(--radius); border: 1px solid var(--border); padding: 1rem; background: var(--card); box-shadow: var(--shadow); }

/* Fallback for environments without backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
  .content, .card, .product-ad { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
}

/* Typography hierarchy within content area */
h1, h2 { color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw, 3.25rem); margin: .25rem 0 .5rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin: .75rem 0 .4rem; }

/* Lists and content defaults */
ol, ul { margin-block: .5rem; padding-left: 1.25rem; }
li { margin: .25rem 0; }

/* Link styles with accessible focus/hover underlines and hue contrast */
a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Button primitives and variants */
.btn { display: inline-block; padding: .8rem 1.1rem; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; color: #062116; background: var(--accent); transition: transform .15s ease, background-color .2s ease; }
.btn:hover { background: #29e59a; }
.btn:active { transform: translateY(1px) scale(.99); }

/* Outline variant for CTAs */
.btn[data-variant="outline"] { background: transparent; color: var(--text); border: 1px solid rgba(0,255,130,.9); }
.btn[data-variant="outline"]:hover { background: rgba(0,255,130,.08); }

/* Focus ring accessibility for interactive elements */
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
[data-focus="true"]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  outline-offset: 2px;
}

/* Utility grid and card styles for responsive layouts */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* Tag styling (utility) */
.tag { display: inline-block; padding: .25em .6em; font-size: .75rem; border-radius: 999px; background: rgba(44,255,134,.18); color: #eafff0; border: 1px solid rgba(44,255,134,.6); }

/* Section wrappers to satisfy selectors in the page structure */
.content > p { margin: .5rem 0 1rem; color: var(--text); }
.product-ad { display: inline-block; padding: .6rem 1rem; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.28); }
.product-ad p { margin: 0; }

/* Footer layout and content hooks */
footer { padding: 1.25rem; text-align: center; display: grid; gap: .75rem; justify-items: center; }
footer p { color: var(--muted); font-size: .92rem; }

/* Print-friendly readability tweaks */
@media print {
  body { background: #fff; color: #000; }
  header, nav, footer { display: none; }
  main { padding: 0; }
  .container { padding: 0; }
}

/* Responsive refinements for larger viewports */
@media (min-width: 1024px) {
  h1 { font-size: clamp(2.25rem, 3.8vw, 4rem); }
  main { padding: 1.25rem 0 2.5rem; }
  .container { padding-inline: 2rem; }
  header { padding: 1.25rem 0; }
}

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