@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');

body{

    font-family: 'Vazirmatn', sans-serif;
    background:#020817;
    color:white;
    font-family:'Vazirmatn', sans-serif;
    margin:0;
    padding:0;

}

header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
    background:#08142c;

}

.logo{

    color:#22c55e;
    font-size:30px;
    font-weight:bold;

}

.menu a{

    color:white;
    text-decoration:none;
    margin-left:25px;
    font-size:15px;
    font-weight:500;
letter-spacing:0.3px;
}


.hero{

    text-align:center;
    margin-top:100px;

}

.hero h1{

    color:#22c55e;
    font-size:55px;
    font-weight:700;
letter-spacing:-1px;
}

.hero p{

    margin-top:20px;
    font-size:20px;

}

.plans{

    display:flex;
    justify-content:center;
    gap:40px;
    margin-top:80px;
    flex-wrap:wrap;

}

.card{

    background:#08142c;
    width:320px;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;

}

.card h2{

    color:#22c55e;
    font-size:35px;
    margin-bottom:20px;

}

.users{

    background:#13203d;
    color:#22c55e;
    padding:10px;
    border-radius:10px;
    margin-bottom:25px;

}

.card p{

    margin:15px 0;
    font-size:20px;

}

/* تایپ انیمیشن */

.typing{

    overflow:hidden;
    white-space:nowrap;
    border-left:3px solid #22c55e;
    width:0;
    animation:
    typing 3s steps(30,end) forwards,
    blink .8s infinite;

    margin:auto;

}

.typing2{

    overflow:hidden;
    white-space:nowrap;
    width:0;
    animation:
    typing 4s steps(40,end) forwards;

    animation-delay:2s;

    margin:auto;

}

@keyframes typing{

    from{
        width:0;
    }

    to{
        width:100%;
    }

}

@keyframes blink{

    50%{
        border-color:transparent;
    }

}

/* منوی بالا */

.menu a{

    color:white;
    text-decoration:none;
    margin-left:15px;
    padding:10px 18px;
    border-radius:10px;
    background:#13203d;

    transition:0.3s;

}

.menu a:hover{

    background:#22c55e;
    color:black;
    transform:translateY(-3px);

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

}

/* کارت ها */

.card{

    transition:0.4s;

}

.card:hover{

    transform:translateY(-10px);

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

}

/* ===== LOGO CINEMATIC ANIMATION ===== */

.logo-area{

    position:relative;

    display:flex;

    align-items:center;

    overflow:hidden;

    height:70px;

}

/* لوگو */

.logo{

    position:relative;

    color:#22c55e;

    font-size:32px;

    font-weight:700;

    z-index:5;

    animation:logoPull 8s forwards;

}

/* آدمک */

.man{

    position:absolute;

    right:-120px;

    top:8px;

    font-size:42px;

    z-index:10;

    animation:manMove 10s linear infinite;

}

/* طناب */

.rope{

    position:absolute;

    top:28px;

    right:120px;

    height:6px;

    width:0;

    background:linear-gradient(
        90deg,
        #d6b36a,
        #f5deb3,
        #c89b3c
    );

    border-radius:10px;

    z-index:2;

    box-shadow:0 0 10px #f5deb3;

    animation:ropeThrow 8s forwards;

}

/* حرکت آدمک */

@keyframes manMove{

    0%{
        right:-120px;
        opacity:1;
    }

    100%{
        right:600px;
        opacity:1;
    }

}

/* کشیده شدن لوگو */

@keyframes logoPull{

    0%{

        transform:translateX(0);

    }

    35%{

        transform:translateX(0);

    }

    50%{

        transform:translateX(-380px);

    }

    58%{

        transform:translateX(-380px);

    }

    65%{

        transform:translateX(0);

    }

    100%{

        transform:translateX(0);

    }

}

/* طناب */

@keyframes ropeThrow{

    0%{

        width:0;
        opacity:0;

    }

    25%{

        width:0;
        opacity:1;

    }

    40%{

        width:420px;

    }

    58%{

        width:420px;

    }

    60%{

        width:0;

        opacity:0;

    }

    100%{

        width:0;
        opacity:0;

    }

}

/* auth */

.auth-box{

    width:350px;

    margin:120px auto;

    background:#08142c;

    padding:40px;

    border-radius:20px;

    text-align:center;

}

.auth-box h1{

    color:#22c55e;

    margin-bottom:30px;

}

.auth-box input{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:none;

    border-radius:10px;

    background:#13203d;

    color:white;

    font-size:16px;

}

.auth-box button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#22c55e;

    color:black;

    font-size:18px;

    cursor:pointer;

    transition:0.3s;

}

.auth-box button:hover{

    transform:translateY(-3px);

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

}

.password-note{

    color:#94a3b8;

    font-size:13px;

    text-align:right;

    margin-top:-10px;

    margin-bottom:15px;

}

.auth-links{

    margin-top:20px;

    display:flex;

    flex-direction:column;

    gap:12px;

}

.auth-links a{

    color:#22c55e;

    text-decoration:none;

    transition:0.3s;

    font-size:14px;

}

.auth-links a:hover{

    color:white;

}

.panel-box{

    width:90%;

    max-width:600px;

    margin:80px auto;

    background:#0f172a;

    padding:40px;

    border-radius:20px;

    text-align:center;

    border:1px solid #1e293b;

}

.panel-links{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:30px;

}

.panel-links a{

    background:#13203d;

    color:white;

    text-decoration:none;

    padding:15px;

    border-radius:12px;

    transition:0.3s;

}

.panel-links a:hover{

    transform:translateY(-4px);

    background:#1d4ed8;

}

.panel-box{

    width:90%;

    max-width:600px;

    margin:80px auto;

    background:#0f172a;

    padding:40px;

    border-radius:20px;

    text-align:center;

    border:1px solid #1e293b;

    box-shadow:0 0 25px rgba(0,0,0,0.4);

}

.panel-box h1{

    color:#22c55e;

    margin-bottom:25px;

}

.user-code{

    background:#13203d;

    padding:15px;

    border-radius:12px;

    color:white;

    margin-bottom:30px;

    font-size:18px;

}

.panel-links{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.panel-links a{

    background:#13203d;

    color:white;

    text-decoration:none;

    padding:15px;

    border-radius:12px;

    transition:0.3s;

    font-size:17px;

}

.panel-links a:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}

.logout-btn{

    display:inline-block;

    margin-top:30px;

    padding:12px 25px;

    background:#ef4444;

    color:white;

    text-decoration:none;

    border-radius:10px;

    transition:0.3s;

}

.logout-btn:hover{

    transform:translateY(-3px);

}

.panel-box {
    width: 90%;
    max-width: 600px;
    margin: 80px auto;
    background: #0f172a;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #1e293b;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.panel-box h1 {
    color: #22c55e;
    margin-bottom: 25px;
}

.user-code {
    background: #13203d;
    padding: 15px;
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
    font-size: 18px;
}

.panel-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.panel-links a {
    background: #13203d;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 17px;
}

.panel-links a:hover {
    background: #1d4ed8;
    transform: translateY(-4px);
}

.logout-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

.logout-btn:hover {
    transform: translateY(-3px);
}

.buy-box{

    width:90%;

    max-width:700px;

    margin:50px auto;

}

.buy-box h1{

    text-align:center;

    margin-bottom:40px;

}

.buy-card{

    background:#0f172a;

    padding:30px;

    border-radius:20px;

    margin-bottom:25px;

    border:1px solid #1e293b;

}

.buy-card h2{

    margin-bottom:20px;

    color:#22c55e;

}

.buy-option{

    background:#13203d;

    padding:15px;

    border-radius:12px;

    margin-top:15px;

}

.payment-box,
.rubika-box{

    background:#0f172a;

    padding:25px;

    border-radius:20px;

    margin-top:25px;

    text-align:center;

}

.rubika-box a{

    display:inline-block;

    margin-top:15px;

    padding:12px 20px;

    background:#2563eb;

    color:white;

    text-decoration:none;

    border-radius:10px;

}

.buy-page{

    width:90%;

    margin:auto;

    padding:40px 0;

}

.buy-page h1{

    text-align:center;

    margin-bottom:40px;

}

.buy-grid{

    display:flex;

    gap:20px;

    justify-content:center;

    flex-wrap:wrap;

}

.buy-box{

    width:320px;

    background:#0f172a;

    padding:25px;

    border-radius:20px;

    border:1px solid #1e293b;

}

.buy-box h2{

    margin-bottom:20px;

    color:#22c55e;

}

.buy-box label{

    display:block;

    background:#13203d;

    margin-top:15px;

    padding:15px;

    border-radius:12px;

    cursor:pointer;

}

.payment-note{

    text-align:center;

    margin-top:40px;

    font-size:15px;

}

.submit-order{

    display:block;

    margin:30px auto;

    padding:15px 40px;

    border:none;

    border-radius:12px;

    background:#22c55e;

    color:white;

    font-size:18px;

    cursor:pointer;

}

.admin-send{

    text-align:center;

    margin-top:30px;

}

.admin-send a{

    display:inline-block;

    margin-top:15px;

    background:#2563eb;

    padding:12px 25px;

    border-radius:12px;

    color:white;

    text-decoration:none;

}

.payment-box{

    display:none;

    margin-top:30px;

    background:#0f172a;

    padding:25px;

    border-radius:20px;

    text-align:center;

}

.paid-btn{

    margin-top:25px;

    padding:16px 40px;

    border:none;

    border-radius:16px;

    background:#16a34a;

    color:white;

    font-size:20px;

    font-weight:bold;

    letter-spacing:0.5px;

    cursor:pointer;

    box-shadow:0 0 18px rgba(0,0,0,0.3);

    transition:0.3s;

}

.paid-btn:hover{

    transform:translateY(-3px);

    background:#22c55e;

}

.admin-send{

    display:none;

}

.payment-box{

    display:none;

    background:#0f172a;

    padding:40px;

    border-radius:25px;

    margin-top:30px;

    text-align:center;

}

.card-number{

    font-size:32px;

    font-weight:bold;

    margin-top:20px;

    color:white;

}

.card-owner{

    margin-top:15px;

    color:#ccc;

    font-size:20px;

}

.warning{

    padding:20px;

    border-radius:15px;

    margin-top:20px;

    font-size:20px;

    font-weight:bold;

}

.warning-yellow{

    background:#2a2112;

    color:#ffb020;

}

.warning-red{

    background:#2a1212;

    color:#ff4d4d;

}

.paid-btn{

    margin-top:30px;

    padding:15px 40px;

    border:none;

    border-radius:15px;

    background:#2563eb;

    color:white;

    font-size:20px;

    cursor:pointer;

}

.success-box{

    display:none;

    background:#0f172a;

    padding:60px;

    border-radius:25px;

    text-align:center;

    margin-top:30px;

}

.success-box h1{

    font-size:80px;

    color:#22c55e;

}

.rubika-btn{

    display:inline-block;

    margin-top:20px;

    margin-right:10px;

    background:#22c55e;

    color:white;

    padding:16px 35px;

    border-radius:15px;

    text-decoration:none;

    font-size:17px;

    font-weight:bold;

    width:240px;

    height:55px;    

    text-align:center;

    box-shadow:0 0 15px rgba(0,0,0,0.3);

    transition:0.3s;
}

.rubika-btn:hover{

    transform:translateY(-3px);

    background:#34d399;

}

.payment-box{

    background:#0f172a;

    padding:40px;

    border-radius:25px;

    margin-top:30px;

    text-align:center;

}

.card-number{

    font-size:32px;

    color:white;

    margin-top:20px;

    font-weight:bold;

}

.card-owner{

    margin-top:15px;

    color:#ccc;

    font-size:20px;

}

.warning{

    margin-top:20px;

    padding:20px;

    border-radius:15px;

    font-size:18px;

    font-weight:bold;

}

.yellow{

    background:#2a2112;

    color:#ffb020;

}

.red{

    background:#2a1212;

    color:#ff4d4d;

}

.paid-btn{

    margin-top:25px;

    padding:15px 40px;

    border:none;

    border-radius:15px;

    background:#2563eb;

    color:white;

    font-size:20px;

    cursor:pointer;

}

.success-box{

    background:#0f172a;

    padding:50px;

    border-radius:25px;

    margin-top:30px;

    text-align:center;

}

.success-box h1{

    font-size:80px;

    color:#22c55e;

}

.rubika-btn{

    display:inline-block;

    margin-top:30px;

    padding:18px 40px;

    background:#22c55e;

    color:white;

    border-radius:15px;

    text-decoration:none;

    font-size:22px;

}

#selectedPlan,
#selectedPrice{

    margin-top:15px;

    font-size:22px;

    color:white;

}

.telegram-btn{

    display:inline-block;

    margin-top:20px;

    background:#2563eb;

    color:white;

    padding:18px 40px;

    border-radius:15px;

    text-decoration:none;
     
    width:240px;

    height:55px;

    font-size:20px;

    text-align:center;  
}

.back-btn,
.home-btn{

    display:inline-block;

    margin-top:20px;

    background:#475569;

    color:white;

    padding:12px 22px;

    border-radius:14px;

    border:none;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

    box-shadow:0 0 15px rgba(0,0,0,0.3);

    transition:0.3s;

}

.home-btn:hover{

    transform:translateY(-3px);

    background:#64748b;

}

.top-nav{

    display:flex;

    gap:15px;

    margin-bottom:30px;

}

.top-nav a{

    background:#2563eb;

    color:white;

    padding:14px 28px;

    border-radius:14px;

    text-decoration:none;

    font-size:18px;

    transition:0.3s;

}

.top-nav a:hover{

    transform:scale(1.05);

}

.back-btn{

    margin-top:20px;

    padding:15px 35px;

    border:none;

    border-radius:14px;

    background:#f59e0b;

    color:white;

    font-size:18px;

    cursor:pointer;

    transition:0.3s;

}

.back-btn:hover{

    transform:scale(1.05);

}

.telegram-btn{

    display:inline-block;

    margin-top:20px;

    margin-right:10px;

    background:#0088cc;

    color:white;

    padding:16px 35px;

    border-radius:14px;

    text-decoration:none;

    font-size:18px;

    transition:0.3s;

}

.telegram-btn:hover{

    transform:scale(1.05);

}

.home-btn{

    display:inline-block;

    margin-top:20px;

    background:#22c55e;

    color:white;

    padding:16px 35px;

    border-radius:14px;

    text-decoration:none;

    font-size:18px;

    border:none;

    cursor:pointer;

    transition:0.3s;

}

.home-btn:hover{

    transform:scale(1.05);

}

.top-nav{

    display:flex;

    gap:20px;

    margin-bottom:35px;

}

.top-nav a{

    background:#1e293b;

    color:white;

    padding:15px 30px;

    border-radius:15px;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    transition:0.3s;

}

.top-nav a:hover{

    background:#2563eb;

}

.back-btn{

    margin-top:20px;

    padding:15px 35px;

    border:none;

    border-radius:15px;

    background:#f59e0b;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

}

.telegram-btn{

    display:inline-block;

    margin-top:20px;

    margin-right:10px;

    background:#0088cc;

    color:white;

    padding:16px 35px;

    border-radius:15px;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

}

.home-btn{

    display:inline-block;

    margin-top:20px;

    background:#22c55e;

    color:white;

    padding:16px 35px;

    border-radius:15px;

    border:none;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

}

.telegram-btn,
.rubika-btn,
.home-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    width:230px;

    height:58px;

    margin:15px auto;

    border:none;

    border-radius:14px;

    text-align:center;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    transition:0.3s;

}

/* تلگرام */

.telegram-btn{

    background:#0088cc;

    color:white;

}

/* روبیکا */

.rubika-btn{

    background:#22c55e;

    color:white;

}

/* صفحه اصلی */

.home-btn{

    background:#475569;

    color:white;

    cursor:pointer;

}

/* افکت */

.telegram-btn:hover,
.rubika-btn:hover,
.home-btn:hover{

    transform:scale(1.03);

}

.config-box{

    width:100%;

    height:150px;

    background:#111;

    color:#00ff99;

    border:1px solid #333;

    border-radius:10px;

    padding:10px;

    margin-top:10px;

    resize:none;

    direction:ltr;

}
/* ===== PROFESSIONAL PANEL ===== */

.dashboard-header{
    background:#0f172a;
    border:1px solid #1e293b;
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
    text-align:center;
}

.dashboard-header h1{
    color:#22c55e;
    margin:0;
}

.dashboard-header p{
    color:#94a3b8;
    margin-top:10px;
}

.stats-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:30px;
}

.stat-card{
    background:#0f172a;
    border:1px solid #1e293b;
    border-radius:18px;
    padding:20px;
    min-width:220px;
    text-align:center;
}

.stat-number{
    font-size:32px;
    font-weight:bold;
    color:#22c55e;
}

.order-status{
    display:inline-block;
    padding:8px 14px;
    border-radius:12px;
    font-size:14px;
    font-weight:bold;
}

.status-pending{
    background:#3b2f14;
    color:#fbbf24;
}

.status-approved{
    background:#12361d;
    color:#22c55e;
}

.status-rejected{
    background:#3b1616;
    color:#ef4444;
}

.config-box{
    width:100%;
    height:180px;
    background:#020617;
    color:#22c55e;
    border:1px solid #334155;
    border-radius:12px;
    padding:15px;
    resize:none;
    font-size:14px;
}
/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px){

    body{
        padding:15px;
    }

    .buy-page,
    .panel-box,
    .success-box,
    .payment-box{
        padding:20px;
    }

    .buy-grid{
        display:block;
    }

    .buy-box{
        width:100%;
        margin-bottom:20px;
    }

    .top-nav{
        flex-direction:column;
    }

    .top-nav a{
        width:100%;
        text-align:center;
    }

    .stats-grid{
        flex-direction:column;
    }

    .stat-card{
        width:100%;
        min-width:auto;
    }

    .card-number{
        font-size:22px;
        word-break:break-all;
    }

    .telegram-btn,
    .rubika-btn,
    .home-btn{
        width:100%;
    }

    .config-box{
        height:220px;
        font-size:13px;
    }

    h1{
        font-size:28px;
    }

    h2{
        font-size:22px;
    }

    h3{
        font-size:18px;
    }

}
