/* Reset & root variables (light, accessible, compact) */
:root {
  --bg-brown-1: #2b140c;
  --bg-brown-2: #3a1f0f;
  --bronze: #8a5a2a;
  --maroon: #8b1e2e;
  --maroon-dark: #6a0f14;
  --text: #f5efe9;
  --glass: rgba(255,255,255,.12);
  --glass-border: rgba(255,255,255,.25);
  --radius: 14px;
  --shadow: 0 6px 16px rgba(0,0,0,.4);
  --font: ui-sans-serif, system-ui, -apple-system;
}

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(160,90,30,.25) 0%, transparent 40%),
    linear-gradient(135deg, #2b140c 0%, #3a1f0f 40%, #2b0b0b 100%);
  min-height: 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* subtle metallic sheen overlay */
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.04), rgba(255,255,255,.01) 40%, rgba(255,255,255,.04));
  background-size: 200% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: drift 28s linear infinite;
}
@keyframes drift { to { transform: translateX(-60px); } }

/* Layout: mobile-first, modern cyberpunk vibe */
header {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(0,0,0,.25); /* frosted glass feel */
  backdrop-filter: blur(6px) saturate(1.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  color: #ffd7d7;
  text-shadow: 0 0 8px rgba(255,0,0,.6), 0 0 16px rgba(180,0,0,.6);
  letter-spacing: .5px;
}
main { padding: 0 1rem; }
.image-frame {
  width: min(92vw, 720px);
  margin: 1.5rem auto;
  padding: .75rem;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 0 10px rgba(0,0,0,.25);
  backdrop-filter: blur(8px) saturate(1.15);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
footer {
  padding: 1.5rem 1rem;
  text-align: center;
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: min(92vw, 520px);
  margin: 0.5rem auto 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(10,6,6,.38);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.product-ad h3 {
  margin: 0;
  font-size: .95rem;
  text-transform: uppercase;
  color: #ffd7d7;
  letter-spacing: .6px;
}
.product-ad a {
  color: #ffd7d7;
  text-decoration: none;
}
.product-ad a:hover { text-decoration: underline; }

/* CTA and interactive elements (prominent on hero) */
.btn, a.btn {
  display: inline-block;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(139,0,0,.95), rgba(120,0,0,.95));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.5); }
.btn:focus-visible, a.btn:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
a { color: #ffd9d9; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Accessibility: ensure focus ring on interactive controls elsewhere too */
button, input, select, textarea, [role="button"] {
  outline: none;
}
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}
@media (min-width: 640px) {
  header { padding: 2.25rem 1.5rem; }
  header h1 { font-size: 2.25rem; }
}
@media (min-width: 900px) {
  main { padding: 0 2rem; }
  .image-frame { margin: 2rem auto; }
  .product-ad { width: 720px; }
}
