/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
}

/* Loading screen styles */
#loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #121212;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

#loading-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Animated dots for loading text */
@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

.dots {
    animation: blink 1.4s infinite both;
}

#open-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background-color: #ff4655;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s;
}

#open-button:hover {
    background-color: #ff6b78;
    transform: scale(1.05);
}

#open-button:active {
    transform: scale(0.98);
}

/* Video container styles */
#video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#rick-roll-video {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
}

/* Utility classes */
.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Responsive design */
@media (max-width: 768px) {
    #loading-title {
        font-size: 2rem;
    }
    
    #open-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #loading-title {
        font-size: 1.5rem;
    }
    
    #open-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
