body {
    font-family: Inter, sans-serif;
    cursor: default
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #10b981;
    color: #fff;
    padding: 8px;
    z-index: 100;
    transition: top .3s
}

.skip-link:focus {
    top: 0
}

.glass-card {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1)
}

.bg-gradient-custom {
    background: radial-gradient(circle at center, #1e293b 0, #0f172a 100%)
}

.show-on-desktop {
    display: none !important
}

.show-on-mobile {
    display: flex !important
}

@media (min-width:768px) {
    .show-on-desktop {
        display: block !important
    }

    .show-on-mobile {
        display: none !important
    }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: #10b981
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s cubic-bezier(.5, 0, 0, 1)
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px)
}

.tilt-content {
    transform: translateZ(20px)
}

.nav-hidden {
    transform: translateY(-100%)
}

.nav-visible {
    transform: translateY(0)
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box
}

.shorts-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    min-height: 562px
}

.shorts-track::-webkit-scrollbar {
    display: none
}

.short-card {
    flex: 0 0 auto;
    width: 315px;
    height: 560px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .3s;
    position: relative
}

.short-card:hover {
    transform: scale(1.02);
    border-color: #10b981
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 185, 129, .1);
    color: #fff;
    border: 1px solid rgba(16, 185, 129, .3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px
}

.prev-btn {
    left: 0
}

.next-btn {
    right: 0
}

@media (max-width:600px) {
    .nav-btn {
        display: none
    }

    .short-card {
        width: 280px;
        height: 500px
    }

    .slider-wrapper {
        padding: 0 10px
    }

    .shorts-track {
        min-height: 502px
    }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent)
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 60s linear infinite
}

.marquee-track:hover {
    animation-play-state: paused
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.comment-card {
    width: 300px;
    background: rgba(30, 41, 59, .6);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 12px;
    padding: 20px;
    flex-shrink: 0
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #064e3b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.yt-lazy {
    background-color: #000;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 100%;
    display: block
}

.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, .8);
    border-radius: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.yt-play-btn::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff
}

.yt-views-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none
}

.yt-views-badge span {
    color: #10b981
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block
}


/* === NAPRAWA BANNERU COOKIES (Styling ID dla pewności) === */
#cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #0f172a !important;
    border-top: 1px solid #1e293b !important;
    box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    padding: 1.5rem !important;
    display: block !important;
    transition: transform 0.8s ease-out !important;
    transform: translateY(0);
    /* Domyślnie widoczny */
}

/* Klasa ukrywająca (dodawana/usuwana przez JS) */
#cookie-banner.translate-y-full {
    transform: translateY(110%) !important;
}

/* Fix dla paddingów w inputach */
.px-5 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}