/* ===== CUSTOM COOKIE BANNER STYLES (Cyber/AI Edition) ===== */

:root {
    --neon-cyan: #00F0FF;
    --neon-purple: #BC13FE;
    --bg-dark-glass: rgba(5, 5, 5, 0.98);
}

/* Główny kontener banera */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark-glass);
    border-top: 2px solid var(--neon-cyan);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(10px);
    /* Efekt szkła */

    /* Ukrywanie/Animacja */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    transform: translateY(100%);
    /* Domyślnie schowany pod ekranem */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* Płynne wyjeżdżanie */
}

/* Klasa dodawana przez JS, żeby pokazać baner */
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

/* Sekcja z tekstem */
.cookie-content {
    flex: 1;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.cookie-title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #cccccc;
}

.cookie-text a {
    color: var(--neon-cyan);
    text-decoration: none;
    border-bottom: 1px dotted var(--neon-cyan);
    transition: color 0.2s ease;
}

.cookie-text a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* Kontener na przyciski */
.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Styl bazowy przycisku */
.btn-cookie {
    padding: 12px 25px;
    border-radius: 2px;
    /* Kanciaste = Cyberpunk */
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    background: transparent;
}

/* Przycisk AKCEPTUJ (Neon Cyan) */
.btn-cookie-accept {
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-cookie-accept:hover {
    background: var(--neon-cyan);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

/* Przycisk ODRZUĆ (Neon Purple) */
.btn-cookie-reject {
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    opacity: 0.8;
}

.btn-cookie-reject:hover {
    opacity: 1;
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
}

/* --- Responsywność (Telefony) --- */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        bottom: 0;
        border-radius: 15px 15px 0 0;
        /* Zaokrąglenie góry na mobilu */
    }

    .cookie-content {
        margin-bottom: 15px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        /* Przyciski jeden pod drugim */
        gap: 12px;
    }

    .btn-cookie {
        width: 100%;
        padding: 14px;
        /* Większe pole dotyku */
    }

    .btn-cookie-reject {
        order: 2;
        /* Odrzuć na samym dole */
        border: none;
        font-size: 12px;
        padding: 8px;
        text-decoration: underline;
        color: #888;
    }

    .btn-cookie-reject:hover {
        background: transparent;
        color: #fff;
        box-shadow: none;
    }
}