/* =============================================================
 FILE: Cookie-Consent.css
 PURPOSE: Landing cookie consent: full viewport gate until Accept All.

 USED BY:
   - /index.php
 ============================================================= */
html.cookie-gate-active,
body.cookie-gate-active {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.cookie-consent-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200000;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
}

.cookie-consent-gate.cookie-gate-visible {
    display: flex;
}

.cookie-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 0;
}

.cookie-consent-banner {
    position: relative;
    z-index: 1;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 28px;
    transform: translateY(100%);
    transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 -2px 4px rgba(0, 0, 0, 0.02),
        0 -8px 16px rgba(0, 0, 0, 0.04),
        0 -24px 48px rgba(0, 0, 0, 0.06);
}

.cookie-consent-banner.cookie-visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.cookie-consent-text p {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 13px;
    color: #a0a0b0;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
    color: #d0d0e0;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    transition: background-color 220ms cubic-bezier(0.4, 0, 0.2, 1), color 220ms cubic-bezier(0.4, 0, 0.2, 1), border-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    letter-spacing: 0.02em;
}

.cookie-btn-accept {
    background: #ffffff;
    color: #0a0a0f;
}

.cookie-btn-accept:hover {
    background: #e0e0e0;
}

@media (max-width: 640px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
        padding: 12px 22px;
    }
}

@media (max-width: 320px) {
    .cookie-consent-banner {
        padding: 14px 12px;
    }

    .cookie-consent-text {
        min-width: 0;
    }

    .cookie-consent-text h3 {
        font-size: 14px;
    }

    .cookie-consent-text p {
        font-size: 12px;
    }

    .cookie-btn {
        font-size: 12px;
        padding: 10px 16px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cookie-btn {
        min-height: 48px;
        min-width: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }
}
