:root{
  --bg: #0b0b0f;
  --bg-2: #14161b;
  --text: #e8efe8;
  --muted: #a8b9a0;
  --accent: #D9772A;       /* burnt orange */
  --accent-2: #7BAA87;     /* sage green */
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --shadow: 0 10px 25px rgba(0,0,0,.25);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(217,119,42,.6);
}

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

html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(184,74,0,.25) 0%, rgba(60,92,60,.25) 60%, rgba(8,12,20,.75) 100%), #000;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* subtle scanline + light speckle feel without images */
  background-image:
    linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  opacity: .6;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

header, main, footer, aside {
  position: relative;
  z-index: 1;
}

header {
  padding: 1.25rem 0 0.5rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw + 1rem, 2.4rem);
  line-height: 1.15;
  letter-spacing: .2px;
  color: var(--text);
}

main {
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

article {
  width: 100%;
  display: grid;
  place-items: center;
  gap: .75rem;
  padding: .25rem;
}

.image-frame {
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  box-shadow:
    0 8px 28px rgba(0,0,0,.4),
    inset 0 0 12px rgba(0,0,0,.15);
  display: block;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
  transition: transform .3s ease;
}
.image-frame:hover img {
  transform: scale(1.01);
}

/* Glass panels with graceful fallback */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}
@supports not (backdrop-filter: blur(12px)) and not (-webkit-backdrop-filter: blur(12px)) {
  .glass { background: rgba(255,255,255,.15); }
}

.product-ad,
.sponsored-page {
  display: block;
  text-align: center;
  margin: .25rem 0;
}
.product-ad { padding: .25rem; }
.product-ad a,
.sponsored-page a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  border-radius: 12px;
  padding: .8rem 1rem;
  color: var(--text);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a {
  background: rgba(217,120,0,.92);
  border: 1px solid rgba(255,255,255,.35);
}
.sponsored-page a {
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad a:hover,
.sponsored-page a:hover { transform: translateY(-1px); text-decoration: underline; }
.product-ad a:focus-visible,
.sponsored-page a:focus-visible { outline: none; box-shadow: var(--focus); }

footer {
  padding: 1.5rem 0 2rem;
  text-align: center;
  background: transparent;
}

@media (min-width: 700px) {
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }
  .product-ad, .sponsored-page { display: flex; justify-content: center; align-items: stretch; }
  .product-ad a, .sponsored-page a { width: 100%; }
}

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

/* Utility & component classes */
.container.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

.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 {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  color: #111;
  background: rgba(217,120,0,.9);
  border: 1px solid rgba(255,255,255,.5);
}

ul, li {
  margin: 0; padding: 0;
  list-style: none;
}
ul li { margin: .25rem 0; padding-left: 1.1em; text-indent: -1.1em; }
ul li::before {
  content: "•";
  color: var(--accent-2);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Links & controls */
a, button, .btn, .cta {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
a { color: var(--accent-2); }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}
.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: var(--accent);
  color: #1a110a;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(125, 255, 210, .9);
}
.cta { display:inline-flex; align-items:center; gap:.5rem; padding:.6rem 1rem; border-radius:999px; border:1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); }

.image-frame:hover { outline: 2px solid rgba(217,119,42,.35); outline-offset: 2px; }

/* Typography sizing */
h2 { font-size: clamp(1.15rem, 1.5vw + .8rem, 1.6rem); margin: .25rem 0 0.25rem; }
p { margin: .25rem 0 0.5rem; color: var(--muted); font-size: clamp(.95rem, 0.8vw + .9rem, 1.1rem); line-height: 1.5; }

/* Print styles for readability (optional) */
@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
}
