/* COOKIE УВЕДОМЛЕНИЕ */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #38382d;
    color: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-notification.show {
    transform: translateY(0);
    opacity: 1;
    display: block;
    animation: cookieSlideUp 0.6s ease forwards;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cookie-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.cookie-link {
    color: #d4c9bb;
    text-decoration: underline;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cookie-link:hover {
    color: white;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Jura', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #4CAF50;
    color: white;
}

.cookie-btn-accept:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .cookie-notification {
        bottom: max(82px, calc(76px + env(safe-area-inset-bottom)));
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        box-sizing: border-box;
        padding: 14px;
        border-radius: 18px;
    }
    
    .cookie-notification-content {
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }
    
    .cookie-text {
        font-size: 0.78rem;
        line-height: 1.45;
        text-align: left;
    }
    
    .cookie-actions {
        width: 100%;
        display: block;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 11px 16px;
        font-size: 0.82rem;
        white-space: normal;
    }

    .cookie-link {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
