/*
 * La Musica 21+ Age Gate
 * Celowo bez zewnętrznych fontów i bibliotek.
 */

html.lm-age-verified #lm-age-gate {
    display: none !important;
}

body.lm-age-gate-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.lm-age-gate,
.lm-age-gate * {
    box-sizing: border-box;
}

.lm-age-gate {
    --lm-age-bg: #230403;
    --lm-age-bg-2: #3a0805;
    --lm-age-panel: rgba(47, 7, 5, .96);
    --lm-age-gold: #f0a849;
    --lm-age-gold-light: #fbc25d;
    --lm-age-cream: #f3e6d0;
    --lm-age-muted: #c9b6a2;
    --lm-age-line: rgba(240, 168, 73, .34);

    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding:
        max(22px, env(safe-area-inset-top))
        max(18px, env(safe-area-inset-right))
        max(22px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));

    font-family: Montserrat, Arial, sans-serif;
    color: var(--lm-age-cream);
}

.lm-age-gate[hidden] {
    display: none !important;
}

.lm-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(195, 76, 22, .20), transparent 32%),
        radial-gradient(circle at 86% 85%, rgba(240, 168, 73, .11), transparent 28%),
        linear-gradient(145deg, rgba(17, 2, 2, .985), rgba(35, 4, 3, .985) 52%, rgba(17, 2, 2, .99));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lm-age-gate__backdrop::before,
.lm-age-gate__backdrop::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(240, 168, 73, .15);
    border-radius: 50%;
}

.lm-age-gate__backdrop::before {
    width: min(62vw, 680px);
    height: min(62vw, 680px);
    top: -34vw;
    right: -22vw;
}

.lm-age-gate__backdrop::after {
    width: min(42vw, 430px);
    height: min(42vw, 430px);
    left: -22vw;
    bottom: -22vw;
}

.lm-age-gate__panel {
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    padding: clamp(34px, 6vw, 62px);
    overflow: hidden;
    border: 1px solid var(--lm-age-line);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(75, 13, 9, .42), rgba(24, 3, 2, .34)),
        var(--lm-age-panel);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .58),
        inset 0 0 70px rgba(240, 168, 73, .035);
    text-align: center;
}

.lm-age-gate__panel::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -150px;
    top: -150px;
    border: 1px solid rgba(240, 168, 73, .16);
    border-radius: 50%;
}

.lm-age-gate__brand {
    margin: 0 auto 30px;
    color: var(--lm-age-gold-light);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.lm-age-gate__brand::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin: 0 12px 3px 0;
    background: currentColor;
}

.lm-age-gate__badge {
    width: 116px;
    height: 116px;
    margin: 0 auto 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lm-age-gold);
    border-radius: 50%;
    color: var(--lm-age-gold-light);
    box-shadow:
        0 0 0 8px rgba(240, 168, 73, .035),
        0 18px 44px rgba(0, 0, 0, .24);
    font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    line-height: 1;
}

.lm-age-gate__badge span {
    font-size: 64px;
}

.lm-age-gate__badge small {
    margin: -30px 0 0 2px;
    font-size: 29px;
}

.lm-age-gate__title {
    margin: 0 0 17px !important;
    padding: 0 !important;
    color: var(--lm-age-cream) !important;
    font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif !important;
    font-size: clamp(43px, 8vw, 68px) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
}

.lm-age-gate__description {
    max-width: 470px;
    margin: 0 auto 30px !important;
    color: var(--lm-age-muted) !important;
    font-size: clamp(15px, 2vw, 18px) !important;
    line-height: 1.72 !important;
}

.lm-age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lm-age-gate__btn {
    min-height: 56px;
    padding: 14px 17px;
    border: 1px solid var(--lm-age-gold);
    border-radius: 3px;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: .085em;
    text-transform: uppercase;
    transition:
        transform .18s ease,
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.lm-age-gate__btn:hover,
.lm-age-gate__btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.lm-age-gate__btn--yes {
    background: var(--lm-age-gold);
    color: #260503;
}

.lm-age-gate__btn--yes:hover,
.lm-age-gate__btn--yes:focus-visible {
    background: var(--lm-age-gold-light);
    border-color: var(--lm-age-gold-light);
}

.lm-age-gate__btn--no {
    background: transparent;
    color: var(--lm-age-cream);
}

.lm-age-gate__btn--no:hover,
.lm-age-gate__btn--no:focus-visible {
    background: rgba(240, 168, 73, .09);
    color: var(--lm-age-gold-light);
}

.lm-age-gate__note {
    margin: 22px auto 0 !important;
    color: rgba(201, 182, 162, .62) !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
}

@media (max-width: 560px) {
    .lm-age-gate {
        align-items: end;
        padding: 12px;
    }

    .lm-age-gate__panel {
        width: 100%;
        padding: 32px 22px 26px;
        border-radius: 22px;
    }

    .lm-age-gate__brand {
        margin-bottom: 22px;
        font-size: 9px;
    }

    .lm-age-gate__badge {
        width: 94px;
        height: 94px;
        margin-bottom: 23px;
    }

    .lm-age-gate__badge span {
        font-size: 54px;
    }

    .lm-age-gate__badge small {
        margin-top: -25px;
        font-size: 24px;
    }

    .lm-age-gate__title {
        font-size: clamp(42px, 13vw, 58px) !important;
    }

    .lm-age-gate__actions {
        grid-template-columns: 1fr;
    }

    .lm-age-gate__btn {
        min-height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lm-age-gate__btn {
        transition: none;
    }
}
