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

body {
    font-family: 'Georgia', serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: #000;
}

#video-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

#youtube-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    pointer-events: none;
}

#quote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

#quote-text {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: #ffffff;
    text-align: center;
    max-width: 900px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    line-height: 1.6;
    font-style: italic;
}

#quote-text.visible {
    opacity: 1;
    transform: translateY(0);
}

#unmute-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

#unmute-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

#unmute-btn.unmuted {
    border-color: rgba(76, 175, 80, 0.8);
}

#unmute-btn.unmuted svg path:nth-child(2),
#unmute-btn.unmuted svg line {
    display: none;
}

#unmute-btn.unmuted svg {
    display: block;
}

@media (max-width: 768px) {
    #quote-text {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    #unmute-btn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}
