*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

:root {
  --bg-brown: #2b140c;
  --bg-brown-dark: #1e0f08;
  --red: #e53935;
  --red-dark: #b30f0f;
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.25);
  --ring: 0 0 0 3px rgba(255,0,0,.6);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: #f7f7f7;
  background-color: var(--bg-brown);
  /* brown zigzag pattern (subtle) */
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.22) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.22) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  margin: 0;
  min-height: 100%;
}

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

.image-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  background: #000;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.image-frame:hover { transform: scale(1.01); }

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.05);
}

/* frosted glass caption overlay (generated content) */
.image-frame::after {
  content: "Underground Bunker Horror: Descent into Darkness";
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  padding: .75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(16px, 3vw, 26px);
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: max-content;
  max-width: calc(100% - 2rem);
  letter-spacing: .2px;
}
@media (min-width: 760px) {
  .image-frame::after { bottom: 12%; }
}

.product-ad {
  width: min(980px, 92%);
  margin: 1.25rem auto 0;
  padding: .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  gap: 1rem;
}
.product-ad h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #ffdede;
  margin: 0;
}
.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  background: #b91c1c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { background: #e11d1d; transform: translateY(-1px); }
.product-ad a:focus-visible { outline: none; box-shadow: var(--ring); }

footer {
  padding: 1rem;
  text-align: center;
  color: #f0dede;
}

/* focus accessibility for links/buttons */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

@media (min-width: 600px) {
  main { padding: 2rem; }
  .image-frame { border-radius: 22px; }
  footer { font-size: 0.95rem; }
}
@media (min-width: 900px) {
  .image-frame { max-width: 1200px; }
}