/* =========================
   CrylithSMP Premium Store
   Part 1
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050505;
    color:#fff;
}

/* HEADER */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#0b0b0b;
    border-bottom:1px solid #1f1f1f;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
}

.logo{
    width:65px;
    height:65px;
    border-radius:50%;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    font-weight:800;
    border:2px solid #2c2c2c;
    box-shadow:0 0 20px rgba(255,255,255,.08);
}

.logo .c{
    color:#fff;
}

.logo .s{
    color:#7b7b7b;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#bdbdbd;
}

/* HERO */

.hero{
    text-align:center;
    padding:90px 20px;
}

.hero h1{
    font-size:60px;
    font-weight:800;
    background:linear-gradient(90deg,#fff,#9b9b9b);
    -webkit-background-clip:text;
    color:transparent;
}

.hero p{
    margin-top:15px;
    color:#9b9b9b;
    font-size:18px;
}

/* SHOP */

.shop{
    padding:70px 8%;
}

.shop h2{
    text-align:center;
    font-size:38px;
    margin-bottom:40px;
}

.container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    position:relative;
    background:#101010;
    border:1px solid #222;
    border-radius:20px;
    padding:30px;
    text-align:center;
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    border-color:#666;
    box-shadow:0 0 30px rgba(255,255,255,.08);
}

.card h3{
    font-size:26px;
}

.card h4{
    font-size:32px;
    margin:15px 0;
}

.card ul{
    list-style:none;
    color:#bdbdbd;
    line-height:2;
}

.badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#fff;
    color:#000;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

/* =========================
   CrylithSMP Premium Store
   Part 2
========================= */

/* BUY BUTTON */

.buy-btn{
    width:100%;
    margin-top:25px;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(90deg,#ffffff,#cfcfcf);
    color:#000;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.buy-btn:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(255,255,255,.25);
}

/* PAYMENT */

.payment{
    padding:70px 8%;
}

.payment h2{
    text-align:center;
    font-size:38px;
    margin-bottom:40px;
}

.payment-card{
    max-width:420px;
    margin:auto;
    background:#101010;
    border:1px solid #222;
    border-radius:20px;
    padding:30px;
    text-align:center;
}

.payment-card img{
    width:230px;
    height:auto;
    border-radius:15px;
    background:#fff;
    padding:10px;
    margin-bottom:20px;
}

.payment-card h3{
    font-size:24px;
    margin-bottom:20px;
}

.payment-card p{
    color:#bdbdbd;
    margin:8px 0;
}

/* HELP */

.help{
    padding:70px 20px;
    text-align:center;
}

.help h2{
    font-size:38px;
    margin-bottom:20px;
}

.help p{
    color:#bdbdbd;
    margin-bottom:15px;
}

.whatsapp-btn{
    display:inline-block;
    padding:14px 35px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    background:#25D366;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(37,211,102,.35);
}

/* =========================
   CrylithSMP Premium Store
   Part 3
========================= */

/* POPUP */

.popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-box{
    width:400px;
    max-width:90%;
    background:#111;
    border:1px solid #333;
    border-radius:20px;
    padding:30px;
    text-align:center;
    animation:popup .25s ease;
}

@keyframes popup{
    from{
        transform:scale(.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.popup-box h2{
    margin-bottom:15px;
}

#item-name{
    font-size:24px;
    margin-bottom:10px;
}

#item-price{
    font-size:35px;
    font-weight:bold;
    color:#fff;
    margin-bottom:20px;
}

.popup-qr{
    width:220px;
    background:#fff;
    padding:10px;
    border-radius:15px;
    margin:20px auto;
}

.bank-details{
    margin-top:15px;
}

.bank-details p{
    color:#bdbdbd;
    margin:5px 0;
}

.confirm-btn{
    display:block;
    margin-top:20px;
    padding:14px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.confirm-btn:hover{
    transform:scale(1.05);
}

#close{
    width:100%;
    margin-top:15px;
    padding:12px;
    border:none;
    border-radius:12px;
    background:#333;
    color:#fff;
    cursor:pointer;
}

/* FOOTER */

footer{
    margin-top:60px;
    padding:40px 20px;
    text-align:center;
    background:#0a0a0a;
    border-top:1px solid #222;
}

.footer-logo{
    width:60px;
    height:60px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    font-weight:bold;
    border:2px solid #333;
}

.footer-logo .c{
    color:#fff;
}

.footer-logo .s{
    color:#777;
}

.footer-contact{
    margin-top:20px;
}

.footer-contact a{
    color:#25D366;
    text-decoration:none;
}

.copyright{
    margin-top:20px;
    color:#777;
    font-size:14px;
}

/* SCROLLBAR */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#555;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#111;
}

/* MOBILE */

@media(max-width:768px){

header{
    flex-direction:column;
    gap:15px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h1{
    font-size:42px;
}

.shop h2,
.payment h2,
.help h2{
    font-size:30px;
}

.popup-box{
    width:95%;
}

.payment-card img,
.popup-qr{
    width:180px;
}

}