/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;

    width: 320px;
    padding: 24px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    /* Super minimal */

    color: var(--text-color);
    font-family: var(--font-main);

    transform: translateY(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] #cookie-banner {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Animation Classes */
#cookie-banner.slide-up {
    transform: translateY(0);
    opacity: 1;
}

#cookie-banner.fade-out {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Content Layout */
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-content p {
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
    color: var(--text-muted);
}

/* Button (Minimal Outline) */
.cookie-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 10px 24px;
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    align-self: center;
    /* Center align button */
    width: 100%;
    /* Full width for better touch target and balance */
    text-align: center;
}

.cookie-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        /* On mobile, usually full width or bottom sheet style, 
           but user requested "not full width, proper margin" */
        bottom: 20px;
        left: 20px;
        width: calc(100% - 40px);
        /* 20px margin each side */
        max-width: 320px;
        /* Still keep it small if screen is large phone */
    }
}