.card{

    position:relative;

    overflow:hidden;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );


    backdrop-filter:blur(25px);


    border:

        1px solid rgba(255,255,255,.08);


    border-radius:

        28px;


    padding:

        30px;


    min-height:

        170px;


    transition:

        .35s ease;


}


/* мягкое свечение */

.card::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;


    top:-90px;

    right:-90px;


    background:

        radial-gradient(
            circle,
            rgba(168,85,247,.35),
            transparent 70%
        );


    filter:blur(20px);


}


/* наведение */

.card:hover{

    transform:

        translateY(-8px);


    border-color:

        rgba(168,85,247,.35);


    box-shadow:

        0 25px 70px rgba(0,0,0,.45);

}

.card:hover{

    transform:
        translateY(-4px);

    border-color:
        var(--border-hover);

    box-shadow:
        var(--shadow);

}


/* CARD TITLES */

.card-title{

    color:

        rgba(255,255,255,.55);


    font-size:

        12px;


    letter-spacing:

        1.5px;


    text-transform:

        uppercase;


    font-weight:

        600;


    margin-bottom:

        18px;

}

.card-value{

    font-size:

        34px;


    font-weight:

        800;


    letter-spacing:

        -1px;


    background:

        linear-gradient(
            90deg,
            #ffffff,
            #d8b4fe
        );


    -webkit-background-clip:

        text;


    color:

        transparent;

}

/* STATUS */

.status{

    display:
        inline-flex;

    align-items:center;

    gap:8px;

    margin-top:
        15px;

    padding:
        8px 14px;

    border-radius:
        999px;

    background:
        rgba(34,197,94,.12);

    color:
        var(--success);

    font-size:
        14px;

}


.status-dot{

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        var(--success);

}


/* MAIN VPN CARD */

.vpn-card{

    grid-column:
        span 1;

    min-height:
        260px;

}

.qr-card{
    grid-column:span 1;
}


.link-card{
    grid-column:span 2 !important;
}


.vpn-server{

    margin-top:
        30px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}


.server-name{

    font-size:
        32px;

    font-weight:
        700;

}


.server-location{

    color:
        var(--text-secondary);

    margin-top:
        6px;

}


/* CONNECT BUTTON */

.connect-btn{

    margin-top:
        30px;

    width:
        100%;

    height:
        54px;

    border:
        0;

    border-radius:
        14px;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color:
        white;

    font-size:
        16px;

    font-weight:
        600;

    transition:
        var(--transition);

}


.connect-btn:hover{

    transform:
        scale(.97);

    box-shadow:

        0 10px 35px rgba(124,58,237,.45);

}


.secondary-grid .card{

    min-height:150px;

}


.premium-server{

    display:flex;

    align-items:center;

    gap:20px;

    margin-top:25px;

}


.country-flag{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;


    background:

        rgba(255,255,255,.06);


    border-radius:22px;


}


.server-title{

    font-size:32px;

    font-weight:800;

}


.server-subtitle{

    margin-top:6px;

    color:var(--text-secondary);

}


.connection-status{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:30px;

    padding:10px 18px;


    border-radius:999px;


    background:

        rgba(34,197,94,.15);


    color:#22C55E;

    font-weight:600;

}


.connection-status .status-dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#22C55E;

}


.secondary-grid{

    display:grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap:25px;

    margin-top:40px;

}


.secondary-grid .card{

    min-height:140px;

    padding:24px;

}


.secondary-grid .card-value{

    font-size:26px;

}


.secondary-grid .info-row{

    margin-top:15px;

    padding-top:12px;

}


.account-card{

    border-color:
    rgba(168,85,247,.25);

}


.plan-card{

    border-color:
    rgba(168,85,247,.25);

}


.expire-card{

    border-color:
    rgba(168,85,247,.25);

}


/* VPN PAGE */

.vpn-header{

    text-align:center;

    margin-bottom:40px;

}


.vpn-header h1{

    font-size:55px;

    font-weight:900;

    letter-spacing:3px;

}


.vpn-header .void{

    color:white;

}


.vpn-header .vpn{

    background:linear-gradient(
        90deg,
        #a855f7,
        #ec4899
    );

    -webkit-background-clip:text;

    color:transparent;

}



.vpn-header p{

    color:#888;

    font-size:18px;

}





.vpn-container{

    max-width:1000px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(2, 1fr);

    gap:25px;

}




.vpn-container .card{

    background:
    rgba(255,255,255,.08);

    border:

    1px solid rgba(168,85,247,.35);

    backdrop-filter:

    blur(20px);

    border-radius:28px;

    padding:30px;

    box-shadow:

    0 0 40px rgba(168,85,247,.18);

}




.link-card .subscription-box{


    margin-top:20px;

    background:

    rgba(0,0,0,.35);

    padding:18px;

    border-radius:15px;

    color:#c084fc;

    font-size:14px;

    word-break:break-all;

}




.link-card button{


    margin-top:20px;

    padding:14px;

    width:100%;

    border:0;

    border-radius:15px;

    background:

    linear-gradient(
        90deg,
        #9333ea,
        #ec4899
    );

    color:white;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

}


.qr-box{

    margin-top:25px;

    text-align:center;

}


.qr-image{

    width:220px;

    height:220px;

    padding:15px;

    background:white;

    border-radius:20px;

    box-shadow:
    0 0 30px rgba(168,85,247,.35);

}


/* ===== VOIDVPN PREMIUM VPN PAGE ===== */


.vpn-header{

    text-align:center;

    margin-bottom:45px;

}


.vpn-header h1{

    font-size:64px;

    font-weight:900;

    letter-spacing:4px;

    margin:0;

}


.vpn-header .void{

    color:#ffffff;

}


.vpn-header .vpn{

    background:linear-gradient(
        90deg,
        #a855f7,
        #ec4899
    );

    -webkit-background-clip:text;

    color:transparent;

}


.vpn-header p{

    color:#9ca3af;

    font-size:18px;

    margin-top:10px;

}





.vpn-container{

    max-width:650px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:25px;

}





.vpn-container .card{

    background:

    rgba(255,255,255,0.08);


    border:

    1px solid rgba(168,85,247,0.35);


    backdrop-filter:

    blur(25px);


    border-radius:28px;


    padding:30px;


    box-shadow:

    0 0 40px rgba(168,85,247,.18);


    transition:.3s;

}



.vpn-container .card:hover{

    transform:translateY(-5px);

}





.card-title{

    font-size:14px;

    letter-spacing:2px;

    color:#a855f7;

    font-weight:700;

}





.qr-card{

    text-align:center;

}





.qr-box{

    margin-top:25px;

}



.qr-image{

    width:240px;

    height:240px;


    padding:15px;


    background:white;


    border-radius:25px;


    box-shadow:

    0 0 40px rgba(236,72,153,.35);

}



.qr-text{

    margin-top:20px;

    color:#9ca3af;

}





.subscription-box{


    margin-top:20px;


    padding:18px;


    background:

    rgba(0,0,0,.35);


    border-radius:18px;


    color:#d8b4fe;


    font-size:14px;


    word-break:break-all;


}




.link-card button{


    width:100%;


    margin-top:20px;


    padding:15px;


    border:0;


    border-radius:16px;


    background:

    linear-gradient(
        90deg,
        #9333ea,
        #ec4899
    );


    color:white;


    font-size:16px;


    font-weight:700;


    cursor:pointer;


    transition:.3s;

}




.link-card button:hover{

    transform:scale(1.03);

}

.vpn-card{
    grid-column:1 !important;
}

.vpn-card,
.qr-card{

    height:100%;

}

/* VPN GRID FIX */

.vpn-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px !important;
}


.vpn-container .link-card {
    grid-column: span 2 !important;
}


.vpn-container .vpn-card,
.vpn-container .qr-card {
    grid-column: span 1 !important;
}


/* VPN TOP CARDS */

.vpn-container .vpn-card,
.vpn-container .qr-card {

    min-height: 360px;

    display: flex;

    flex-direction: column;

}


.vpn-container .qr-card {

    align-items: center;

    justify-content: center;

    text-align: center;

}


.vpn-container .vpn-card {

    justify-content: space-between;

}



.connection-status {

    display: inline-flex;

    align-items: center;

    gap:10px;

    padding:10px 18px;

    width:max-content;

    border-radius:50px;

    background:rgba(34,197,94,.12);

    color:#4ade80;

    font-weight:600;

}



.status-dot {

    width:10px;

    height:10px;

    border-radius:50%;

    background:#22c55e;

    box-shadow:0 0 15px #22c55e;

}


/* TOAST */

.toast {

    position:fixed;

    right:30px;

    bottom:30px;


    padding:16px 25px;


    border-radius:18px;


    background:

    rgba(20,20,30,.9);


    border:

    1px solid rgba(168,85,247,.5);


    color:white;


    font-weight:600;


    transform:translateY(80px);


    opacity:0;


    transition:.3s;


    z-index:9999;
}



.toast.show {

    transform:translateY(0);

    opacity:1;

}


.button-group{
    display:flex;
    gap:12px;
    margin-top:20px;
    align-items:center;
}


.button-group button,
.button-group .vpn-button{
    flex:1;
    margin-top:0;
}


/* VPN CARDS GRID */

.vpn-container{
    display:grid;
    grid-template-columns:repeat(2, minmax(300px, 1fr));
    gap:24px;
    align-items:start;
}


/* карточки */

.vpn-container .card{
    width:100%;
}


/* ссылка снизу на всю ширину */

.link-card{
    grid-column:1 / -1;
}


/* адаптация под телефон */

@media(max-width:700px){

    .vpn-container{
        grid-template-columns:1fr;
    }

}


.vpn-container{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
}

.vpn-container > .vpn-card{
    grid-column:1 !important;
}

.vpn-container > .qr-card{
    grid-column:2 !important;
}

.vpn-container > .link-card{
    grid-column:1 / span 2 !important;
}
