/* XSTMZ Age Gate */

#xstmz-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-sizing: border-box;
}

#xstmz-age-gate.xstmz-age-gate-visible {
    display: flex;
}

.xstmz-age-card {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    border-radius: 12px;
    background: #171717;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.xstmz-age-logo {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.xstmz-age-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.xstmz-age-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #cfcfcf;
}

.xstmz-age-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xstmz-age-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
}

.xstmz-age-btn-primary {
    background: #fff;
    color: #111;
}

.xstmz-age-btn-secondary {
    background: #333;
    color: #fff;
}

.xstmz-age-btn:hover {
    opacity: 0.9;
}

.xstmz-age-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.xstmz-age-option {
    position: relative;
}

.xstmz-age-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.xstmz-age-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px;
    border: 2px solid #3a3a3a;
    border-radius: 6px;
    background: #222;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}

.xstmz-age-option input:checked + label {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.xstmz-age-screen {
    display: none;
}

.xstmz-age-screen.xstmz-age-screen-active {
    display: block;
}

body.xstmz-age-locked {
    overflow: hidden !important;
}

@media (max-width: 600px) {
    #xstmz-age-gate {
        padding: 14px;
    }

    .xstmz-age-card {
        padding: 24px 18px;
    }

    .xstmz-age-logo {
        font-size: 26px;
    }

    .xstmz-age-title {
        font-size: 21px;
    }

    .xstmz-age-options {
        grid-template-columns: 1fr;
    }
}