@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Instrument+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --font-sans: 'Instrument Sans', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-mono: 'Courier New', Courier, monospace;

    --bg: rgb(21, 19, 19);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.45);
    --dim: rgba(255, 255, 255, 0.2);
    --surface: rgb(28, 26, 26);
    --border: rgba(255, 255, 255, 0.1);
    --accent: #aeb09d;

    --padding-x: clamp(24px, 5vw, 64px);
}

.cookie-consent {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    z-index: 9999;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
}
.cookie-consent__close:hover {
    opacity: 1;
}

.cookie-consent__content {
    padding-right: 2rem;
}

.cookie-consent__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}

.cookie-consent__text {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
}

.cookie-consent__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-consent__btn {
    flex: 1;
    min-height: 48px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.cookie-consent__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.cookie-consent__btn--primary {
    background: var(--text);
    color: rgb(21, 19, 19);
    border: 1px solid var(--text);
}

.cookie-consent__btn--primary:hover {
    background: var(--accent);
    border-color: var(--accent);:;
}

.cookie-consent__link {
    display: inline-block;
    margin-top: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text);
    opacity: 0.78;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: opacity 0.2s ease, border-color 0.2s ease;
    display: none;
}

.cookie-consent__link:hover {
    opacity: 1;
}

    @media (max-width: 640px) {
    .cookie-consent {
        right: 1rem;
        left: 1rem;
        width: auto;
        bottom: 1rem;
    }
}

