/* Privacy Banner Styling - Premium Glassmorphism & Tech Aesthetic */
#privacy-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: 95%;
    max-width: 480px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid var(--accent-red, #E21E26);
    padding: 1.25rem;
    z-index: 999999;
    color: #FFFFFF;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

#privacy-banner.show {
    transform: translateX(-50%) translateY(0);
}

.privacy-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 0.35rem;
}

.privacy-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.privacy-content p a {
    color: var(--accent-red, #E21E26);
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 30, 38, 0.2);
    transition: all 0.3s;
}

.privacy-content p a:hover {
    border-bottom: 1px solid var(--accent-red);
    color: #FFFFFF;
}

.privacy-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.privacy-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.6rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-accept {
    background: #FFFFFF;
    color: #000000;
}

.btn-accept:hover {
    background: var(--accent-red, #E21E26);
    color: #FFFFFF;
}

.btn-settings {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Settings Modal (Simplified for now) */
#privacy-settings {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-info h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.setting-info p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Custom Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-red, #E21E26);
}

input:checked+.slider:before {
    transform: translateX(16px);
}

input:disabled+.slider {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    #privacy-banner {
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: none;
        border-radius: 12px 12px 0 0;
        /* Slightly tighter corners */
        padding: 1rem 1rem 1.5rem 1rem;
        /* Reduced top/side padding */
        gap: 0.75rem;
        /* Tighter gap */
    }

    .privacy-content h3 {
        font-size: 1.1rem;
        /* Smaller heading */
        margin-bottom: 0.25rem;
    }

    .privacy-content p {
        font-size: 0.75rem;
        /* Smaller text */
        line-height: 1.4;
    }

    .privacy-btn {
        padding: 0.5rem 0.6rem;
        /* More compact buttons */
        font-size: 0.6rem;
    }

    #privacy-banner.show {
        transform: translateY(0);
    }
}