body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
    animation: fadeBody 1.2s ease forwards;
}

@keyframes fadeBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    max-width: 600px;
    width: 90%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.container.active {
    transform: translateY(0);
    opacity: 1;
}

.quote {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Updated GIF styling */
.gif {
    max-width: 300px; /* slightly larger */
    border-radius: 8px;
    margin: 2rem 0;
    transition: transform 0.3s ease;
}

.gif:hover {
    transform: scale(1.05);
}

#lyrics {
    font-size: 1.4rem;
    margin: 2.5rem 0;
    min-height: 2em;
    opacity: 0;
}

#lyrics.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.email a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.email a:hover {
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.credits {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.credits span {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.6s ease;
}

#overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#overlay::after {
    content: "Click anywhere to start";
    color: white;
    font-size: 1.6rem;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 480px) {
    .quote {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .gif {
        max-width: 220px;
    }

    .email a {
        font-size: 1rem;
    }
}