:root {
    --ink: #0e1430;
    --ink2: #161d42;
    --denim: #5560a8;
    --gold: #d2a85a;
    --cream: #f1e6c9;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html,
body {
    min-height: 100%;
}
body {
    background: radial-gradient(ellipse at 50% 0%, var(--ink2), var(--ink) 65%);
    color: var(--cream);
    font-family: "Hind Siliguri", sans-serif;
    overflow-x: hidden;
}
#sky {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.stage {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(2rem, 6vh, 4rem) 1.25rem 2rem;
}

/* logo: the single orchestrated entrance — rises out of the "pocket" */
.logo-wrap {
    position: relative;
    width: min(300px, 60vw);
    aspect-ratio: 1;
}
.logo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    animation:
        rise 1.4s cubic-bezier(0.2, 0.9, 0.25, 1) both,
        bob 6s ease-in-out 1.4s infinite;
}
.glow {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(210, 168, 90, 0.35),
        transparent 65%
    );
    animation: pulse 4s ease-in-out infinite;
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(70px) scale(0.7) rotate(-6deg);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}
@keyframes pulse {
    50% {
        opacity: 0.5;
        transform: scale(1.08);
    }
}

.title {
    margin-top: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(2.6rem, 9vw, 5.2rem);
    color: var(--cream);
    text-shadow: 3px 3px 0 rgba(210, 168, 90, 0.55);
    animation: fade 1s 0.9s both;
}
.tagline {
    margin-top: 0.5rem;
    font-size: clamp(1.1rem, 3.2vw, 1.6rem);
    color: var(--gold);
    animation: fade 1s 1.1s both;
}
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.count {
    display: flex;
    gap: clamp(0.6rem, 2.5vw, 1.4rem);
    margin-top: 2rem;
    animation: fade 1s 1.3s both;
}
.count div {
    min-width: clamp(64px, 19vw, 104px);
    padding: 0.7rem 0.4rem 0.55rem;
    border: 1.5px solid rgba(210, 168, 90, 0.55);
    border-radius: 14px 14px 22px 22px;
    background: rgba(85, 96, 168, 0.18);
    /* stitched denim edge */
    outline: 1.5px dashed rgba(210, 168, 90, 0.45);
    outline-offset: -7px;
}
.count b {
    display: block;
    font-size: clamp(1.8rem, 6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
}
.count span {
    font-size: 0.9rem;
    color: var(--gold);
}
.count.live {
    font-size: 1.4rem;
    color: var(--gold);
}
.count.live div {
    display: none;
}

.banner {
    margin-top: 3rem;
    width: min(980px, 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid rgba(210, 168, 90, 0.45);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    transform: perspective(1100px) rotateX(var(--rx, 0deg))
        rotateY(var(--ry, 0deg));
    transition: transform 0.25s ease-out;
    animation: fade 1s 1.6s both;
}
.banner img {
    display: block;
    width: 100%;
    height: auto;
}

.foot {
    margin-top: auto;
    padding-top: 2.5rem;
    font:
        500 0.8rem Poppins,
        sans-serif;
    color: rgba(241, 230, 201, 0.55);
    letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
