/* Cookie notice bar, shared across all pages. Theme-neutral so it works on
   both the homepage theme and the game-page glassmorphism theme. */

#qp-cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(18, 18, 32, 0.7);
    color: #eef0f5;
    font-family: 'Inter', system-ui, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 20px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.qp-cookie-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.qp-cookie-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #dfe2ec;
    margin: 0;
    flex: 1 1 320px;
}

.qp-cookie-text a {
    color: #ffb089;
    text-decoration: underline;
    font-weight: 600;
}

.qp-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.qp-cookie-btn {
    background: #fa5d19;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 9px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.qp-cookie-btn:hover {
    background: #e04c10;
}

.qp-cookie-btn:focus-visible,
.qp-cookie-text a:focus-visible {
    outline: 2px solid #ffb089;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .qp-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .qp-cookie-actions {
        width: 100%;
    }

    .qp-cookie-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #qp-cookie-notice {
        animation: none;
    }
}
