/* Cookie Consent Banner */
.cookie-consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #ff6b35;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-consent-overlay.visible {
    transform: translateY(0);
}
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
}
.cookie-consent-text a {
    color: #ff6b35;
    text-decoration: underline;
}
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-consent-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}
.cookie-consent-btn:hover {
    transform: scale(1.03);
}
.cookie-consent-btn.accept {
    background: #ff6b35;
    color: #fff;
}
.cookie-consent-btn.accept:hover {
    background: #e55a25;
}
.cookie-consent-btn.reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}
.cookie-consent-btn.reject:hover {
    background: #333;
    color: #fff;
}
.cookie-consent-btn.settings {
    background: transparent;
    color: #aaa;
    border: 1px solid #444;
    font-size: 13px;
    padding: 10px 16px;
}
.cookie-consent-btn.settings:hover {
    background: #222;
    color: #fff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
.cookie-settings-modal.visible {
    display: flex;
}
.cookie-settings-box {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.cookie-settings-box h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #ff6b35;
}
.cookie-category {
    margin-bottom: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.cookie-category-header strong {
    font-size: 15px;
}
.cookie-category p {
    font-size: 13px;
    color: #aaa;
    margin: 0;
    line-height: 1.4;
}
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
}
.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: #444;
    border-radius: 24px;
    transition: 0.3s;
}
.cookie-toggle-slider:before {
    content: "";
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #ff6b35;
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}
.cookie-settings-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
