/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(80, 146, 222, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

.cookie-popup-text {
    flex: 1;
    min-width: 0;
}

.cookie-popup-text p {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cookie-popup-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 44px;
    box-sizing: border-box;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: scale(1.03);
}

.cookie-accept {
    background: #FFFFFF;
    color: #5092DE;
}

.cookie-accept:hover {
    background: #F0F7FF;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cookie-decline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-popup {
        padding: 20px 24px;
    }

    .cookie-popup-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-popup-text p {
        font-size: 16px;
    }

    .cookie-btn {
        padding: 14px 32px;
        font-size: 15px;
        min-width: 140px;
        border-radius: 100px;
    }

    .cookie-popup-buttons {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-popup {
        padding: 24px;
    }

    .cookie-popup-text p {
        font-size: 17px;
        line-height: 1.6;
    }

    .cookie-btn {
        padding: 16px 28px;
        font-size: 16px;
        min-width: 160px;
        min-height: 48px;
        border-radius: 100px;
    }

    .cookie-popup-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        max-width: 300px;
    }
}