/* Base / Token Palette */
:root{
  --bg: #0b0706;
  --bg-2: #18120d;
  --text: #e9f5f0;
  --muted: #aebfb5;
  --accent: #2bd4b0;       /* seafoam */
  --accent-2: #c08a3e;     /* bronze-gold */
  --glass: rgba(18, 18, 22, 0.28);
  --glass-fallback: rgba(18,18,22,0.85);
  --glass-border: rgba(255,255,255,0.28);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,.38);
  --focus: 0 0 0 3px rgba(43,212,176,.65);
  --focus-offset: 2px;
  --text-on-glass: #eafff5;
}

/* Reset-lite & Layout Scaffolding */
html, body, header, nav, main, article, aside, footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body { height: 100%; }
body {
  min-height: 100dvh;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: 
    /* Subtle bronze/nebula gradient */
    radial-gradient( circle at 20% 0%, rgba(184,125,32,.25), transparent 40% ),
    radial-gradient( circle at 80% 20%, rgba(0,120,110,.25), transparent 40% ),
    linear-gradient(135deg, rgba(12,8,4,.95), rgba(10,8,6,.92) 60%, rgba(8,6,4,.95) 100%),
    #0a0a0a;
  /* Layered noise/scanlines (pure CSS) */
  background-blend-mode: normal, normal, multiply, normal;
  position: relative;
  overflow-x: hidden;
}
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* faint starry grain */
  background-image: 
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: 0.25;
}
body::after{
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.15) 0 1px, transparent 1px 2px);
  pointer-events: none;
  opacity: .25;
  z-index: 0;
}

/* Structural wrappers */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}
.grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px){
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
header, main, footer {
  position: relative;
  z-index: 1;
}
header {
  padding: clamp(18px, 4vw, 40px) 0;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw + 1rem, 3.6rem);
  line-height: 1.08;
  letter-spacing: .2px;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
main {
  padding: 0 clamp(16px, 3vw, 40px) 40px;
}
article {
  display: grid;
  place-items: center;
}
.image-frame {
  width: min(680px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  background: linear-gradient(#101018, #0b0b12);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .4s ease;
}
.image-frame:hover img {
  transform: scale(1.03);
}
.content { /* reserved for potential text blocks */
  padding: 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
}
@supports not (backdrop-filter: blur(8px)) {
  .content { background: var(--glass-fallback); }
}
.btn, a.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5ch;
  padding: .75em 1.25em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  color: #041b15;
  background: linear-gradient(135deg, rgba(43,212,176,.95), rgba(178,231,208,.95));
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.btn:hover, a.btn:hover, .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.32);
}
.btn:focus-visible, a.btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  outline-offset: var(--focus-offset);
}
.btn.outline, a.btn.outline, .cta.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(43,212,176,.80);
}
.btn.outline:hover, a.btn.outline:hover, .cta.outline:hover {
  background: rgba(43,212,176,.12);
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--accent-2); }

/* Glass panels (general use) */
.card, .content {
  background: rgba(12,12,24,.28);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.32);
  color: var(--text);
}
@supports not (backdrop-filter: blur(12px)) {
  .card, .content {
    background: rgba(12,12,24,.82);
  }
}

/* Product ad / footer blocks */
.product-ad, .sponsored-page {
  display: block;
  margin: .75rem 0;
  padding: .75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(15,18,26,.38);
  box-shadow: var(--shadow);
}
.product-ad { background: rgba(2,6,12,.42); }
.product-ad a, .sponsored-page a { color: var(--accent); text-decoration: none; }
.product-ad a:hover, .sponsored-page a:hover { text-decoration: underline; }

/* Lists & miscellaneous utilities */
ul, li { margin: 0; padding: 0; list-style: none; }
li { display: inline-block; margin-right: .75rem; }

/* Utility classes required by the prompt */
.container { width: min(1100px, 92vw); margin-inline: auto; }
.grid { display: grid; gap: 1rem; }
.card { padding: 1rem; }

/* Typography scale */
h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: .2px;
}
p { margin: .5rem 0 0; color: var(--muted); }

/* Responsive refinements */
@media (max-width: 640px){
  .image-frame { width: 100%; }
  header { padding: 16px 0; }
  main { padding: 0 0 28px; }
}
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; animation: none !important; }
}

/* Print styles for readability (basic) */
@media print {
  body { background: white; color: #000; }
  .card, .content { background: none; border: none; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
}
