.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(7, 24, 44, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
    color: var(--ink);
    font-family: var(--font-display);
    text-align: center;
    padding: 18px 20px;
    z-index: 1000;
}

.cookie-consent p {
    font-size: 0.95em;
    color: var(--ink-soft);
}

.cookie-consent .cookie-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent button {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 20px;
    cursor: pointer;
    margin: 5px;
    border: 1.5px solid var(--phosphor);
    border-radius: 4px;
    transition: background-color .2s, color .2s, box-shadow .2s, transform .15s;
}

/* Elfogad mindent — elsődleges, tömör foszfor (retro) */
.all {
    background-color: var(--phosphor);
    color: var(--bg);
    border-color: var(--phosphor);
}

/* Csak a szükséges — körvonalas */
.necessary {
    background-color: transparent;
    color: var(--phosphor);
    border-color: var(--phosphor);
}

/* Elutasít mindent — visszafogott körvonal */
.reject {
    background-color: transparent;
    color: var(--ink-soft);
    border-color: var(--line);
}

.hidden {
    display: none;
}

.all:hover {
    background-color: var(--phosphor);
    box-shadow: 0 0 28px rgba(126, 224, 200, 0.5);
    transform: translateY(-2px);
}

.necessary:hover {
    background-color: var(--phosphor);
    color: var(--bg);
    box-shadow: 0 0 24px rgba(126, 224, 200, 0.35);
    transform: translateY(-2px);
}

.reject:hover {
    color: var(--phosphor);
    border-color: var(--phosphor);
    background-color: rgba(126, 224, 200, 0.06);
}


.cookie-consent a {
    font-family: var(--font-mono);
    background-color: transparent;
    color: var(--phosphor);
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent a:hover {
    text-decoration: underline;
}

/* Reszponzív stílusok */
@media (max-width: 1024px) {
    .cookie-consent .cookie-content {
        flex-direction: column;
        align-items: center;
    }

    .cookie-consent .button-group {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .cookie-consent .cookie-content {
        flex-direction: column;
        align-items: center;
    }

    .cookie-consent .button-group {
        flex-direction: column;
        width: 100%;
    }

    .cookie-consent button {
        width: 100%;
        margin: 5px 0;
    }
}