@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn', sans-serif;
}

body{
    font-family: "Vazirmatn", sans-serif;
    background:#111827;
    color:#fff;
}

/* Navbar */
.navbar{
    height:80px;
    background:#172033;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 60px;
}

.logo{
    font-size:32px;
    font-weight:bold;
    color:#fff;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:40px;
}

.navbar a{
    color:#fff;
    text-decoration:none;
}

.login-btn{
    background:#5b8cff;
    border:none;
    color:white;
    padding:12px 24px;
    border-radius:8px;
    cursor:pointer;
}

/* Steps */
.steps{
    width:700px;
    margin:40px auto;
    background:#1c2740;
    border-radius:20px;
    padding:30px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.step{
    text-align:center;
}

.step p{
    margin-top: 10px;
    font-size:small;
}

.step span{
    width:42px;
    height:42px;
    border-radius:10px;
    background:#293755;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
}

.step.active span{
    background:#5b8cff;
}

.line{
    position: relative;
    top: -10px;
    width:120px;
    height:2px;
    background:#31415f;
    margin:0 20px;
}

.line.active{
    background:#5b8cff;
}

/* Products */
.products{
    max-width:1200px;
    margin:30px auto 60px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}

@media (max-width:992px){
    .products{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:576px){
    .products{
        grid-template-columns:1fr;
    }
}

.card{
    cursor: pointer;
    background:#1b2438;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card-image{
    text-align: center;
    height:190px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    font-weight:bold;
}

.card-body{
    padding:20px;
    text-align:center;
}

.card-body h3{
    margin-bottom:10px;
}

.card-body span{
    color:#d9d9d9;
}

/* Colors */
.xbox .card-image{
    background:#0ccb52;
}

.google .card-image{
    background:linear-gradient(135deg,#61d5db,#63b3ff);
}

.itunes .card-image{
    background:linear-gradient(135deg,#8d3cff,#ff7f7f);
}

.eset .card-image{
    background:#16bfd2;
}

.spotify .card-image{
    background:#1cc84c;
}

.kerio .card-image{
    background:#db3d1e;
}

.ping .card-image{
    background:#7d2cff;
}

.steam .card-image{
    background:linear-gradient(180deg,#071f4f,#0d5fa3);
}

/* Responsive */
@media(max-width:768px){

    .navbar{
        flex-direction:column;
        height:auto;
        gap:20px;
        padding:20px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .steps{
        width:95%;
        flex-direction:column;
        gap:15px;
    }

    .line{
        width:2px;
        height:30px;
    }
}

.footer{
    background:#27314d;
    padding:25px 40px;
}

.footer-content{
    position:relative;
    max-width:1200px;
    margin:auto;
    min-height:90px;
}

.footer p{
    text-align:center;
    color:#fff;
    line-height:90px;
}

.enamad{
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:80px;
    height:90px;
    background:#fff;
    border-radius:10px;
}

.rules-page{
    display:none;
    max-width:1200px;
    margin:40px auto;
    padding:30px;
    background:#1c2740;
    border-radius:12px;
    color:#fff;
}

.d-none{
   display:none; 
}

.invoice-page{
    max-width:700px;
    margin:40px auto;
}

.invoice{
    background:#1c2740;
    border-radius:15px;
    overflow:hidden;
}

.invoice h2{
    padding:20px;
    text-align:center;
    background:#263250;
}

.invoice-row{
    display:flex;
    justify-content:space-between;
    padding:18px 25px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.invoice-row.total{
    font-size:20px;
    font-weight:bold;
    color:#5b8cff;
}

.invoice-actions{
    display:flex;
    gap:15px;
    padding:25px;
}

.btn-back,
.btn-pay{
    flex:1;
    border:none;
    border-radius:10px;
    padding:14px;
    cursor:pointer;
}

.btn-back{
    background:#3b4765;
    color:#fff;
}

.btn-pay{
    background:#5b8cff;
    color:#fff;
}

.contact-page{
    max-width:700px;
    margin:40px auto;
}

.contact-box{
    background:#1c2740;
    border-radius:15px;
    padding:35px;
}

.contact-box h2{
    text-align:center;
    margin-bottom:10px;
}

.contact-desc{
    text-align:center;
    color:#aab7d8;
    margin-bottom:30px;
}

.contact-box form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-box input,
.contact-box textarea{
    width:100%;
    background:#263250;
    border:1px solid #31415f;
    border-radius:10px;
    padding:14px;
    color:#fff;
    outline:none;
    font-size:15px;
}

.contact-box input:focus,
.contact-box textarea:focus{
    border-color:#5b8cff;
}

.contact-box textarea{
    resize:vertical;
}

.contact-box button{
    height:50px;
    border:none;
    border-radius:10px;
    background:#5b8cff;
    color:#fff;
    cursor:pointer;
    font-size:15px;
    transition:.3s;
}

.contact-box button:hover{
    background:#4a79ef;
}

.success-msg{
    background:#1e8e3e;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:15px;
    text-align:center;
}
