.analytics-consent {
    position: fixed;
    z-index: 10000;
    right: clamp(16px, 4vw, 48px);
    bottom: clamp(16px, 4vw, 48px);
    left: clamp(16px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(129, 199, 132, 0.4);
    border-radius: 22px;
    background: rgba(24, 28, 25, 0.98);
    color: #eef2ed;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(18px);
}

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

.analytics-consent__copy {
    max-width: 820px;
}

.analytics-consent__copy strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.2;
}

.analytics-consent__copy p {
    margin: 0;
    color: #c7cec8;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
}

.analytics-consent__copy a {
    color: #9bd89e;
}

.analytics-consent__accept {
    flex: 0 0 auto;
    min-width: 180px;
    min-height: 56px;
    padding: 15px 28px;
    border: 0;
    border-radius: 12px;
    background: #4caf50;
    color: #0d160f;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.analytics-consent__accept:hover {
    background: #81c784;
}

.analytics-consent__accept:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .analytics-consent {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .analytics-consent__accept {
        width: 100%;
    }
}
