:root{
    --bg:#050505;
    --panel:#111;
    --panel-2:#080808;
    --red:#e50914;
    --red-soft:rgba(229,9,20,.24);
    --gold:#f2b84b;
    --gold-soft:rgba(242,184,75,.30);
    --text:#fff;
    --muted:#aaa;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

html,
body{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
}

body{
    min-height:100vh;
    min-height:100dvh;
    padding:18px;
    color:var(--text);
    font-family:Arial,sans-serif;
    background:
        radial-gradient(circle at top left,rgba(229,9,20,.28),transparent 34%),
        radial-gradient(circle at top right,rgba(242,184,75,.12),transparent 30%),
        linear-gradient(135deg,#000,#120000 48%,#000);
    overflow-y:auto;
    touch-action:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:none;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:linear-gradient(to bottom,rgba(0,0,0,.16),rgba(0,0,0,.74));
    z-index:-1;
}

button{
    font-family:inherit;
}

.vip-page{
    width:min(100%,980px);
    margin:0 auto;
    padding-top:42px;
}

.hero-card,
.benefit-strip,
.plan,
.fine-note,
.payment-dialog{
    border:1px solid rgba(229,9,20,.20);
    background:
        linear-gradient(155deg,rgba(20,20,20,.94),rgba(7,7,7,.98));
    box-shadow:
        0 10px 24px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.045);
}

.hero-card{
    padding:18px;
    border-radius:22px;
    margin-bottom:12px;
}

.brand-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:11px;
}

.vip-logo{
    flex:0 0 auto;
    width:54px;
    height:54px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid rgba(229,9,20,.65);
    box-shadow:0 0 18px rgba(229,9,20,.26);
}

.label{
    display:inline-block;
    margin-bottom:5px;
    color:var(--gold);
    font-size:11px;
    font-weight:900;
    letter-spacing:.8px;
}

.hero-card h1{
    font-size:clamp(25px,6vw,40px);
    line-height:1.05;
    letter-spacing:-.8px;
}

.hero-card p{
    color:#c7c7c7;
    font-size:14px;
    line-height:1.55;
}

.benefit-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:12px;
    border-radius:20px;
    margin-bottom:12px;
}

.benefit-item{
    display:flex;
    align-items:flex-start;
    gap:8px;
    min-width:0;
    padding:11px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:15px;
    background:rgba(0,0,0,.23);
}

.benefit-item > span{
    flex:0 0 auto;
    width:20px;
    height:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(229,9,20,.18);
    border:1px solid rgba(242,184,75,.24);
    color:var(--gold);
    font-size:11px;
    font-weight:900;
}

.benefit-item div{
    min-width:0;
}

.benefit-item strong{
    display:block;
    margin-bottom:4px;
    font-size:13px;
    line-height:1.15;
}

.benefit-item small{
    display:block;
    color:#aaa;
    font-size:11.5px;
    line-height:1.35;
}

.plans{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.plan{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:150px;
    padding:16px;
    border-radius:20px;
}

.plan::after{
    content:"";
    position:absolute;
    right:-46px;
    bottom:-58px;
    width:130px;
    height:130px;
    border-radius:50%;
    background:rgba(229,9,20,.15);
    pointer-events:none;
}

.plan.featured{
    border-color:rgba(242,184,75,.42);
    background:
        radial-gradient(circle at right,rgba(242,184,75,.15),transparent 40%),
        radial-gradient(circle at left,rgba(229,9,20,.15),transparent 44%),
        linear-gradient(155deg,rgba(24,12,6,.96),rgba(7,7,7,.98));
}

.plan-head,
.plan p,
.plan-buy{
    position:relative;
    z-index:1;
}

.plan-head{
    width:100%;
    min-width:0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.plan h2{
    min-width:0;
    color:#fff;
    font-size:18px;
    line-height:1.15;
    letter-spacing:-.25px;
}

.tag{
    flex:0 0 auto;
    margin-top:1px;
    padding:5px 9px;
    border:1px solid rgba(242,184,75,.40);
    border-radius:999px;
    background:
        linear-gradient(180deg,rgba(242,184,75,.16),rgba(242,184,75,.06)),
        rgba(8,8,8,.88);
    color:#ffd98a;
    font-size:10px;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.plan p{
    color:var(--muted);
    font-size:13px;
    line-height:1.4;
}

.plan-buy{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:18px;
}

.price-value{
    display:inline-flex;
    align-items:baseline;
    gap:5px;
    color:var(--gold);
    font-size:25px;
    line-height:1;
    white-space:nowrap;
    text-shadow:0 0 13px rgba(242,184,75,.15);
}

.price-value span{
    color:#ffe9b6;
    font-size:12px;
    font-weight:900;
}

.plan button,
.payment-options button{
    flex:0 0 auto;
    min-width:100px;
    min-height:42px;
    padding:11px 17px;
    border:1px solid rgba(229,9,20,.28);
    border-radius:999px;
    color:#fff;
    background:
        linear-gradient(180deg,rgba(229,9,20,.14),rgba(229,9,20,.05)),
        rgba(8,8,8,.90);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
    cursor:pointer;
    font-size:13px;
    font-weight:900;
    transition:transform .16s ease,filter .16s ease,border-color .16s ease;
}

.plan button:active,
.payment-options button:active,
.payment-close:active{
    transform:scale(.98);
}

.fine-note{
    margin-top:12px;
    padding:12px 14px;
    border-radius:16px;
    color:#aaa;
    font-size:12.5px;
    line-height:1.55;
}

.payment-modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.76);
    z-index:9999;
}

.payment-modal.is-open{
    display:flex;
}

.payment-dialog{
    position:relative;
    width:min(380px,100%);
    padding:22px;
    border-radius:22px;
}

.payment-close{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    background:rgba(255,255,255,.06);
    color:#fff;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}

.payment-dialog h3{
    margin-bottom:8px;
    font-size:22px;
}

.payment-dialog p{
    margin-bottom:16px;
    color:#ccc;
    font-size:14px;
    line-height:1.6;
}

.payment-options{
    display:grid;
    gap:10px;
}

.payment-options button{
    width:100%;
    min-height:50px;
    text-align:left;
}

.payment-options button small{
    display:block;
    margin-top:4px;
    color:#aaa;
    font-size:11px;
    font-weight:600;
}

.payment-options button.midtrans{
    border-color:rgba(242,184,75,.34);
    background:
        linear-gradient(180deg,rgba(242,184,75,.14),rgba(229,9,20,.06)),
        rgba(8,8,8,.90);
}

.payment-options button.secondary{
    border-color:rgba(242,184,75,.22);
}

.payment-options button:disabled,
.payment-options button.is-disabled{
    opacity:.52;
    cursor:not-allowed;
    filter:grayscale(.18);
    border-color:rgba(255,255,255,.10);
    background:
        linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03)),
        rgba(8,8,8,.84);
}

.payment-options button:disabled small,
.payment-options button.is-disabled small{
    color:#888;
}


@media(hover:hover){
    .plan button:hover,
    .payment-options button:hover{
        border-color:rgba(242,184,75,.42);
        filter:brightness(1.06);
    }
}

@media(max-width:760px){
    *{
        animation:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }

    .vip-page{
        padding-top:38px;
    }

    .benefit-strip{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .plans{
        grid-template-columns:1fr;
        gap:10px;
    }

    .plan{
        min-height:138px;
        padding:15px;
        border-radius:18px;
    }

    .plan h2{
        font-size:17px;
    }

    .plan p{
        font-size:13px;
    }

    .price-value{
        font-size:24px;
    }
}

@media(max-width:380px){
    body{
        padding:15px;
    }

    .hero-card{
        padding:16px;
    }

    .benefit-strip{
        gap:8px;
        padding:10px;
    }

    .benefit-item{
        padding:9px;
        gap:7px;
    }

    .benefit-item > span{
        width:18px;
        height:18px;
        font-size:10px;
    }

    .benefit-item strong{
        font-size:12.5px;
    }

    .benefit-item small{
        font-size:10.8px;
    }

    .plan{
        min-height:132px;
        padding:14px;
    }

    .plan-head{
        gap:7px;
    }

    .tag{
        padding:5px 7px;
        font-size:9px;
    }

    .price-value{
        font-size:22px;
    }

    .plan button{
        min-width:88px;
        padding:10px 13px;
    }
}

@media(max-width:330px){
    .plan-buy{
        align-items:stretch;
        flex-direction:column;
        gap:10px;
    }

    .plan button{
        width:100%;
    }
}
