/* GDPR Consent Banner */
.gdpr-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.gdpr-consent-banner.show {
    transform: translateY(0);
}

.gdpr-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-consent-text {
    flex: 1;
    min-width: 300px;
}

.gdpr-consent-text h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.gdpr-consent-text p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.gdpr-consent-text a {
    color: var(--primary, #7c3aed);
    text-decoration: none;
}

.gdpr-consent-text a:hover {
    text-decoration: underline;
}

.gdpr-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gdpr-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gdpr-btn-accept {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
}

.gdpr-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.gdpr-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gdpr-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.gdpr-btn-settings {
    background: transparent;
    color: var(--primary, #7c3aed);
    border: 1px solid var(--primary, #7c3aed);
}

.gdpr-btn-settings:hover {
    background: var(--primary, #7c3aed);
    color: white;
}

/* Preference Modal */
.gdpr-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-preferences-modal.show {
    display: flex;
}

.gdpr-preferences-content {
    background: var(--background, #0f0f0f);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
}

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

.gdpr-preferences-header h2 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.gdpr-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-close:hover {
    color: #fff;
}

.gdpr-category {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gdpr-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gdpr-category h3 {
    color: #fff;
    margin: 0;
    font-size: 16px;
}

.gdpr-category p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.gdpr-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #333;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.gdpr-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gdpr-toggle input {
    display: none;
}

.gdpr-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.gdpr-toggle input:checked + .gdpr-toggle-slider {
    transform: translateX(24px);
}

.gdpr-toggle input:checked ~ .gdpr-toggle {
    background: var(--primary, #7c3aed);
}

.gdpr-preferences-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gdpr-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gdpr-consent-actions {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    
    .gdpr-btn {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
    }
    
    .gdpr-preferences-content {
        margin: 10px;
        padding: 20px;
    }
    
    .gdpr-preferences-actions {
        flex-direction: column;
    }
}