/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0b0b10;
  --maroon: #6a0d1b;
  --red: #e01616;
  --card: rgba(20, 0, 20, 0.6);
  --glass: rgba(255,255,255,0.08);
  --text: #f7f7f7;
  --muted: #d9d0d0;
}
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui;
  color: var(--text);
  background: 
    radial-gradient(circle at 10% -10%, rgba(255,0,0,.25), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(139,0,0,.25), transparent 40%),
    linear-gradient(135deg, #0a0a0f 0%, #13060b 60%, #0a0a0f 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Layout */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.image-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  z-index: 1;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.01);
}
.image-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,0,0,.25), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(160,0,0,.35), transparent 40%);
  backdrop-filter: blur(4px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .9;
}
.image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,0,0,.08) 60%, rgba(0,0,0,.15));
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Footer with frosted panel and CTA */
footer {
  padding: 18px;
  display: grid;
  gap: 12px;
  place-items: center;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.05) 70%);
}
.product-ad {
  width: min(92%, 680px);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(15, 0, 15, 0.55);
  border: 1px solid rgba(255, 100, 100, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 28px rgba(0,0,0,.45);
  text-align: center;
}
.product-ad h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: .5px;
}
.product-ad a {
  display: inline-block;
  background: linear-gradient(135deg, rgba(180,0,0,.95), rgba(120,0,0,.95));
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,.65);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.4);
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus,
.product-ad a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,0,0,.9);
}
footer p {
  margin: 0;
  color: #d6caca;
  font-size: .9rem;
  text-align: center;
  opacity: .95;
}

/* Accessibility focus for links elsewhere if any */
a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,0,0,.9); }

/* Responsive tweaks - mobile-first */
@media (min-width: 600px) {
  main { padding: 40px; }
  .image-frame { max-width: 900px; aspect-ratio: 16/9; }
  .product-ad { padding: 16px 20px; }
}
@media (min-width: 900px) {
  body { padding: 0 6vw; }
  main { justify-content: center; align-items: flex-start; padding-top: 60px; }
  .image-frame { border-radius: 26px; transform: translateZ(0); }
}
@media (prefers-color-scheme: dark) {
  /* keep high contrast for dark themes if user prefers dark mode */
  :root { --text: #f6f6f6; }
}