@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Bebas Neue', sans-serif;
    height: 100%;
    overflow: hidden;
    background: #000;
    color: white;
    text-align: center;
}

/* wideo w tle */
#bg-video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: black;
}

audio {
    display: none;
}

/* kontener na box z napisami */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* box z blur i przyciemnieniem */
.lyrics-box {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);

    /* wysokość = 3 linie */
    height: 8.5em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* kontener wszystkich linii – przewijanie */
.lyrics-container {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease;
}

/* pojedyncza linia */
.lyric-line {
    font-size: 2em;
    line-height: 2.5em;
    color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 0 10px rgba(0,0,0,0.9);
    transition: color 0.3s ease, font-size 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
    letter-spacing: 2px;
}

/* aktywna linia = wyśrodkowana */
.lyric-line.active {
    font-size: 2.6em;
    color: #fff;
    opacity: 1;
}

/* responsywność karaoke */
@media (max-width: 768px) {
    .lyric-line {
        font-size: 1.4em;
        line-height: 2em;
    }
    .lyric-line.active {
        font-size: 1.8em;
    }
    .lyrics-box {
        height: 8em;
        padding: 20px;
    }
}

/* ====== STRONA WYBORU ====== */
.menu-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5em;
    animation: fadeIn 1.5s ease-in-out;
}

.menu-title {
    font-size: 4.5em;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255,255,255,0.25);
    margin: 0;
}

.menu-buttons {
    display: flex;
    flex-direction: column; /* przyciski w pionie */
    gap: 1.2em;
    width: 100%;
    max-width: 320px;
}

.menu-btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    padding: 18px 0;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

.menu-btn:hover {
    background: rgba(255,255,255,0.9);
    color: black;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

/* animacja wejścia */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
