
:root{
  --blue:#2563eb;
  --blue2:#3b82f6;
  --light:#f5f9ff;
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
}

*{margin:0;padding:0;box-sizing:border-box;
    font-family: 'DM Sans', sans-serif;
}
body{background:var(--light);color:var(--text);}

/* HEADER */
header{
  position:sticky;top:0;z-index:20;
  background:#fff;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--border);
}

/* ===== APP LOADER ===== */
#app-loader{
  min-height: calc(100vh - 120px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f9ff;
}

/* CARD */
.loader-card{
  background:#ffffff;
  border-radius:22px;
  padding:34px 28px;
  text-align:center;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  width:90%;
  max-width:360px;
}

/* LOGO */
.loader-logo{
  position:relative;
  width:64px;
  height:64px;
  margin:0 auto 16px;
  border-radius:50%;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:26px;
  font-weight:700;
}

/* pulse ring */
.pulse-ring{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:2px solid rgba(37,99,235,.4);
  animation:pulse 1.6s infinite ease-out;
}

/* TEXT */
.loader-card h3{
  margin:10px 0 6px;
  font-size:18px;
  color:#0f2f5c;
}

.loader-card p{
  font-size:13px;
  color:#64748b;
}

/* PROGRESS BAR */
.loader-bar{
  margin-top:18px;
  height:6px;
  background:#e5ecff;
  border-radius:999px;
  overflow:hidden;
}

.loader-bar span{
  display:block;
  height:100%;
  width:40%;
  background:linear-gradient(90deg,#2563eb,#3b82f6);
  border-radius:999px;
  animation:loading 1.2s infinite ease-in-out;
}

/* ANIMATIONS */
@keyframes loading{
  0%{transform:translateX(-100%)}
  50%{transform:translateX(40%)}
  100%{transform:translateX(180%)}
}

@keyframes pulse{
  0%{opacity:.8; transform:scale(.9)}
  100%{opacity:0; transform:scale(1.4)}
}


.logo{font-size:20px;font-weight:700;color:var(--blue);}
.header-right{display:flex;gap:10px;align-items:center;}
.wallet{
  background:#eef4ff;
  padding:6px 14px;
  border-radius:999px;
  color:var(--blue);
  font-weight:600;
  font-size:14px;
}

.auth-logged {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* balance chip */
.wallet-chip {
  background: #eef4ff;
  color: #2563eb;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

/* avatar */
.user-avatar-wrap {
  position: relative;
  width: 44px;          /* avatar size + border */
  height: 44px;
  border-radius: 50%;
  padding: 2px;         /* border thickness */

  /* 🔥 blue gradient border */
  background: linear-gradient(
    135deg,
    #e8f0ff 0%,
    #4f7cff 40%,
    #2563eb 70%,
    #4f7cff 100%
  );

  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
 width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* dropdown */
.user-dropdown {
  position: absolute;
  right: 0;
  top: 48px;
  width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  padding: 12px;
  display: none;
  z-index: 999;
}

.user-dropdown.show {
  display: block;
}

/* user info */
.user-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.user-info .name {
  font-weight: 600;
}

.user-info .email {
  font-size: 12px;
  color: #777;
}

/* divider */
.divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

/* dropdown buttons */
.user-dropdown button {
  width: 100%;
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  background: #f4f6ff;
  margin-bottom: 5px;
}

.user-dropdown button:hover {
  background: #f4f6ff;
}

.user-dropdown .danger {
  color: #e11d48;
}


.btn{
  padding:7px 14px;
  border-radius:10px;
  font-size:14px;
  border:none;
  cursor:pointer;
}
.btn-blue{background:var(--blue);color:#fff;}
.btn-outline{background:#fff;border:1px solid var(--border);}

/* HERO */
.hero{
  margin:16px;
  background:linear-gradient(135deg,#eef4ff,#ffffff);
  border-radius:22px;
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hero h1{font-size:22px;}
.hero p{font-size:14px;color:var(--muted);}
.hero .meta{font-size:13px;color:var(--muted);}
.hero button{margin-top:8px;width:160px}

/* TRUST */
.trust{
  margin:16px;
  background:#fff;
  padding:16px;
  border-radius:18px;
  font-size:14px;
  color:var(--muted);
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

/* FOOTER */
footer{
  background:#f1f5f9;
  padding:20px 16px 90px;
  font-size:13px;
  text-align:center;
  color:var(--muted);
}
footer a{color:var(--muted);text-decoration:none;margin:0 6px}
/* ================= NAV BAR ================= */
nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 64px;                 /* 🔒 fixed height (important) */
  background: #fff;
  border-top: 1px solid var(--border);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* ================= NAV ITEM ================= */
nav .nav-ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

nav .icon{
  height: 26px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

nav .icon img{
  width: 26px;
  height: auto;
}

/* Default state */
.nav-ul .icon img:nth-of-type(1) {
    display: block;
}

.nav-ul .icon img:nth-of-type(2) {
    display: none;
}

/* Active state */
.nav-ul.active .icon img:nth-of-type(1) {
    display: none;
}

.nav-ul.active .icon img:nth-of-type(2) {
    display: block;
}

nav .text{
  font-size: 12px;
  font-weight: 500;
  color: #5C648D;
}

.nav-ul.active{
    color: #2563eb;
}

/* invisible spacer */
.nav-placeholder{
  width: 54px;   /* same as center icon */
  height: 1px;
  pointer-events: none;
}


/* ================= CENTER SEARCH ================= */
.nav-center{
  position: absolute;            /* 🔥 layout se alag */
  left: 50%;
  transform: translateX(-50%);
  top: -26px;                    /* kitna upar chahiye */
}

.nav-center .icon{
  /*width: 54px;*/
  /*height: 54px;*/
  /*background: #fff;*/
  /*border-radius: 50%;*/
  /*display: flex;*/
  /*align-items: center;*/
  /*justify-content: center;*/
  /*box-shadow: 0 6px 16px rgba(0,0,0,0.35);*/
  
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 6px 16px rgba(0,0,0,0.35); */
    flex-direction: column;
    border-top: 1px solid #2563eb;
}

.nav-center img{
  width: 24px;
  height: 24px;
}

.nav-center .text{
  margin-top: 6px;
  font-size: 12px;
  color: #5C648D;
}

/* hero card */
.hero-card{
  margin:16px;
  padding:20px;
  /*background:linear-gradient(135deg,#eef4ff,#ffffff);*/
  
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  overflow:hidden;
}

.hero-title{
  display:flex;
  align-items:center;
  font-size:22px;
  font-weight:700;
  color:#1e40af;
}

.hero-title span{
    font-size: 16px;
}

.hero-icon{
  width:35px;
  height:auto;
}

.hero-sub{
    margin-top: 6px;
    font-size: 13px;
    color: #213551;
}

.hero-meta{
  margin-top:10px;
  display:flex;
  gap:4px;
  font-size:12px;
  color:#64748b;
}

.hero-meta span{
  display:flex;
  align-items:center;
}
.hero-meta p{
    color: #2334493b;
}

.hero-meta img{
  width:16px;
  height:auto;
}

.hero-btn{
    margin-top: 15px;
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    /*cursor: pointer;*/
    box-shadow: 0 10px 26px rgba(37,99,235,.35);
}

.hero-right img{
  width:420px;
  max-width:100%;
}

.hero-right{
        position: absolute;
    width: 50%;
    right: 0;
}
/**/

/**/

/* trust card */
.trust-card{
  margin:16px;
  padding:20px;
  /*background:linear-gradient(135deg,#eef4ff,#ffffff);*/
  
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  overflow:hidden;
  padding-top: 5px;
  padding-bottom: 5px;
}

.trust-title{
        display: flex;
    justify-content: space-between;
    /*width: 100%;*/
}

.trust-title span{
        font-size: 18px;
    font-weight: 700;
}

.trust-title .secure-icon{
        width: 30px;
    height: 30px;
}

.trust-card .payments-icon img{
    width: 100%;
}

.trust-card .payments-icon{
    margin-top: 5px;
    width: 130px;
}

.trust-title div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-right{
      position: absolute;
    width: 50%;
    right: 0;
}

.trust-meta{
  margin-top:5px;
  display:flex;
  gap:4px;
  font-size:14px;
  color:#64748b;
}

.trust-meta span{
  display:flex;
  align-items:center;
}
.trust-meta p{
    color: #2334493b;
}

.trust-meta img{
  width:16px;
  height:auto;
}

/* quick action */
.quick-actions {
  display: flex;
  gap: 10px;
  padding: 20px;
  padding-top: 0;
}

.qa-card {
     background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.6);
    /*cursor: pointer;*/
    transition: transform .2s ease, box-shadow .2s ease;
    width: 23%;
    padding-bottom: 10px;
    padding-top: 10px;
}

.qa-card img {
  width: 35px;
  height: 35px;
}

.qa-card span {
    font-size: 10px;
    font-weight: 500;
    color: #213551;
}

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.22);
}
/* section */

.section {
  padding: 20px;
}

.heading {
  font-size: 20px;
  margin-bottom: 12px;
  color:#0f2f5c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* PC / Desktop – 7 cards */
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* CARD */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* IMAGE */
/*.card-img {*/
/*  width: 100%;*/
/*  height: 120px;*/
/*  object-fit: cover;*/
/*}*/

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.card-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.2);
    opacity: 0.8;
}

.card-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* BODY */
.card-body {
  padding: 14px;
}

.card-body h3 {
  font-size: 16px;
  margin: 0;
}

.card-body p {
  font-size: 13px;
  color: #666;
  margin: 4px 0 10px;
}

/* FOOTER */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section .price {
     color: #2563eb;
    font-weight: 100;
    font-size: 12px;
}

.section .price strong{
        font-weight: 800;
    font-size: 15px;
}

/* BUTTON */
.section button {
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  /*cursor: pointer;*/
  white-space: nowrap;
}

/* SKELETON LINES */
.line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.line.title { width: 60%; height: 14px; }
.line.subtitle { width: 80%; }
.line.price { width: 40%; }

/* SHIMMER EFFECT */
.shimmer {
    position: relative;
    background: #e5e7eb;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

/* why card */

.why-card {
  background: #ffffff;
  
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  margin: 20px;
}

.why-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #0f2f5c;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list .check {
  color: #2563eb;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-top: 4px;
}

.why-list .icon{
    
}

.why-list .icon img { width: 20px; height: 20px; }


.why-list strong {
  font-size: 14px;
  color: #1e293b;
}

.why-list p {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0 0;
}


/* follow-card */

.follow-card{
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  margin: 20px;
  background-color: #fff;
  border-radius: 20px;
  padding: 28px 18px 32px;
  text-align: center;
  /*box-shadow: 0 10px 30px rgba(0,0,0,0.05);*/
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
  position: relative;
  overflow: hidden;
}

/* heading */
.follow-card h2{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #3b5bd6;
}

.follow-card p{
  margin: 10px 0 26px;
  font-size: 16px;
  color: #6b7a99;
}

/* icons row */
.social-row{
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* icon wrapper */
.social{
  /*width: 74px;*/
  /*height: 74px;*/
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 10px;
  cursor: default;
}

.social img{
  width: 36px;
  height: 36px;
}

/* hover / tap effect */
.social:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

/* ================= WRAPPER ================= */
.cards-wrapper{
  display: flex;
  flex-direction: column;   /* 📱 mobile default */
  /*gap: 20px;*/
}

/* ================= DESKTOP VIEW ================= */
@media (min-width: 768px){
  .cards-wrapper{
    flex-direction: row;    /* 🖥️ side by side */
    align-items: stretch;
  }

  .follow-card,
  .why-card{
    flex: 1;                /* equal width */
  }
}


.auth-card, .telegram-wait{
     /*max-width: 380px;*/
    background-color: #f8fbff;
    border-radius: 20px;
    padding: 20px;
   box-shadow: 0 14px 36px rgba(37,99,235,.18);
    margin: 20px;
    
        background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

.auth-toggle{
  position: relative;
  display: flex;
  background: #eef3ff;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
  overflow: hidden;
}

/* slider */
.toggle-slider{
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg,#3b6df6,#5a8bff);
  border-radius: 999px;
  transition: transform 0.35s ease;
  z-index: 1;
}

/* buttons */
.toggle-btn{
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  font-weight: 600;
  color: #5c6c9a;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.toggle-btn.active{
  color: #fff;
}


/* Headings */
.auth-card h2{
  text-align: center;
  margin: 10px 0 4px;
  font-size: 22px;
}
.auth-card h2 span{
  color: #3b6df6;
}
.subtitle{
  text-align: center;
  color: #7a88a6;
  margin-bottom: 20px;
}

/* Inputs */
.input-box{
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.input-box input{
  border: 0;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
}
.input-box .icon,
.input-box .eye{
      font-size: 16px;
    color: #7a88a6;
    display: flex;
    padding-right: 10px;
}

.input-box .icon img, .input-box .eye img{
        width: 20px;
    height: auto;
}

/* Links */
.forgot{
  display: block;
  text-align: right;
  font-size: 13px;
  color: #3b6df6;
  margin-bottom: 16px;
  text-decoration: none;
}

/* Primary button */
.primary-btn{
  width: 100%;
  height: 45px;
  border: 0;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg,#3b6df6,#5a8bff);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 24px rgba(59,109,246,0.4);
  display: flex;
  justify-content: center;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: block;
  animation: spin 0.7s linear infinite;
}

.primary-btn .hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* Divider */
.divider{
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #8a96b2;
  font-size: 13px;
}
.divider::before,
.divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe3ff;
}
.divider span{
  padding: 0 10px;
}

/* Social buttons */
.social-btn{
  /*width: 100%;*/
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e3e9ff;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 12px;
   cursor: default;
}
.social-btn img{
  width: 22px;
}

/* Bottom */
.bottom-text{
  text-align: center;
  font-size: 13px;
  color: #7a88a6;
}
.bottom-text a{
  color: #3b6df6;
  font-weight: 600;
  text-decoration: none;
}

.toggle-btn{
  transition: all 0.3s ease;
}

.input-box{
  transition: all 0.3s ease;
}

.hidden{
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.extra-login{
        display: flex;
    gap: 10px;
    justify-content: center;
}

/* ===== AUTH ERROR (Premium) ===== */
.auth-error{
  display: none;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 235, 238, 0.95),
    rgba(255, 245, 245, 0.95)
  );
  border-radius: 16px;
  padding: 14px 16px 14px 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: #b71c1c;
  margin-bottom: 16px;
  box-shadow:
    0 10px 26px rgba(198,40,40,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  animation: errorSlideIn 0.45s ease;
}

/* left icon bubble */
.auth-error::before{
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg,#e53935,#ff6b6b);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(229,57,53,0.4);
  font-size: 14px;
}

/* subtle top glow line */
.auth-error::after{
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229,57,53,0.6),
    transparent
  );
}

/* animation */
@keyframes errorSlideIn{
  from{
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ===== TELEGRAM WAIT STATE ===== */
.telegram-wait{
  text-align: center;
  animation: fadeInUp 0.45s ease;
}

.tg-icon{
  font-size: 42px;
  margin-bottom: 6px;
}

.telegram-wait h2{
  margin-top: 8px;
}

.tg-steps{
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
  color: #5c6c9a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.tg-steps div{
  margin: 6px 0;
}

.waiting-btn{
  opacity: 0.8;
  cursor: default;
}

.cancel-btn{
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e3e9ff;
  background: #fff;
  font-weight: 600;
  color: #3b6df6;
  cursor: pointer;
}

.cancel-btn:hover{
  background: #eef3ff;
}

/* animation */
@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


    /* CARD */
.wallet-card {
    /*max-width: 360px;*/
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(37,99,235,.18);
    background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    margin: 20px;
}

/* HEADER */
.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.wallet-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1f2d5a;
}

.balance {
  background: #e7efff;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: #2f6df6;
}

.balance strong{
    color: #000;
}

/* INPUT */
.amount-input {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 2px solid #0040ff2e;
}

.amount-input span {
  font-size: 18px;
  color: #2f6df6;
  margin-right: 6px;
  padding-right: 6px;
  border-right: 1px solid #6a6a6a70;
}

.amount-input input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

/* SUGGESTIONS */
.amount-suggestions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.amount-suggestions button {
    border: 2px solid #0040ff2e;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 14px;
    font-weight: 600;
    color: #2f6df6;
    cursor: default;
    transition: 0.2s;
}

.amount-suggestions button strong {
    color: #000;
}

.amount-suggestions button:hover {
  background: #e1eaff;
}

/* SUBMIT */
.submit-btn {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4f8cff, #2f6df6);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 25px rgba(47,109,246,0.4);
}

.add-fund{
        display: flex;
    justify-content: center;
}
.add-fund span{
       display: flex;
    justify-content: center;
    /* margin-bottom: 10px; */
    background: linear-gradient(135deg, #4f8cff, #2f6df6);
    width: 70%;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 6px;
    font-weight: 500;
}


.history-card{
  /*max-width:360px;*/
  background: linear-gradient(180deg,#f7faff,#eef4ff);
  border-radius:20px;
  padding:16px;
  margin: 20px;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  font-family: Inter, sans-serif;
}

/* HEADER */
.history-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.history-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:18px;
  color:#1f2d5a;
}

.history-title .check{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#4f8cff;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}

/* TOGGLE */
.switch{
  position:relative;
  width:46px;
  height:26px;
}
.switch input{display:none;}
.slider{
  position:absolute;
  inset:0;
  background:#4f8cff;
  border-radius:30px;
}
.slider::before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  background:#fff;
  border-radius:50%;
  top:2px;
  left:22px;
}

/* LIST */
.history-list{
      background: #fff;
    border-radius: 18px;
    overflow: hidden;
    overflow-y: auto;
    max-height: 70vh;
}

/* ITEM */
.history-item{
  display:flex;
  gap:12px;
  padding:14px;
  border-bottom:1px solid #eef2ff;
  align-items:flex-start;
}

.history-item:last-child{
  border-bottom:none;
}

.history-card .icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:#e9f6f1;
  color:#28a745;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
}

.details{
  flex:1;
}

.details h4{
  margin:0;
  font-size:20px;
  color:#1f2d5a;
}

.details p{
  margin:4px 0 6px;
  font-size:14px;
  color:#7b89b6;
}

.details2{
        flex: 1;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.time{
  font-size:12px;
  color:#7b89b6;
  white-space:nowrap;
}

/* STATUS */
.status{
  display:flex;
  align-items:center;
  gap:6px;
}

.dot{
 display: flex;
}

.dot img{
        width: 20px;
    height: auto;
}

.badge{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

.badge.success{
  background:#eafaf1;
  color:#2ecc71;
}

.badge.failed{
  background:#ffecee;
  color:#ff4d4f;
}

.badge.pending{
  background:#fff5dd;
  color:#f5b942;
}


.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
  margin: 16px;
  
  background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

/* Background Image */
/*.product-card .card-img {*/
/*      width: 100%;*/
/*    height: 160px;*/
/*    object-fit: cover;*/
/*    object-position: top;*/
/*}*/

.image-wrap{
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #eef3ff;
}

/* BLUR BACKGROUND IMAGE */
.img-blur{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.2); /* blur edges hide karne ke liye */
    opacity: 0.7;
}

/* MAIN IMAGE (NO CROP) */
.img-main{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    z-index: 2;
}

/* Content */
.card-content {
  padding: 16px;
}

/* Header */
.card-header h3 {
  margin: 8px 0 4px;
  font-size: 18px;
  color: #0f2f5c;
}

.card-header h3 span {
  font-weight: 600;
}

.card-header p {
  font-size: 13px;
  color: #6b7a99;
}

.game-logo {
  width: 90px;
}

/* Inputs */
.form-group {
  margin-top: 14px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #556;
}

.form-group input {
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #e4ebf5;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
  border-color: #3b82f6;
}

/* Row */
.form-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

/* Verify Button */
.verify-btn {
      padding: 5px 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 14px;
    cursor: default;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
    display: flex;
    align-items: center;
    gap: 2px;
    /*border: 1px solid #0069ff;*/
}

.verify-btn span{
    display: flex;
}

.verify-btn span img{
    width: 20px;
}

/* Verified */
.verified {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #16a34a;
}

.tick {
  background: #16a34a;
  color: #fff;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}

.features-badge{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.features-badge > div{
    display: flex;
    gap: 5px;
    background-color: #0095ff1f;
    border: 1px solid #0040ff2e;
    padding: 5px 8px;
    border-radius: 6px;
    align-items: center;
}

.features-badge div span{
    display: flex;
}

.features-badge div span img{
    width: 12px;
}

.features-badge div p{
       white-space: nowrap;
    font-size: 10px;
    font-weight: 500;
}


/*.category-card{*/
/*     background-color: #fff;*/
/*    padding: 20px;*/
/*    margin: 16px;*/
/*    box-shadow: 0 14px 36px rgba(37,99,235,.18);*/
    /* background-image: url("/assets/images/bg.webp"); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
/*    border-radius: 20px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*}*/

/*.category-card h3{*/
/*  font-size: 18px;*/
/*  margin: 0;*/
/*  color: #0f2f5c;*/
/*}*/

/*.category-card p{*/
/*  margin: 4px 0 14px;*/
/*  font-size: 13px;*/
/*  color: #6b7a99;*/
/*}*/

/* GRID */
/*.category-grid{*/
/*  display: grid;*/
/*  grid-template-columns: repeat(4, 1fr);*/
/*  gap: 12px;*/
/*}*/

.category-card{
  background: #fff;
  padding: 20px;
  margin: 16px;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card h3{
  font-size: 18px;
  margin: 0;
  color: #0f2f5c;
}

.category-card p{
  margin: 4px 0 14px;
  font-size: 13px;
  color: #6b7a99;
}

/* ===== GRID ===== */
.category-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ===== CATEGORY ITEM ===== */
.cat-item{
  position: relative;
  background: linear-gradient(180deg,#f8fafc,#eef2ff);
  border-radius: 14px;
  padding: 14px 8px;
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: .25s ease;
  overflow-x: hidden;
}

.cat-item img{
  width: 36px;
  margin-bottom: 6px;
}

.cat-item span{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

/* hover */
.cat-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* ===== ACTIVE STATE ===== */
.cat-item.active{
  border-color: #3b82f6;
  background: linear-gradient(180deg,#eef4ff,#ffffff);
  box-shadow: 0 14px 30px rgba(59,130,246,.35);
}

/* ===== TICK BADGE ===== */
.cat-item .tick-badge{
  position: absolute;
  top: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: .2s ease;
}

.cat-item.active .tick-badge{
  opacity: 1;
  transform: scale(1);
}

.cat-item:active{
  transform: scale(.96);
}


/* ITEM */
/*.cat-item{*/
/*  background: #fff;*/
/*  border-radius: 14px;*/
/*  padding: 14px 8px;*/
/*  text-align: center;*/
/*  box-shadow: 0 6px 16px rgba(0,0,0,0.06);*/
/*  border: 2px solid transparent;*/
/*  cursor: default;*/
/*  transition: .2s ease;*/
/*}*/

/*.cat-item img{*/
/*  width: 45px;*/
/*  height: 45px;*/
/*  object-fit: contain;*/
  /*margin-bottom: 6px;*/
/*}*/

/*.cat-item span{*/
/*  font-size: 13px;*/
/*  font-weight: 500;*/
/*  color: #0f2f5c;*/
/*  white-space: nowrap;*/
/*}*/

/* ACTIVE STATE */
/*.cat-item.active{*/
/*  border-color: #3b82f6;*/
/*  background: linear-gradient(180deg, #eaf1ff, #ffffff);*/
/*  box-shadow: 0 10px 26px rgba(59,130,246,.35);*/
/*}*/

/*.cat-item.active span{*/
/*  color: #2563eb;*/
/*}*/

/* HOVER */
/*.cat-item:hover{*/
/*  transform: translateY(-2px);*/
/*}*/


.package-grid{
      /*position: relative;*/
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 36px rgba(37,99,235,.18);
    margin: 16px;
    /*background-image: url("/assets/images/bg.webp");*/
    /*background-size: cover;*/
    /*background-position: bottom;*/
    /*background-repeat: no-repeat;*/
  padding: 10px;
}

.package-card{
     background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    border: 3px solid #e9e9e9;
    cursor: default;
    transition: .25s ease;
    margin: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.package-card:hover{
  transform: translateY(-3px);
}

/* Active selected */
.package-card.active{
  border-color: #3b82f6;
  box-shadow: 0 14px 36px rgba(59,130,246,.35);
}

/* Image box */
.package-img{
      background: linear-gradient(180deg,#eef3ff,#ffffff);
    border-radius: 12px;
    padding: 10px;
    background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 15px;
    /* box-shadow: 0 14px 36px rgba(37,99,235,.18); */
    border: 1px solid #004aff1c;
}

.package-img img{
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* Text */
.package-info{
  margin-top: 8px;
}

.qty{
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.qty-1{
  font-size: 13px;
  font-weight: 100;
  color: #1e293b;
}

.package-grid .price{
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
  margin-top: 4px;
}

.package-grid .price strong{
color: #000;
font-size: 20px;
}

.package-grid{
  display: grid;
  gap: 15px;
}

/* 📱 Mobile: 2 per row */
@media (max-width: 767px){
  .package-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📟 Tablet: 5 per row */
@media (min-width: 768px) and (max-width: 1023px){
  .package-grid{
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 💻 Laptop/Desktop: 7 per row */
@media (min-width: 1024px){
  .package-grid{
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ===== SHIMMER BASE ===== */
.package-grid .shimmer {
  position: relative;
  overflow: hidden;
}

/* moving light */
.package-grid .shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ===== SHIMMER BLOCKS ===== */
 .package-grid .shimmer-box {
  height: 70px;
  border-radius: 12px;
  background: #e5e7eb;
  margin-bottom: 8px;
}

.package-grid .shimmer-line {
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  margin: 6px auto;
}

.package-grid .shimmer-line.sm { width: 60%; }
.package-grid .shimmer-line.md { width: 75%; }
.package-grid .shimmer-line.lg { width: 90%; }

/* Remove hover / border effect */
.package-grid .shimmer.package-card {
  border: 0;
  box-shadow: none;
  cursor: default;
}

.p-card{
  background: linear-gradient(180deg,#f9fafb,#f1f5f9);
  border-radius: 14px;
  padding: 14px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform .2s ease, box-shadow .2s ease;
}

.p-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* subtle glow */
.p-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,.6),
    transparent 70%);
  opacity: .5;
  pointer-events: none;
}

/* ===== Amount Section ===== */
.p-card .amounts{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-card .amounts p{
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.p-card .amounts span{
  font-size: 13px;
  color: #475569;
}

/* ===== Price Row ===== */
.p-card .price{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-card .price p{
  font-size: 17px;
  font-weight: 900;
  color: #2563eb;
}

/* diamond icon container */
.p-card .price div{
  /*background: #e0e7ff;*/
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card .price div[data-type="codcp"]{
  background: linear-gradient(135deg,#fff3c4,#facc15);
}

.p-card .price div[data-type="diamond"]{
  background: linear-gradient(135deg,#e0f2fe,#bfdbfe);
}

.p-card .price div[data-type="pass"]{
  background: linear-gradient(135deg, #fef4e0, #feefbf);
}

.p-card .price div[data-type="2x-diamond"]{
  background: linear-gradient(135deg,#e0f2fe,#bfdbfe);
}

.p-card .price div[data-type="package"]{
  background: linear-gradient(135deg, #fef4e0, #feefbf);
}

.p-card .price div img{
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.p-card .badge{
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.p-card.active{
  border-color: #3b82f6;
  box-shadow: 0 16px 40px rgba(59,130,246,.35);
}

.p-card:active{
  transform: scale(.97);
}

/* ===== Tick Badge ===== */
.tick-badge{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: .2s ease;
}

/* ===== Active Card ===== */
/*.p-card.active{*/
/*  border-color: #22c55e;*/
/*  box-shadow: 0 16px 40px rgba(34,197,94,.35);*/
/*}*/

.p-card.active .tick-badge{
  opacity: 1;
  transform: scale(1);
}

/*.p-card{*/
/*        background-color: #d6d6d6;*/
/*    border-radius: 5px;*/
/*    padding: 15px;*/
/*        box-sizing: border-box;*/
/*    overflow-x: hidden;*/
/*}*/

/*.p-card .amounts{*/
/*        display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.p-card .amounts p{*/
/*        font-size: 15px;*/
/*    font-weight: 800;*/
/*}*/

/*.p-card .amounts span{*/
/*    font-size: 13px;*/
/*}*/


/*.p-card .price{*/
/*        display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.p-card .price p{*/
/*        font-size: 15px;*/
/*    font-weight: 900;*/
/*}*/

/*.p-card .price div{*/
    
/*}*/

/*.p-card .price div img{*/
/*    width: 35px;*/
/*}*/

   .payment-card{
  background: #f4f7ff;
  border-radius: 18px;
  padding: 16px;
  margin: 16px;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
}

/* summary */
.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.summary-row.sub{
  margin-top:4px;
}

.label{
  font-size:13px;
  color:#6b7a99;
}

.value{
  font-size:14px;
  font-weight:600;
  color:#0f2f5c;
}

.payment-card .price{
  font-size:18px;
  font-weight:700;
  color:#0f2f5c;
}

/* payment method */
.payment-method{
  margin-top:14px;
  background:#f8faff;
  border-radius:14px;
  /*padding:12px;*/
}

.payment-method h4{
  margin:0 0 10px;
  font-size:14px;
  color:#0f2f5c;
}

.method{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  border-radius:12px;
  padding:10px;
  border:2px solid #00000024;
}

.method.disabled{
  opacity: .45;
  pointer-events: none;
  filter: grayscale(1);
}

.method.split::after{
  content: "Split Payment";
  font-size: 11px;
  color: #2563eb;
  font-weight: 600;
}

.method.full::after{
  content: "Full Payment";
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
}

.method.active{
  border-color:#3b82f6;
}

.left{
  display:flex;
  align-items:center;
  gap:8px;
}

.check{
  display: flex;
}

.check img{
    width: 15px;
    height: 15px;
}

.icon{
  width:20px;
}

.method span{
  font-size:14px;
  font-weight:600;
}

.method small{
  font-weight:400;
  color:#6b7a99;
}

.amt{
  font-size:16px;
  font-weight:700;
}

/* upi */
.upi-box{
  display:flex;
  gap:14px;
  margin-top:10px;
}

.upi-box img{
  height:20px;
  object-fit:contain;
}

.method .check img{
        border: 1px solid #00000024;
    border-radius: 10px;
    width: 15px;
    height: 15px;
}

/* amount */
.amount-row{
  display:flex;
  justify-content:space-between;
  margin:14px 0;
  font-size:16px;
  color:#0f2f5c;
}

/* pay button */
.pay-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:linear-gradient(135deg,#3b82f6,#2563eb);
  color:#fff;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  /*box-shadow:0 10px 26px rgba(59,130,246,.4);*/
  display: flex;
  justify-content: center;
  height: 6vh;
  align-items: center;
}

.low-balance{
  color:#ef4444 !important;
  font-size:12px;
  display: none;
}


.legal-card{
  background:#ffffff;
  border-radius:20px;
  padding:22px;
  margin:16px;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  background-image:url("/assets/images/bg.webp");
  background-size:cover;
  background-position:top;
  background-repeat:no-repeat;
}

.legal-card h2{
  font-size:22px;
  color:#0f2f5c;
  margin-bottom:12px;
}

.legal-card h3{
  font-size:16px;
  color:#1e40af;
  margin-top:18px;
  margin-bottom:6px;
}

.legal-card p{
  font-size:14px;
  color:#475569;
  line-height:1.7;
  margin-bottom:10px;
}

.legal-card ul{
  padding-left:18px;
  margin:6px 0 12px;
}

.legal-card li{
  font-size:14px;
  color:#475569;
  margin-bottom:6px;
}

.legal-muted{
  font-size:12px;
  color:#64748b;
  margin-top:14px;
}

/*.toast-container{*/
/*    position: fixed;*/
/*    top: 50px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    z-index: 9999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*    width: 90%;*/
/*    padding: 20px;*/
/*    box-sizing: border-box;*/
/*    box-shadow: 0 14px 36px rgba(37,99,235,.18);*/
/*    border-radius: 20px;*/
/*    background-color: #ffffff;*/
/*    border: 1px solid #004aff33;*/
/*}*/

/*.toast-container .toast-text{*/
/*        display: flex;*/
/*    flex-direction: column;*/
/*    margin-left: 75px;*/
/*}*/

/*.toast-container.error{*/
/*    background-image: url("/assets/images/alert-error.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*.toast-container.success{*/
/*    background-image: url("/assets/images/alert-success.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*.toast-container.warning{*/
/*    background-image: url("/assets/images/alert-warn.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/


/* Root container */
.toast-root {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 10px;

  width: calc(100% - 32px);
  max-width: 380px;

  pointer-events: none;
}

/* Toast card */
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 12px;

  background: #ffffff;
  color: #0f172a;

  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.08);

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;

  animation: toast-in .25s ease;
}

/* Icon wrapper */
.toast-icon {
  /*width: 20px;*/
  /*height: 20px;*/
  margin-top: 2px;
  flex-shrink: 0;
}

.toast-icon img{
        width: 35px;
    height: 35px;
}

/* Text */
.toast-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.toast-msg {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.85;
  margin-top: 2px;
}

/* Types */
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid #ef4444; }
.toast.warning { border-left: 4px solid #f59e0b; }

/* Animations */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-6px) scale(.96);
  }
}

/* ========== ORDER INFO WRAPPER ========== */
.order-info {
  /*max-width: 420px;*/
  margin: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 45%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(37,99,235,.15);
  padding: 20px;
  animation: fadeUp .5s ease;
  display: none;
}

/* ========== STATUS ICON ========== */
.order-info .status-icon {
      /* width: 84px; */
    height: 130px;
    margin: 10px auto 12px;
    border-radius: 50%;
    /* background: #22c55e; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 12px 30px rgba(34,197,94,.45); */
}

.order-info .status-icon img {
  /*width: 46px;*/
  /*height: 46px;*/
  width: 100%;
}

/* ========== TITLES ========== */
.order-info .status-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0;
}

.order-info .status-sub {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  max-width: 260px;
  margin: 0 auto 16px;
}

/* ========== CARD ========== */
.order-info .card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-radius: 18px;
  padding: 16px;
  margin-top: 16px;
  border: 1px solid #eaf0ff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* ========== ORDER CARD ========== */
.order-info .order-card {
  position: relative;
  overflow: hidden;
}

.order-info .order-card::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: url('/assets/images/bg.webp') no-repeat;
  background-size: contain;
  opacity: .35;
  pointer-events: none;
}

/* ========== ROWS ========== */
.order-info .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.order-info .space {
  padding-bottom: 10px;
  border-bottom: 1px dashed #dbe7ff;
}

.order-info .label {
  color: #2563eb;
  font-weight: 600;
}

.order-info .order-id {
  font-weight: 700;
}

/* ========== GAME INFO ========== */
.order-info .game {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  align-items: center;
}

.order-info .game img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.order-info .game h3 {
  font-size: 16px;
  margin: 0;
  line-height: 1.3;
  color: #0f2f5c;
}

/* ========== USER INFO ========== */
.order-info .info {
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  padding-left: 0;
}

.order-info .info div {
  margin-bottom: 4px;
}

/* ========== SUMMARY ========== */
.order-info .summaryText {
  font-size: 18px;
  font-weight: 700;
  color: #0f2f5c;
  margin-bottom: 8px;
}

.order-info .summary {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(135deg, #f0f6ff, #ffffff);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.order-info .price {
  color: #2563eb;
}

/* ========== PAYMENT ========== */
.order-info .payment {
  margin-top: 12px;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info .payment span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.order-info .payment img {
  width: 22px;
}

/*.order-info .paid {*/
/*  background: #dcfce7;*/
/*  color: #16a34a;*/
/*  padding: 4px 12px;*/
/*  border-radius: 20px;*/
/*  font-size: 12px;*/
/*  box-shadow: 0 6px 14px rgba(34,197,94,.25);*/
/*}*/

/* common badge */
.order-info .paid{
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* PENDING */
.order-info .paid.pending{
  background: #fef9c3;
  color: #a16207;
  box-shadow: 0 6px 14px rgba(234,179,8,.25);
}

/* SUCCESS */
.order-info .paid.success{
  background: #dcfce7;
  color: #16a34a;
  box-shadow: 0 6px 14px rgba(34,197,94,.25);
}

/* FAILED */
.order-info .paid.failed{
  background: #fee2e2;
  color: #dc2626;
  box-shadow: 0 6px 14px rgba(239,68,68,.25);
}

/* CANCELLED */
.order-info .paid.cancelled{
  background: #e5e7eb;
  color: #374151;
  box-shadow: 0 6px 14px rgba(107,114,128,.25);
}

/* ========== DATE ========== */
.order-info .datetime {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  background: #f9fbff;
  padding: 8px 10px;
  border-radius: 10px;
}

/* ========== BUTTON ========== */
.order-info .btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: .25s;
}

.order-info .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37,99,235,.15);
}

.order-info .btn img {
  width: 20px;
}

/* ========== ANIMATION ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-info-s {
  /*max-width: 420px;*/
  margin: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 45%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(37,99,235,.15);
  padding: 20px;
  animation: fadeUp .5s ease;
  /*display: none;*/
}

.order-info-s.shimmer-wrap .sh-card{
  background:#fff;
  border-radius:16px;
  padding:14px;
  margin-bottom:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.order-info-s .shimmer{
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 10px;
}

.order-info-s .shimmer::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:60%;
  height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: shimmerMove 1.2s infinite;
}

@keyframes shimmerMove{
  0%{ left:-60%; }
  100%{ left:120%; }
}

/* sizes */
.order-info-s .sk-icon{ width:60px; height:60px; border-radius:50%; margin: 0 auto; }
.order-info-s .sk-title{ height:18px; width:60%; margin:12px auto; }
.order-info-s .sk-sub{ height:14px; width:80%; margin:10px auto; }

.order-info-s .sk-line{ height:14px; width:100%; margin:10px 0; }
.order-info-s .sk-small{ width:40%; }
.order-info-s .sk-mid{ width:70%; }

.order-info-s .sk-game{ display:flex; align-items:center; gap:10px; margin:12px 0; }
.order-info-s .sk-game-img{ width:46px; height:46px; border-radius:12px; }
.order-info-s .sk-game-title{ height:16px; width:70%; }

.order-info-s .sk-btn{ height:44px; width:100%; border-radius:14px; margin-top:12px; }


.error-404-wrapper {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f5f9ff, #eef4ff);
    padding: 20px;
    box-sizing: border-box;
}

.error-card {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 80, 255, 0.12);
}

.error-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f8cff, #2b6cff);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-card h2 {
    font-size: 22px;
    color: #1c2b5a;
    margin-bottom: 10px;
}

.error-card p {
    font-size: 14px;
    color: #6b7a99;
    line-height: 1.6;
    margin-bottom: 25px;
}

.error-404-wrapper .btn-home {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4f8cff, #2b6cff);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404-wrapper .btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(43, 108, 255, 0.35);
}