/* =========================================================
   FESTIVE OVERLAY ENGINE: CREAM & AMBER (#fcfcf7 / #d97706)
   Advance Academy - Janmashtami Festive Welcome Overlay
   ========================================================= */
.aa-festive-screen {
  position: fixed;
  inset: 0;
  background-color: #fcfcf7;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}

.aa-festive-screen.fade-away {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.aa-festive-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(252, 252, 247, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.aa-feather-wrapper {
  width: 110px;
  height: 140px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(217, 119, 6, 0.22));
  animation: aaFeatherDrop 1.6s ease-out forwards, aaFeatherSway 3s ease-in-out infinite 1.6s;
}

.aa-feather-svg {
  width: 100%;
  height: 100%;
}

@keyframes aaFeatherDrop {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotate(-14deg) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes aaFeatherSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(3.5deg); }
}

.aa-festive-heading {
  font-family: 'Hind Siliguri', 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d97706;
  margin-top: 24px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  animation: aaTextUp 0.8s ease-out 0.6s forwards;
  text-align: center;
  padding: 0 16px;
}

.aa-festive-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 8px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  animation: aaTextUp 0.8s ease-out 0.85s forwards;
  text-align: center;
  padding: 0 20px;
  max-width: 90vw;
}

.aa-festive-sub strong {
  color: #1e293b;
  font-weight: 600;
}

@keyframes aaTextUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aa-festive-skip {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  z-index: 10;
  font-family: 'Inter', sans-serif;
}

.aa-festive-skip:hover {
  color: #d97706;
  border-color: #d97706;
  background: rgba(217, 119, 6, 0.08);
}

@media (max-width: 640px) {
  .aa-festive-heading {
    font-size: 2.1rem;
    margin-top: 18px;
  }
  .aa-festive-sub {
    font-size: 0.88rem;
  }
  .aa-feather-wrapper {
    width: 95px;
    height: 125px;
  }
  .aa-festive-skip {
    top: 18px;
    right: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

