.video-wrapper {
  width: 100%;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

#overlay-wrapper {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.overlay-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 16px;
  color: white;
  z-index: 1000;
  pointer-events: none;
  height: 100%;
  max-width: 1024px ; 
}

/* The container is just a size/position wrapper — no background here */
.overlay-text .container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  height: 100%;
}

/* ── Each question block is absolutely stacked in the same space ── */
.question-block {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* GSAP animates this */
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* ── Question view (options) ── */
.question-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
  padding: 32px;
}

.question-view .question-text {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
}

.radio-options {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-radio {
  display: block;
  width: calc(50% - 6px);
  cursor: pointer;
}

.custom-radio input[type='radio'] {
  display: none;
}

.custom-radio label {
  display: block;
  width: 100%;
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-size: 24px;
  height: 100%; 
}

.custom-radio label:hover {
  background: rgba(255, 255, 255, 0.15);
}

.custom-radio.correct label {
  background: rgba(32, 135, 3, 0.4);
  border-color: rgba(32, 135, 3, 0.8);
}

.custom-radio.wrong label {
  background: rgba(255, 0, 0, 0.35);
  border-color: rgba(255, 0, 0, 0.8);
}

/* ── Score view (shown after answering) ── */
.score-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  align-self: center;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
  padding: 32px;
  max-width: 635px;
  width: 100%;
  max-height: 300px;
}

.score-view .answer-msg {
  font-size: 24px;
  color: #fff;
}

.score-view .earned-points {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.earned-points span {
  font-size: 28px;
  font-weight: 400px;
}

.score-view .total-score-display {
  font-size: 20px;
  color: #fff;
}

.score-view .continue-btn {
  margin-top: 8px;
  font-size: 16px;
  background: transparent;
  border: 2px solid #e58600;
  color: #fff;
  cursor: pointer;
  min-width: auto;
  padding: 0 28px;
  height: 48px;
  border-radius: 24px;
}

.score-view .continue-btn:hover {
  background: rgba(229, 134, 0, 0.15);
}

.scroll-explore {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
  transition: opacity .3s ease;
}

.scroll-explore p {
  color: #fff;
  opacity: 50%;
  margin-bottom: 8px;
  font-size: 20px;
}

.scroll-explore img {
  margin-bottom: -80px;
  max-width: 230px;
  opacity: 0.6;
}


/* ── Responsive ── */

@media (max-width: 768px) {
  .overlay-text {
    top: 60%;
    padding: 12px;
    height: 100%;
  }

  .question-view .question-text {
    margin-bottom: 0;
  }

  .question-block {
    padding: 20px;
  }

  .custom-radio {
    width: 100%;
  }

  .question-view .question-text {
    font-size: 16px;
  }

  .score-view .earned-points {
    font-size: 56px;
  }

  .earned-points span {
    font-size: 24px;
  }

  .score-view .total-score-display {
    font-size: 16px;
  }

  .scroll-explore p {
    font-size: 16px;
  }

  .scroll-explore img {
    max-width: 170px;
    margin-bottom: -60px;
  }

  .tata-icon{
     display: none;
  }


}

@media (max-width: 480px) {

  .question-block {
    padding: 16px;
  }

  .custom-radio label {
    padding: 12px 14px;
    font-size: 14px;
  }

  .score-view .earned-points {
    font-size: 56px;
  }

  .score-view .continue-btn {
    font-size: 16px;
  }

  .question-view {
     padding: 20px;
  }
}