/* VIP page (owner, 2026-10-22): a hero with the period switch and the price, then three cards of bonuses. */

.vipx {
    display: grid;
    gap: 18px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ------------------------------------------------------------------ hero */

.vipx-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 340px);
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    border: 1px solid rgba(240, 198, 116, .32);
    border-radius: 16px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(240, 198, 116, .16), transparent 55%),
        radial-gradient(90% 120% at 100% 100%, rgba(160, 60, 20, .18), transparent 60%),
        linear-gradient(180deg, rgba(15, 14, 15, .95), rgba(8, 8, 8, .95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 22px 44px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.vipx-hero.is-active {
    border-color: rgba(240, 198, 116, .65);
}

.vipx-hero__emblem {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(240, 160, 60, .35));
}

.vipx-hero__kicker {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f5d58c, #c58c32);
    color: #1a1208;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vipx-hero__title {
    margin: 8px 0 4px;
    color: var(--modern-gold, #f0c674);
    font-size: 56px;
    line-height: 1;
    letter-spacing: .04em;
    text-shadow: 0 4px 22px rgba(240, 160, 60, .35);
}

.vipx-hero__sub {
    margin: 0;
    max-width: 460px;
    color: rgba(238, 242, 255, .78);
    font-size: 14px;
    line-height: 1.5;
}

.vipx-hero__state {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 14px;
    color: rgba(238, 242, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.vipx-hero.is-active .vipx-hero__status {
    color: var(--modern-gold, #f0c674);
}

.vipx-hero__coins b {
    color: var(--modern-gold, #f0c674);
}

.vipx-hero__coins img,
.vipx-price__row img {
    vertical-align: middle;
}

/* ------------------------------------------------------------------ buy box */

.vipx-buy {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(240, 198, 116, .22);
    border-radius: 14px;
    background: rgba(0, 0, 0, .35);
}

.vipx-periods {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
}

.vipx-period {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    border-radius: 999px;
    color: rgba(238, 242, 255, .72);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.vipx-period input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vipx-period em {
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(102, 209, 158, .16);
    color: #66d19e;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.vipx-period:hover {
    color: #fff;
}

.vipx-period:has(input:checked) {
    background: linear-gradient(180deg, #f5d58c, #c58c32);
    color: #1a1208;
}

.vipx-period:has(input:checked) em {
    background: rgba(26, 18, 8, .85);
    color: #f5d58c;
}

.vipx-period:has(input:focus-visible) {
    outline: 2px solid #f5d58c;
    outline-offset: 2px;
}

.vipx-price {
    display: none;
    gap: 6px;
    text-align: center;
}

.vipx-price__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vipx-price__row strong {
    color: #fff;
    font-size: 42px;
    line-height: 1;
}

.vipx-price__row s {
    color: rgba(255, 125, 125, .8);
    font-size: 16px;
    font-weight: 800;
}

.vipx-price small {
    color: rgba(238, 242, 255, .6);
    font-size: 12px;
    font-weight: 700;
}

.vipx-price__buy {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #f5d58c, #c58c32);
    box-shadow: 0 8px 22px rgba(240, 160, 60, .28);
    color: #1a1208;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter .15s, transform .15s;
}

.vipx-price__buy:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.vipx-price__buy[disabled] {
    opacity: .45;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.vipx-price__note {
    color: #ffb4a8;
    font-size: 12px;
    font-weight: 800;
}

.vipx-price__note--link {
    text-decoration: underline;
}

/* ------------------------------------------------------------------ bonuses */

.vipx-title {
    margin: 8px 0 0;
    color: #eef2ff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.vipx-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(240, 198, 116, .2);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(14, 13, 14, .94), rgba(8, 8, 8, .94));
    overflow: hidden;
}

.vipx-group {
    padding: 20px 20px 16px;
}

.vipx-group + .vipx-group {
    border-left: 1px solid rgba(255, 255, 255, .07);
}

.vipx-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.vipx-group__head img {
    flex: none;
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 1px solid rgba(240, 198, 116, .25);
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    object-fit: contain;
}

.vipx-group__head h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.vipx-group__head small {
    color: rgba(238, 242, 255, .6);
    font-size: 12px;
}

.vipx-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vipx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.vipx-row:last-child {
    border-bottom: 0;
}

.vipx-row__name {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.vipx-row__name b {
    color: #eef2ff;
    font-size: 14px;
}

.vipx-row__name small {
    color: rgba(238, 242, 255, .5);
    font-size: 11px;
    line-height: 1.35;
}

.vipx-row.is-highlight .vipx-row__name b {
    color: var(--modern-gold, #f0c674);
}

.vipx-val {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
}

.vipx-val i {
    color: rgba(238, 242, 255, .5);
    font-style: normal;
    font-weight: 700;
}

.vipx-val span {
    color: rgba(238, 242, 255, .35);
}

.vipx-val b {
    color: var(--modern-gold, #f0c674);
    font-weight: 900;
}

.vipx-only {
    flex: none;
    padding: 3px 9px;
    border: 1px solid rgba(240, 198, 116, .45);
    border-radius: 999px;
    color: var(--modern-gold, #f0c674);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ narrow screens */

@media (max-width: 980px) {
    .vipx-hero {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .vipx-buy {
        grid-column: 1 / -1;
    }

    .vipx-groups {
        grid-template-columns: 1fr;
    }

    .vipx-group + .vipx-group {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .07);
    }
}

@media (max-width: 560px) {
    .vipx-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 20px 16px;
        text-align: center;
    }

    .vipx-hero__emblem {
        width: 110px;
        height: 110px;
    }

    .vipx-hero__state {
        justify-content: center;
    }

    .vipx-buy {
        width: 100%;
    }

    .vipx-group {
        padding: 16px;
    }
}
