/* Base Reset */
body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Spiral background image */
.spiral-img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200vw;
  height: 200vh;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
  animation: spinZoom 30s linear infinite;
  filter: blur(2px) brightness(1.2) saturate(130%);
}

@keyframes spinZoom {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2) rotate(360deg);
  }
}

/* Tribute container */
.container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #ff2d7a, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 10px #ff2d7a; }
  100% { text-shadow: 0 0 30px #ffd700; }
}

.subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 30px;
}

.fake-counter {
  font-size: 1.4rem;
  margin: 30px 0 60px;
  color: #7df7d1;
  text-shadow: 0 0 4px #003;
}

/* Tribute zones */
#ad-zones {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Each zone */
.ad-zone {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 45, 122, 0.2);
  padding: 50px 30px;
  border-radius: 15px;
  color: #fff;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
}

.ad-zone:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
  transform: scale(1.02);
}

.ad-zone.clicked {
  filter: grayscale(1) brightness(0.5);
}

.click-catcher {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 250px;
  z-index: 10;
  background: transparent;
  cursor: pointer;
}
.ad-slot {
  position: relative; /* required so .click-catcher aligns */
}
.ad-zone.clicked::after {
  content: "✓ Clicked";
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* Mondiad ad wrapper styling */
.ad-stack {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-slot {
  width: 300px;
  height: 250px;
  max-width: 100%;
}

/* Vertical progress bar */
#sideProgressWrapper {
  position: fixed;
  top: 60px;
  left: 20px;
  width: 10px;
  height: calc(100vh - 120px);
  background: #111;
  border-radius: 5px;
  overflow: hidden;
  z-index: 999;
  display: none;
  border: 1px solid #333;
  box-shadow: 0 0 10px rgba(255, 45, 122, 0.2);
}

#sideProgressBar {
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #ff2d7a, #ffd700);
  transition: height 1s ease-in-out;
  border-radius: 5px;
}

/* Subtitles (TTS captions) */
#tts-subtitle {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #ff2d7a;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 45, 122, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

/* Footer */
footer {
  margin-top: 80px;
  font-size: 0.85rem;
  color: #888;
}