*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'Nunito', sans-serif;
    padding-bottom: 10vh;
}

#bg-video {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.55;
}

#bg-gif {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.55;
}

.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.7)  100%
        );
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: fadeUp 0.8s ease both;
}

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

.content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 5.5rem);
    color: #ffffff;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.7);
    line-height: 1;
}

.content p {
    font-size: clamp(0.95rem, 3vw, 1.15rem);
    color: rgba(255,255,255,0.88);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    white-space: nowrap;
}

.btn-wait {
    margin-top: 8px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #7c3aed, #9f1de0);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
    transition: box-shadow 0.3s;
    min-width: 220px;
}

.btn-wait::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: rgba(255,255,255,0.12);
    transition: width 1s linear;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 8px 30px rgba(124,58,237,0.55); }
    50%       { box-shadow: 0 8px 45px rgba(159,29,224,0.85); }
}
.btn-wait {
    animation: fadeUp 0.8s 0.3s ease both, glow 2s 0.8s ease-in-out infinite;
}
