/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #eae6d0; background: #0a0a0a; }

/* Gold abstract glow background (mobile-first, decorative) */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.6) 0 25%, transparent 25%),
    radial-gradient(circle at 70% 40%, rgba(255,215,0,.5) 0 30%, transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(212,175,55,.35) 0 25%, transparent 25%);
  filter: blur(60px);
  pointer-events: none;
  /* subtle color cast for cyberpunk feel */
  mix-blend-mode: screen;
}

/* Core typography and layout */
:root {
  --gold: #d4af37;
  --goldBright: #ffd700;
  --bgGlass: rgba(255,255,255,0.10);
  --bgGlassDeep: rgba(255,255,255,0.16);
  --text: #eae6d0;
  --muted: #c8b89a;
  --glassBorder: rgba(255,255,255,0.28);
  --shadow: 0 10px 25px rgba(0,0,0,.45);
  --focus: 0 0 0 3px rgba(255,215,0,.75);
}
html { color-scheme: dark; }
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 8rem);
}
.image-frame {
  width: min(92vw, 700px);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  box-shadow: var(--shadow);
  position: relative;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #d9d3bf;
}
.product-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0.75rem auto 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  color: #f2e8c4;
}
.product-ad a {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #191000;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(212,175,55,.95) 0%, rgba(255,215,0,.95) 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 14px rgba(212,175,55,.65);
}
.product-ad a:hover {
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: var(--focus);
}
.product-ad p { margin: 0; }

/* Text styles for body copy inside footer if any */
footer p { margin: 0.25rem 0 0; font-size: .95rem; color: var(--muted); }

/* Accessibility: ensure high contrast on focus for links/buttons */
a:focus-visible { outline: 2px solid var(--goldBright); outline-offset: 2px; }

/* Responsive tweaks (mobile-first, then scale up) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; min-height: calc(100vh - 6rem); }
  .image-frame { border-radius: 24px; }
  .product-ad { padding: 0.85rem 1.25rem; }
  .product-ad h3 { font-size: 1rem; }
}
@media (min-width: 1024px) {
  main { padding: 4rem 0; }
  .image-frame { width: min(60vw, 860px); min-height: 520px; }
  .product-ad { transform: translateZ(0); }
}