*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#eef2f7;
    font-family:Arial,sans-serif;
    color:#111;
}

.container{
    width:1200px;
    max-width:95%;
    margin:auto;
}

/* HEADER */

.main-header{
    background:#ffffff;
    padding:18px 0;
    border-bottom:1px solid #ddd;
}

.header-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo a{
    text-decoration:none;
    font-size:38px;
    font-weight:800;
    color:#111827;
}

.main-menu{
    display:flex;
    gap:30px;
}

.main-menu a{
    text-decoration:none;
    color:#111827;
    font-weight:700;
}

/* NOTICE */

.notice-bar{
    background:#08146b;
    color:#fff;
    padding:14px 0;
    font-size:14px;
}

/* HERO */

.hero-banner{
    padding:20px 0;
}

.hero-image img{
    width:100%;
    border-radius:16px;
    display:block;
}

/* SECTION */

.topup-section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:#17376e;
    font-weight:800;
}

/* GRID */

.topup-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:25px;
}

/* CARD */

.topup-card{
    background:#fff;
    border-radius:18px;
    padding:15px;
    text-decoration:none;
    color:#111;
    transition:0.3s;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.topup-card:hover{
    transform:translateY(-6px);
}

.topup-card img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:12px;
}

.topup-card h3{
    font-size:15px;
    line-height:1.5;
    margin-bottom:10px;
    min-height:40px;
}

.price{
    color:#ff6600;
    font-size:18px;
    font-weight:bold;
}

/* ORDERS */

.latest-orders{
    padding-bottom:80px;
}

.orders-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
}

.orders-box h2{
    text-align:center;
    margin-bottom:30px;
    font-size:36px;
}

.order-item{
    background:#f8fafc;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.completed{
    background:#22c55e;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
}

.running{
    background:#3b82f6;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
}

/* FOOTER */

.main-footer{
    background:#07115b;
    color:#fff;
    padding:70px 0;
    text-align:center;
}

/* MOBILE */

@media(max-width:992px){

    .topup-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .header-wrapper{
        flex-direction:column;
        gap:20px;
    }

    .topup-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .section-title h2{
        font-size:30px;
    }

}

@media(max-width:500px){

    .topup-grid{
        grid-template-columns:1fr;
    }

}






/* =========================
SINGLE PRODUCT PAGE
========================= */

.single-topup-page{
    padding:40px 0 80px;
}

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

/* TOP BOX */

.product-top-box{
    background:#fff;
    border-radius:14px;
    padding:20px;

    display:flex;
    align-items:center;
    gap:20px;

    margin-bottom:25px;

    border:1px solid #e5e7eb;
}

.product-thumb img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
}

.product-info h1{
    font-size:34px;
    font-weight:700;
    margin-bottom:8px;
    color:#111827;
}

.product-info p{
    color:#6b7280;
    font-size:16px;
}

/* MAIN GRID */

.topup-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

/* BOX */

.recharge-box,
.account-box,
.rules-box{
    background:#fff;
    border-radius:14px;
    padding:28px;
    border:1px solid #e5e7eb;
}

/* TITLE */

.box-title{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.box-title span{
    width:38px;
    height:38px;
    background:#e11d48;

    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    font-size:18px;
}

.box-title h2{
    font-size:30px;
    font-weight:700;
    color:#111827;
}

/* DIAMOND GRID */

.diamond-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* CARD */

.diamond-card{
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:22px;

    cursor:pointer;
    transition:0.3s;

    background:#fff;
}

.diamond-card:hover{
    border-color:#ff6b00;
    transform:translateY(-2px);
}

.diamond-card p{
    font-size:17px;
    margin-bottom:10px;
    color:#111827;
    font-weight:600;
}

.diamond-card strong{
    color:#ff6b00;
    font-size:20px;
}

/* INPUT */

.game-input{
    width:100%;
    height:58px;

    border:1px solid #d1d5db;
    border-radius:10px;

    padding:0 18px;

    font-size:16px;

    margin-bottom:30px;

    outline:none;
}

.game-input:focus{
    border-color:#08146b;
}

/* PAYMENT */

.payment-title{
    margin-top:10px;
}

.payment-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;

    margin-bottom:30px;
}

.payment-card{
    border:1px solid #d1d5db;
    border-radius:12px;

    padding:20px;

    text-align:center;

    cursor:pointer;
    transition:0.3s;
}

.payment-card:hover{
    border-color:#08146b;
}

.payment-card.active{
    border:2px solid #e11d48;
}

.payment-card img{
    width:120px;
    margin-bottom:12px;
}

.payment-card h3{
    font-size:22px;
    margin-bottom:8px;
}

.payment-card p{
    color:#6b7280;
}

/* BUTTON */

.login-btn{
    width:100%;
    height:60px;

    background:#08146b;

    color:#fff;

    border:none;
    border-radius:10px;

    font-size:20px;
    font-weight:700;

    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover{
    background:#0b1c94;
}

/* RULES */

.rules-box{
    margin-top:25px;
}

.rules-box h2{
    font-size:32px;
    margin-bottom:25px;
}

.rules-box ul{
    padding-left:20px;
}

.rules-box li{
    margin-bottom:16px;
    line-height:1.8;
    color:#374151;
    font-size:17px;
}

/* BODY */

body{
    background:#eef2f7;
    font-family:Arial,sans-serif;
}

/* RESPONSIVE */

@media(max-width:992px){

    .topup-layout{
        grid-template-columns:1fr;
    }

    .diamond-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .diamond-grid{
        grid-template-columns:1fr;
    }

    .payment-grid{
        grid-template-columns:1fr;
    }

    .product-top-box{
        flex-direction:column;
        text-align:center;
    }

    .product-info h1{
        font-size:26px;
    }

    .box-title h2{
        font-size:22px;
    }

}




.diamond-card.active{
    border:2px solid #ff5b00;
    background:#fff7f0;
}

.payment-card.active{
    border:2px solid #ff5b00;
    background:#fff7f0;
}

.login-link{
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}










