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

body {
    background-color: #000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Impact', sans-serif;
    /* Bold font */
}

.container {
    width: 100%;
    text-align: center;
    padding: 20px;
}

.rainbow-text {
    font-size: 12vw;
    /* Very large text */
    font-weight: bold;
    text-transform: uppercase;

    /* Rainbow Gradient */
    background-image: linear-gradient(45deg,
            #ff0000,
            #ff7300,
            #fffb00,
            #48ff00,
            #00ffd5,
            #002bff,
            #7a00ff,
            #ff00c8,
            #ff0000);
    background-size: 200% auto;

    /* Clip background to text */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    /* Animation */
    animation: shine 3s linear infinite, entrance 1s ease-out forwards;

    /* Optional: 3D effect or shadow to make it pop more? */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes entrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(100px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.5);
    /* Darken video slightly to make text pop */
}

.controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    justify-content: center;
    flex-wrap: wrap;
}

.controls button {
    padding: 10px 20px;
    font-size: 1.2rem;
    font-family: 'Impact', sans-serif;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Mobile check */
@media (max-width: 600px) {
    .rainbow-text {
        font-size: 15vw;
    }

    .controls {
        bottom: 30px;
        gap: 10px;
    }

    .controls button {
        padding: 8px 16px;
        font-size: 1rem;
        flex: 1 1 auto;
        /* Allow buttons to shrink/grow */
        min-width: 100px;
        /* Minimum width for touch targets */
    }
}