/* =========================================
   1. RESET & MAIN FOOTER (DESIGN ORIGINAL)
   ========================================= */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.main-footer {
    background: linear-gradient(135deg, #2e0854 0%, #000000 100%);
    color: #ffffff;
    padding: 25px 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(60deg, transparent, transparent 35px, rgba(255, 255, 255, 0.09) 36px, rgba(255, 255, 255, 0.09) 70px),
        repeating-linear-gradient(-60deg, transparent, transparent 35px, rgba(187, 134, 252, 0.12) 36px, rgba(187, 134, 252, 0.12) 70px);
    background-size: 70px 121px;
    opacity: 0.5;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-right a {
    color: #bb86fc !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #d4a5ff !important;
}

/* =========================================
   2. COOKIE BANNER (BARA DE JOS)
   ========================================= */
.cookie-banner-overlay {
    position: fixed;
    bottom: -400px;
    left: 0;
    right: 0;
    z-index: 9000;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 15px;
}

.cookie-banner-overlay.active { bottom: 0; }

.cookie-banner-box {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(20, 5, 40, 0.98);
    border: 1px solid #bb86fc;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
}

.cookie-text p {
    color: #fff !important;
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none !important;
}

.learn-more-link {
    color: #bb86fc !important;
    text-decoration: none !important;
    font-weight: 700;
}

.c-btn-pri, .c-btn-sec {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.c-btn-pri { background: #bb86fc; color: #1a0533; border: none; }
.c-btn-sec { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); margin-right: 10px; }

/* =========================================
   3. PANORAMIC COOKIE PREFERENCES
   ========================================= */
.cookie-modal-root {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-modal-root.active { display: flex; }

.cookie-modal-card {
    background: #1a0533;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    border: 1px solid #bb86fc;
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    box-sizing: border-box;
}

.cookie-modal-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #bb86fc;
    text-align: center;
}

.modal-description {
    font-size: 1rem;
    color: #ccc !important;
    text-align: center;
    margin-bottom: 35px;
    text-decoration: none !important;
}

.c-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(187, 134, 252, 0.1);
}

.c-info strong { font-size: 1.1rem; color: #fff; display: block; margin-bottom: 5px; }
.c-info span { font-size: 0.9rem; color: #aaa !important; }

/* ALWAYS ACTIVE & SWITCH VERDE */
.toggle-label {
    font-size: 0.85rem;
    color: #2ecc71 !important;
    font-weight: 800;
    text-transform: uppercase;
}

.c-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.c-switch input { opacity: 0; width: 0; height: 0; }
.c-slider {
    position: absolute; inset: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}
.c-slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px; left: 4px; bottom: 4px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .c-slider { background-color: #2ecc71; }
input:checked + .c-slider:before { transform: translateX(24px); }

#btn-save-settings {
    width: 100%;
    margin-top: 25px;
    padding: 18px;
    background: #bb86fc;
    color: #1a0533;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

/* =========================================
   4. OPTIMIZARE MOBIL (RESPONSIVE)
   ========================================= */
@media (max-width: 768px) {
    .cookie-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .c-btn-sec { margin-right: 0; margin-bottom: 10px; width: 100%; }
    .c-btn-pri { width: 100%; }

    .cookie-modal-card {
        padding: 30px 20px;
        max-width: 95%;
    }

    .cookie-modal-card h3 { font-size: 1.5rem; }

    .c-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}