/* Base styles with optimized reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    width: 100vw;
}

/* Video background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000; /* Fallback color */
}

#background-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Main content */
.content {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    padding-bottom: 80px; /* Space for footer */
}

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

.content > * {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
    animation-delay: 0.2s;
}

.spotify-embed-container {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
    animation-delay: 0.3s;
    opacity: 0.85 !important;
    transition: opacity 0.3s ease !important;
    overflow: hidden !important;
}

.spotify-embed-container:hover {
    opacity: 1 !important;
}

.watch-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation-delay: 0.4s;
}

.social-icons {
    animation-delay: 0.6s;
}

.watch-btn:hover, 
.watch-btn:focus {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    outline: none;
}

.watch-btn:active {
    transform: translateY(-1px);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    pointer-events: none;
}

.social-icon:hover,
.social-icon:focus {
    transform: scale(1.2);
    background: #ff0000;
    outline: none;
}

/* Removed unused artist-bio styles */

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 1;
    outline: none;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: #111;
    color: #eee;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #ff0000;
}

/* Popup typography */
.popup-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
    color: #fff;
}

.popup-content h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.popup-content h3 {
    font-size: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.popup-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #bbb;
}

.popup-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #bbb;
}

.popup-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.popup-content a {
    color: #ff0000;
    text-decoration: none;
    transition: color 0.2s;
}

.popup-content a:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        max-width: 300px;
    }
    
    .watch-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .social-icon {
        font-size: 1rem;
        width: 36px;
        height: 36px;
    }

    .popup-content {
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
        margin-bottom: 1.5rem;
    }
    
    .watch-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }

    .footer-links a {
        margin: 0 10px;
        font-size: 0.8rem;
    }
}