@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface-2:#f9fafc;
  --text:#171923;
  --muted:#6b7280;
  --faint:#9ca3af;
  --border:#e7e9ef;
  --primary:#6d5dfc;
  --primary-2:#8b5cf6;
  --success:#16a34a;
  --danger:#ef4444;
  --shadow:0 10px 30px rgba(20,24,40,.07);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5;
}
a{color:inherit}
button,input{font:inherit}
button{cursor:pointer}
.display{font-family:"Space Grotesk","DM Sans",sans-serif}
.mono{font-variant-numeric:tabular-nums}
.text-muted{color:var(--muted)}
.text-faint{color:var(--faint)}

.wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:18px;
}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo-badge,.game-badge{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:#fff;
  font-weight:700;
}
.logo-badge{
  width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
}
.logo-text{font-size:20px;font-weight:700}
.logo-text span{color:var(--primary)}

.search-box{
  margin-left:auto;
  width:min(380px,42vw);
  height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 13px;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:12px;
}
.search-box input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
}
.icon{opacity:.55}
.nav-link{
  border:0;
  background:transparent;
  color:var(--text);
  font-weight:600;
}

.ticker{
  background:#171923;
  color:#fff;
  font-size:12px;
}
.ticker-inner{
  min-height:34px;
  display:flex;
  align-items:center;
  gap:9px;
  overflow:hidden;
}
.ticker-live{display:flex;align-items:center;gap:6px;color:#b8ffcf}
.dot{
  width:7px;height:7px;border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
}
.ticker-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.hero{
  margin:28px 0 20px;
  padding:32px;
  border:1px solid var(--border);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 20%,rgba(109,93,252,.15),transparent 30%),
    linear-gradient(135deg,#fff,#f7f6ff);
  box-shadow:var(--shadow);
}
.eyebrow{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#efedff;
  color:#5b4ee8;
  font-size:11px;
  font-weight:700;
}
.hero h1{
  margin:14px 0 8px;
  font-size:clamp(32px,5vw,52px);
  line-height:1.03;
  letter-spacing:-1.8px;
}
.grad{
  background:linear-gradient(90deg,var(--primary),#b44cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p{max-width:650px;margin:0;color:var(--muted);font-size:15px}

.stat-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:26px;
}
.stat-card{
  padding:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.8);
  border-radius:14px;
}
.stat-card .num{font-size:22px;font-weight:700}
.stat-card .label{margin-top:2px;color:var(--muted);font-size:12px}

.tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:2px 0 14px;
  scrollbar-width:none;
}
.tabs::-webkit-scrollbar{display:none}
.tab{
  flex:0 0 auto;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:600;
}
.tab:hover,.tab.active{
  background:#171923;
  color:#fff;
  border-color:#171923;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.game-card{
  min-width:0;
  display:block;
  padding:16px;
  text-decoration:none;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 4px 18px rgba(20,24,40,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.game-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#d9d5ff;
}
.game-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.game-badge{
  width:52px;height:52px;border-radius:15px;
  font-size:16px;
}
.pill-popular,.badge-promo{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  background:#fff0f1;
  color:#e11d48;
  font-size:9px;
  font-weight:700;
}
.game-name{margin-top:13px;font-weight:700;font-size:15px}
.game-cat{margin-top:2px;color:var(--muted);font-size:11px}
.game-eta{margin-top:11px;color:#6b5cf6;font-size:11px;font-weight:600}

.empty-state{
  padding:35px 15px;
  text-align:center;
  color:var(--muted);
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:24px 0 38px;
}
.trust-card{
  display:flex;gap:12px;align-items:flex-start;
  padding:17px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
}
.trust-card>div:first-child{font-size:20px}
.t-title{font-size:13px;font-weight:700}
.t-desc{margin-top:2px;font-size:11px;color:var(--muted)}

.footer{
  padding:30px 0 45px;
  color:var(--muted);
  font-size:12px;
}
.footer .logo-text{font-size:16px}
.note{margin:10px 0 0}

.panel{
  width:min(760px,calc(100% - 32px));
  margin:28px auto 50px;
}
.back-link{
  display:inline-flex;
  margin-bottom:16px;
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.back-link:hover{color:var(--text)}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  margin-bottom:14px;
  box-shadow:0 4px 18px rgba(20,24,40,.035);
}
.field-label{
  display:block;
  margin-bottom:8px;
  color:#4b5563;
  font-size:12px;
  font-weight:600;
}
.input-row{display:flex;gap:10px}
.text-input{
  width:100%;
  height:44px;
  padding:0 13px;
  border:1px solid #d9dce5;
  border-radius:11px;
  outline:0;
  background:#fff;
  color:var(--text);
}
.text-input:focus{
  border-color:#9b92ff;
  box-shadow:0 0 0 4px rgba(109,93,252,.1);
}
.mb-sm{margin-bottom:10px}
.mb-md{margin-bottom:16px}

.denom-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.denom-option{
  position:relative;
  padding:14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:.15s ease;
}
.denom-option:hover{border-color:#aaa1ff}
.denom-option.selected{
  border-color:var(--primary);
  background:#f6f4ff;
  box-shadow:0 0 0 2px rgba(109,93,252,.1);
}
.d-name{font-size:13px;font-weight:600;padding-right:8px}
.d-price{margin-top:5px;font-size:12px;color:#5b4ee8;font-weight:700}
.badge-promo{
  position:absolute;
  top:8px;right:8px;
  font-size:8px;
}

.row-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.btn{
  min-height:44px;
  border-radius:11px;
  border:1px solid transparent;
  padding:0 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  transition:.15s ease;
}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
  box-shadow:0 8px 18px rgba(109,93,252,.22);
}
.btn-primary:hover{filter:brightness(.97);transform:translateY(-1px)}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}
.btn-ghost{
  background:#fff;
  border-color:var(--border);
  color:var(--text);
}
.btn-block{width:100%}

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.step{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  font-size:12px;
}
.step-dot{
  width:28px;height:28px;
  display:grid;place-items:center;
  flex:0 0 auto;
  border-radius:50%;
  background:#f0f1f5;
  color:#7b8190;
  font-weight:700;
}
.step-dot.done{
  background:#dcfce7;
  color:#15803d;
}
.step.done{color:var(--text)}
.step-label{font-weight:600}

.method-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.method-option{
  display:flex;align-items:center;gap:10px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.m-name{font-size:13px;font-weight:700}
.m-desc{font-size:11px;color:var(--muted);margin-top:2px}

.qris-box{
  margin:18px auto 0;
  width:min(280px,100%);
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  text-align:center;
}
.qris-box img{display:block;max-width:100%;height:auto;margin:auto}

.status-pill{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}
.status-pending{background:#fff7ed;color:#c2410c}
.status-paid{background:#dcfce7;color:#15803d}
.status-failed,.status-expired{background:#fee2e2;color:#b91c1c}

@media (max-width:900px){
  .grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:680px){
  .wrap{width:min(100% - 22px,1120px)}
  .header-inner{min-height:64px}
  .search-box{order:3;width:100%;margin:0 0 10px}
  .header-inner{flex-wrap:wrap;padding:10px 0}
  .nav-link{margin-left:auto}
  .hero{padding:23px;margin-top:18px;border-radius:18px}
  .hero h1{font-size:35px}
  .stat-row{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .game-card{padding:13px}
  .trust-grid{grid-template-columns:1fr}
  .panel{width:min(100% - 22px,760px);margin-top:18px}
  .denom-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .input-row{flex-direction:column}
  .method-grid{grid-template-columns:1fr}
  .row-between{align-items:flex-start}
}
@media (max-width:390px){
  .grid{grid-template-columns:1fr}
  .denom-grid{grid-template-columns:1fr}