/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* BODY BASE */
body {
    min-height: 100vh;
    background: radial-gradient(circle at top,
        #4ea8de,
        #5a4fcf 35%,
        #8a2be2 65%,
        #120022 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    position: relative; /* VERY IMPORTANT */
}

/* ANIMATED GLOW BACKGROUND */
body::before {
    content: "";
    position: fixed;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        rgba(78,168,222,0.18),
        rgba(138,43,226,0.35),
        rgba(78,168,222,0.18)
    );
    animation: rotateBg 30s linear infinite;
    z-index: 0;
}

/* MAIN CONTAINER */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 45px 35px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 40px rgba(138, 43, 226, 0.35),
        inset 0 0 18px rgba(78, 168, 222, 0.18);
    animation: fadeIn 1.6s ease;
}

/* LOGOS */
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 22px;
}

.logo {
    width: 120px;
    animation:
        pulseGlow 3.5s infinite ease-in-out,
        floatLogo 6s infinite ease-in-out;
}

.logo.college {
    width: 95px;
    animation-delay: 1.7s;
}

/* TEXT */
h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
}
.gradient-text {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(
        270deg,
        #00ffff,
        #00ff85,
        #ffee00,
        #ff00ff,
        #00ffff
    );
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
    letter-spacing: 6px;
    text-shadow: 0 0 22px rgba(0, 255, 255, 0.5);

}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #e0c3ff;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(138, 43, 226, 0.35);
}

.date {
    font-size: 1.3rem;
    margin-bottom: 26px;
    font-weight: 500;
    color: #f1e9ff;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(10, 6, 25, 0.55);
    padding: 16px 20px;
    border-radius: 14px;
    min-width: 88px;
    box-shadow:
        inset 0 0 12px rgba(138, 43, 226, 0.35),
        0 0 12px rgba(78, 168, 222, 0.25);
}

.time-box span {
    font-size: 2.1rem;
    font-weight: bold;
    display: block;
}

.time-box small {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    opacity: 0.85;
}




/* ANIMATIONS */
@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.7;
        filter: drop-shadow(0 0 8px rgba(78,168,222,0.8));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(138,43,226,0.9));
    }
    100% {
        opacity: 0.7;
        filter: drop-shadow(0 0 8px rgba(78,168,222,0.8));
    }
}

@keyframes floatLogo {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 600px) {
    h1 { font-size: 2.3rem; }
    .logos { gap: 22px; }
    .logo { width: 90px; }
    .logo.college { width: 70px; }
    .time-box { min-width: 72px; }
}

.waiting {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 5px #ff4ecd;
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        text-shadow: 0 0 20px #ff4ecd, 0 0 40px #6a5cff;
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        text-shadow: 0 0 5px #ff4ecd;
        transform: scale(1);
        opacity: 0.8;
    }
}
