/* Light reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Theme tokens */
:root {
  --bg1: #2a1410;
  --bg2: #4b2513;
  --bg3: #6a2f1b;
  --red: #e21d1d;
  --red-dark: #b40f0f;
  --white: #f8f6f6;
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.32);
  --shadow: 0 6px 20px rgba(0,0,0,.35);
  --radius: 14px;
}

/* Base layout and brown waves background (mobile-first) */
html, body { height: 100%; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background:
    /* subtle wave layers for a brown cyberpunk vibe */
    linear-gradient(135deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.0) 40%),
    linear-gradient(315deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.0) 40%),
    linear-gradient(#2b160c 0%, #34140f 60%, #2b1b0d 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Soft frosted overlay on the background to enhance cyberpunk mood */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 25px 0, rgba(0,0,0,.15) 2px, transparent 2px),
    radial-gradient(circle at 60px 60px, rgba(0,0,0,.12) 2px, transparent 2px);
  background-size: 120px 60px;
  mix-blend-mode: overlay;
  opacity: .25;
  pointer-events: none;
  filter: saturate(0.95);
  z-index: 0;
  animation: drift 60s linear infinite;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-60px); } }

/* Main content area (hero region) */
main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  flex: 1 1 auto;
  width: 100%;
  z-index: 1;
}

/* Image frame as prominent hero visual */
.image-frame {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 25px 50px rgba(0,0,0,.5);
  display: block;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  filter: saturate(1.05) brightness(0.98);
}

/* Frosted glass overlay hero text (accessible, readable) */
.image-frame::before {
  content: "Skyscraper Blackout: Night of Terror \A Enter the cyber void";
  white-space: pre;
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  text-align: center;
  font-weight: 800;
  color: #fff;
  font-size: clamp(1rem, 2.6vw, 1.6rem);
  line-height: 1.15;
  padding: .6em .9em;
  border-radius: 999px;
  background: rgba(13,9,9,.52);
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  z-index: 2;
}

/* Footer and CTA styling */
footer {
  padding: 1.25rem;
  text-align: center;
  color: #e8d9c9;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.05));
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 1;
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem 1rem;
  margin-bottom: .75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
}
.product-ad h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #ffd3d3;
}
.product-ad a {
  display: inline-block;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.25);
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, background .2s ease;
}
.product-ad a:hover {
  background: #ff4a3a;
  transform: translateY(-1px);
}
.product-ad a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Small-screen adjustments (mobile-first) */
@media (max-width: 640px) {
  .image-frame { border-radius: 16px; }
  .image-frame::before {
    top: 8%;
    font-size: 1.15rem;
    padding: .5em .8em;
  }
  footer { padding: .75rem; }
}

/* Tablet breakpoint tweaks */
@media (min-width: 641px) and (max-width: 1024px) {
  .image-frame { border-radius: 18px; }
  .image-frame::before { top: 12%; font-size: 1.3rem; }
}