/* Cookie consent — compact, inspired by contact-split */

.cookie-consent {
    --cc-bg: #0a0a0a;
    --cc-border: rgba(255, 255, 255, 0.06);
    --cc-muted: #9ca3af;
    --cc-green: #dbf227;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: var(--cc-bg);
    border-top: 1px solid var(--cc-border);
    overflow: hidden;
}

/* subtle contact-style circle accent */
.cookie-consent::before {
    content: '';
    position: absolute;
    width: 11rem;
    height: 11rem;
    right: -3.5rem;
    top: -6rem;
    border-radius: 50%;
    border: 1px solid rgba(219, 242, 39, 0.28);
    pointer-events: none;
    opacity: 0.7;
}

.cookie-consent__inner {
    position: relative;
    z-index: 1;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
}

.cookie-consent__copy {
    flex: 1 1 14rem;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
}

.cookie-consent__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.cookie-consent__dot {
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    background: var(--cc-green);
    flex-shrink: 0;
}

.cookie-consent__text {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--cc-muted);
}

.cookie-consent__text a {
    color: #e5e7eb;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(219, 242, 39, 0.4);
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: var(--cc-green);
    text-decoration-color: var(--cc-green);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: Poppins, Inter, system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 0.375rem;
    min-height: 2.25rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.cookie-consent__btn:focus-visible {
    outline: 2px solid var(--cc-green);
    outline-offset: 2px;
}

/* ghost ≈ light contact panel check / secondary */
.cookie-consent__btn--ghost {
    background: transparent;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-consent__btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

/* primary ≈ contact submit weight, neon on dark */
.cookie-consent__btn--primary {
    background: var(--cc-green);
    color: #0a0a0a;
}

.cookie-consent__btn--primary:hover {
    background: #e7f75a;
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent__copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1 1 0;
        text-align: center;
    }
}
