#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(244, 63, 94, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.6);
    z-index: 9999;
    /* Initially hidden - will be shown after 1 second */
    transform: translateY(100%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 1s ease-out,
                box-shadow 1s ease-out;
}

#cookie-banner.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    animation: slideUpFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

#cookie-banner.hide {
    transform: translateY(120%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    animation: slideDownFadeOut 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
    animation: pulse 2s infinite;
}

.cookie-text {
    flex: 1;
}

#cookie-banner p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #f1f5f9;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

#accept-cookies, #reject-cookies {
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

#accept-cookies {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

#accept-cookies:hover {
    background: linear-gradient(135deg, #e11d48 0%, #be185d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

#accept-cookies:active {
    transform: translateY(-1px);
}

#reject-cookies {
    background: transparent;
    color: #f1f5f9;
    border: 2px solid #f43f5e;
}

#reject-cookies:hover {
    background: #f43f5e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    #accept-cookies, #reject-cookies {
        flex: 1;
        min-width: 120px;
    }

    #cookie-banner p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    #accept-cookies, #reject-cookies {
        width: 100%;
    }
}

@keyframes slideUpFadeIn {
    0% {
        transform: translateY(100%) scale(0.95);
        opacity: 0;
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0);
    }
    30% {
        opacity: 0.3;
    }
    60% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.6);
    }
}

@keyframes slideDownFadeOut {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.6);
    }
    30% {
        transform: translateY(2%) scale(0.98);
        opacity: 0.8;
    }
    100% {
        transform: translateY(120%) scale(0.85);
        opacity: 0;
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(244, 63, 94, 0.6);
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}
