:root {
  --bg: #0a0a0a;
  --bg-2: #14171d;
  --text: #f5f0eb;
  --muted: #c9b6a2;
  --accent: #e21d3d; /* crimson */
  --accent-2: #b8712c; /* bronze-ish */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(226, 29, 61, 0.65);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* Layered gradient + subtle scanline look (pure CSS) */
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.25)),
    linear-gradient(to right, rgba(0,0,0,.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-blend-mode: overlay;
  opacity: .25;
  z-index: 0;
}

/* Layout helpers */
.container { width: 100%; max-width: clamp(520px, 78vw, 1100px); padding-inline: 1rem; margin-inline: auto; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* Sectioned elements style (glass panels with fallback) */
header, main, aside, footer, article {
  background: rgba(6, 6, 8, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  margin: 0.75rem auto;
}
header { text-align: center; padding: 1.25rem 1rem; }
header h1 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.8rem); line-height: 1.15; margin: 0.25rem 0; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: clamp(0.85rem, 0.8vw + .8rem, 1rem); margin-top: 0.25rem; }
nav { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; padding-top: .25rem; }
nav a { color: var(--text); text-decoration: none; padding: .4rem .6rem; border-radius: 6px; border: 1px solid transparent; transition: color .2s ease, background .2s; }
nav a:hover, nav a:focus { text-decoration: underline; color: var(--accent); }

main { display: block; padding: 0; }
article { padding: 1rem; }

.image-frame { margin: 1rem 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.content { color: var(--text); font-size: clamp(0.95rem, 0.2vw + 0.95rem, 1.05rem); line-height: 1.6; }

ul, li { margin: 0.4em 0; padding: 0; }
ul { padding-left: 1.4em; }
li { padding-left: 0.25em; }

.product-ad { display: block; margin: 0.75rem 0; padding: .75rem; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; }

/* Link/button styles and interactive states */
a, button, .btn, .cta { -webkit-tap-highlight-color: transparent; color: inherit; text-decoration: none; cursor: pointer; }
a { color: var(--text); }
a:hover, a:focus { text-decoration: underline; color: var(--accent); }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); outline-offset: 2px; border-radius: 6px; }

/* Button variants */
.btn, .cta { display: inline-block; padding: .75rem 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.4); background: linear-gradient(135deg, rgba(226,29,61,.95), rgba(184,105,42,.95)); color: #fff; transition: transform .15s ease, background .2s ease; }
.btn:hover, .cta:hover { transform: translateY(-1px); background: linear-gradient(135deg, rgba(226,29,61,.98), rgba(184,105,42,.98)); }
.btn:active, .cta:active { transform: translateY(0); }
.btn.secondary { background: rgba(255,255,255,.12); color: var(--text); border-color: rgba(255,255,255,.35); }

/* Typography helpers */
.tag { display: inline-block; padding: .25em .6em; border-radius: 999px; font-size: .75rem; background: rgba(210, 27, 72, 0.22); color: var(--accent); }

/* Lists styling for high contrast on glass */
li { color: color-m-mix(in srgb, black 60%, white 40%); } /* subtle placeholder to ensure contrast fallback if needed */

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { background: #fff; border: none; box-shadow: none; border-radius: 0; padding: 0; }
  a, button { color: #000; text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}