html{
    background-color: black;
}
#cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100vw;
    background: rgba(80, 80, 80, 0.92); /* szare półprzezroczyste tło */
    color: #fff;
    padding: 18px 10px 18px 10px;
    border-radius: 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUpFooter 0.7s cubic-bezier(.33,1.02,.57,.99) forwards;
    gap: 16px;
}

@keyframes slideUpFooter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cookie-banner p {
    margin: 0;
    font-size: 1.05em;
    letter-spacing: 0.01em;
    text-align: center;
    max-width: 600px;
}

#cookie-banner form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#cookie-banner button {
    background: #222;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    min-width: 110px;
    text-align: center;
}

#cookie-banner button:hover {
    background: #fff;
    color: #222;
}

@media (max-width: 700px) {
    #cookie-banner {
        padding: 14px 4px;
        gap: 12px;
    }
    #cookie-banner p {
        max-width: 98vw;
        font-size: 0.98em;
    }
}
@keyframes slideDownFooter {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

#cookie-banner.hide {
    animation: slideDownFooter 0.5s cubic-bezier(.33,1.02,.57,.99) forwards;
}

#start {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* bardzo wysoki, by przykryć wszystko */
    pointer-events: all;
}

#overlay {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ds-logo {
    font-size: 5rem;
    color: rgb(197, 197, 197);
    font-weight: bold;
    letter-spacing: 0.1em;
    font-family: 'Segoe UI', Arial, sans-serif;
    user-select: none;
    position: relative;
    overflow: visible;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #fff;
    animation: shine-outline 2.2s linear infinite;
    z-index: 1;
}

#ds-logo {
    font-size: 5rem;
    color: rgb(197, 197, 197);
    font-weight: bold;
    letter-spacing: 0.1em;
    font-family: 'Segoe UI', Arial, sans-serif;
    user-select: none;
    position: relative;
    overflow: visible;
    z-index: 1;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.ds-left, .ds-right {
    display: inline-block;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
    z-index: 1;
}

.ds-left {
    animation: d-move-in 1s cubic-bezier(.33,1.02,.57,.99) forwards;
}

.ds-right {
    animation: s-move-in 1s cubic-bezier(.33,1.02,.57,.99) forwards;
}

.ds-left.pulse::before, .ds-right.pulse::before {
    content: attr(data-letter);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    color: #6cf; /* lekki niebieski glow, możesz zmienić na #fff */
    z-index: -1;
    filter: blur(8px);
    opacity: 0.8;
    pointer-events: none;
    animation: pulse-glow 2.5s infinite;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-align: center;
    display: block;
}
.ds-left.pulse, .ds-right.pulse {
    animation: none;
    opacity: 1;
    transform: translateX(0) scale(1);
}
.ds-left.fadeout,
.ds-right.fadeout {
    transition: opacity 0.7s;
    opacity: 0;
}


@keyframes d-move-in {
    0% {
        opacity: 0;
        transform: translateX(-120vw) scale(0.7);
    }
    70% {
        opacity: 1;
        transform: translateX(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes s-move-in {
    0% {
        opacity: 0;
        transform: translateX(120vw) scale(0.7);
    }
    70% {
        opacity: 1;
        transform: translateX(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.4;
        filter: blur(4px);
    }
    50% {
        opacity: 1;
        filter: blur(16px);
    }
    100% {
        opacity: 0.4;
        filter: blur(4px);
    }
}
#welcome-text {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s;
    z-index: 2;
    letter-spacing: 0.08em;
}

#welcome-text.show {
    animation: welcome-drop 1s cubic-bezier(.33,1.02,.57,.99) forwards;
    opacity: 1;
}

@keyframes welcome-drop {
    0% {
        top: -80px;
        opacity: 0;
    }
    80% {
        top: 30px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 1;
    }
}

#start.fadeout {
    transition: opacity 1.2s;
    opacity: 0;
    pointer-events: none;
}