/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 95%;
    max-width: 900px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 179, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner-content p {
    color: #a0a0b0;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.cookie-banner-content strong {
    color: #fff;
    font-weight: 600;
}

.cookie-banner-content a {
    color: #ffb300;
    text-decoration: none;
    margin-left: 5px;
}

.cookie-banner-content a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #ffb300;
    color: #000;
}

.cookie-btn-primary:hover {
    background: #ffc133;
}

.cookie-btn-outline {
    background: transparent;
    color: #a0a0b0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-outline:hover {
    color: #fff;
    border-color: #fff;
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 24px;
    }
    .cookie-banner-content p {
        text-align: left;
    }
}

/* Modal Overlay */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal {
    background: #1c1c22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 24px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cookie-modal-overlay.active .cookie-modal {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.cookie-modal-close {
    background: transparent;
    border: none;
    color: #a0a0b0;
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-preference-info h4 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 0.95rem;
}

.cookie-preference-info p {
    margin: 0;
    color: #8a8a9a;
    font-size: 0.8rem;
}

/* Custom Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 15px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.cookie-toggle .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .slider {
    background-color: #ffb300;
}

.cookie-toggle input:disabled + .slider {
    background-color: #555;
    cursor: not-allowed;
}

.cookie-toggle input:checked + .slider:before {
    transform: translateX(20px);
}

.cookie-modal-footer {
    margin-top: 24px;
}
