/* TOKOIJO — Pameran Games Online Promo Topup Voucher */
:root{
  --bg:#04192f;
  --bg-2:#062544;
  --card:#0a2f55;
  --card-2:#0d3a69;
  --line:#16497e;
  --blue:#118eea;
  --blue-2:#3fb0ff;
  --blue-3:#0b6fd1;
  --text:#eaf4ff;
  --muted:#9bb8d6;
  --promo:#ff3d5a;
  --gold:#ffc53d;
  --radius:14px;
  --radius-lg:20px;
  --shadow:0 10px 30px rgba(0,10,30,.45);
  --max:1120px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-bottom:76px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--blue-2);text-decoration:none}
a:hover{color:#fff}
.container{max-width:var(--max);margin:0 auto;padding:0 16px}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(4,25,47,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(63,176,255,.12);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;letter-spacing:.5px}
.brand img{width:38px;height:38px;border-radius:10px;object-fit:cover}
.brand span{font-size:1.15rem}
.brand small{display:block;font-size:.66rem;font-weight:600;color:var(--blue-2);letter-spacing:1.5px;line-height:1}
.main-nav ul{display:flex;list-style:none;gap:4px}
.main-nav a{
  display:block;padding:8px 14px;border-radius:999px;
  color:var(--muted);font-weight:600;font-size:.92rem;
}
.main-nav a:hover,.main-nav a.active{color:#fff;background:var(--card)}
.btn-login{
  background:#fff;color:var(--bg);font-weight:800;font-size:.8rem;
  padding:8px 16px;border-radius:8px;letter-spacing:.5px;white-space:nowrap
}
.btn-login:hover{background:var(--blue-2);color:#fff}

/* ===== Hero slider ===== */
.hero{padding:18px 0 8px}
.slider{position:relative;overflow:hidden;border-radius:var(--radius-lg)}
.slides{display:flex;transition:transform .6s cubic-bezier(.22,.8,.3,1)}
.slide{
  flex:0 0 100%;
  display:grid;grid-template-columns:1.1fr .9fr;align-items:center;
  min-height:320px;
  background:linear-gradient(115deg,#0b6fd1 0%,#083f7a 55%,#04192f 100%);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.slide:nth-child(2){background:linear-gradient(115deg,#1b2a6b 0%,#0a2f55 60%,#04192f 100%)}
.slide:nth-child(3){background:linear-gradient(115deg,#0e7fb8 0%,#0a3d6e 60%,#04192f 100%)}
.slide:nth-child(4){background:linear-gradient(115deg,#1f4fd6 0%,#0b2d66 60%,#04192f 100%)}
.slide-text{padding:34px 40px}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  padding:5px 12px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:1px
}
.slide-text h2{font-size:clamp(1.4rem,3.2vw,2.3rem);line-height:1.15;margin:12px 0 10px;font-weight:800}
.slide-text p{color:#d4e7fb;margin-bottom:18px;max-width:440px}
.slide-img{height:100%;position:relative}
.slide-img img{width:100%;height:100%;object-fit:cover;min-height:320px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
.slider-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(4,25,47,.7);color:#fff;font-size:1.2rem;z-index:3
}
.slider-btn:hover{background:var(--blue)}
.slider-btn.prev{left:12px}.slider-btn.next{right:12px}
.dots{display:flex;justify-content:center;gap:6px;margin-top:12px}
.dots button{width:8px;height:8px;border-radius:999px;border:0;background:#2b527c;cursor:pointer;transition:.3s}
.dots button.active{width:24px;background:var(--blue-2)}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 22px;border-radius:10px;font-weight:700;font-size:.92rem;border:0;cursor:pointer;
  background:var(--blue);color:#fff;transition:.2s
}
.btn:hover{background:var(--blue-2);color:#fff;transform:translateY(-1px)}
.btn-ghost{background:transparent;border:1.5px solid var(--blue-2);color:var(--blue-2)}
.btn-ghost:hover{background:var(--blue-2);color:#04192f}
.btn-wa{background:#1faa59}.btn-wa:hover{background:#25d366}

/* ===== Sections ===== */
.section{padding:34px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.section-title{font-size:1.3rem;font-weight:800;display:flex;align-items:center;gap:8px}
.section-title .emoji{font-size:1.2rem}
.panel{
  background:var(--bg-2);border:1px solid rgba(63,176,255,.1);
  border-radius:var(--radius-lg);padding:22px
}

/* Page hero (inner pages) */
.page-hero{
  margin-top:18px;border-radius:var(--radius-lg);overflow:hidden;position:relative;
  background:linear-gradient(115deg,#0b6fd1,#083f7a 60%,#04192f);
  display:grid;grid-template-columns:1.2fr .8fr;align-items:center;min-height:230px
}
.page-hero .txt{padding:30px 36px}
.page-hero h1{font-size:clamp(1.4rem,3vw,2.1rem);line-height:1.2;margin:10px 0}
.page-hero p{color:#d4e7fb;max-width:520px}
.page-hero img{height:100%;width:100%;object-fit:cover;min-height:230px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 35%);mask-image:linear-gradient(90deg,transparent 0,#000 35%)}
.breadcrumb{font-size:.8rem;color:#cfe3f7}
.breadcrumb a{color:#fff;font-weight:600}
.breadcrumb span{opacity:.6;margin:0 6px}

.home-h1{font-size:clamp(1.2rem,2.4vw,1.6rem);font-weight:800;margin:24px 0 4px}
.lead{color:var(--muted)}

/* ===== Game cards (DANA style) ===== */
.grid-trend{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.grid-all{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.game-card{
  position:relative;background:var(--card);border-radius:var(--radius);
  overflow:hidden;border:1px solid rgba(63,176,255,.12);
  transition:transform .25s,box-shadow .25s,border-color .25s;color:var(--text)
}
.game-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--blue-2);color:#fff}
.game-card .thumb{aspect-ratio:16/11;overflow:hidden;background:#021021}
.grid-all .game-card .thumb{aspect-ratio:1/1}
.game-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.game-card:hover .thumb img{transform:scale(1.06)}
.game-card .name{padding:12px 10px;text-align:center;font-size:.86rem;font-weight:600;line-height:1.3}
.game-card .price{display:block;color:var(--blue-2);font-size:.75rem;font-weight:700;margin-top:3px}
.badge{
  position:absolute;top:8px;right:8px;z-index:2;
  background:var(--promo);color:#fff;font-size:.62rem;font-weight:800;
  padding:3px 8px;border-radius:6px;letter-spacing:.5px
}
.badge.new{background:var(--blue)}
.badge.hot{background:var(--gold);color:#3a2600}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.filters button{
  background:transparent;color:var(--text);border:1px solid #3a6a9a;
  padding:6px 16px;border-radius:999px;font-size:.82rem;font-weight:600;cursor:pointer;transition:.2s
}
.filters button:hover{border-color:var(--blue-2)}
.filters button.active{background:var(--blue);border-color:var(--blue);color:#fff}
.game-card.hide{display:none}
.center{text-align:center;margin-top:22px}

/* ===== Feature / info cards ===== */
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feature{background:var(--card);border-radius:var(--radius);padding:20px;border:1px solid rgba(63,176,255,.1)}
.feature .ic{
  width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-3));font-size:1.3rem;margin-bottom:12px
}
.feature h3{font-size:1rem;margin-bottom:6px}
.feature p{color:var(--muted);font-size:.88rem}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:s}
.step{background:var(--card);border-radius:var(--radius);padding:20px;position:relative;border:1px solid rgba(63,176,255,.1)}
.step::before{
  counter-increment:s;content:counter(s);
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:var(--blue);font-weight:800;margin-bottom:10px
}
.step h3{font-size:.98rem;margin-bottom:4px}
.step p{color:var(--muted);font-size:.86rem}

/* Promo strip */
.promo-strip{
  display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;
  background:linear-gradient(90deg,#0b6fd1,#0a3d6e);border-radius:var(--radius-lg);padding:18px 22px
}
.promo-strip img{width:88px;height:88px;border-radius:14px;object-fit:cover}
.promo-strip h3{font-size:1.1rem}
.promo-strip p{color:#d4e7fb;font-size:.9rem}

/* Event cards */
.events{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.event{background:var(--card);border-radius:var(--radius);overflow:hidden;border:1px solid rgba(63,176,255,.1);display:flex;flex-direction:column}
.event img{aspect-ratio:16/9;object-fit:cover;width:100%}
.event .body{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.event .date{font-size:.75rem;color:var(--blue-2);font-weight:700;letter-spacing:.5px}
.event h3{font-size:1rem;line-height:1.35}
.event p{color:var(--muted);font-size:.86rem;flex:1}
.event .tag{align-self:flex-start;background:var(--promo);font-size:.68rem;font-weight:800;padding:3px 8px;border-radius:6px}

/* Price table */
.table-wrap{overflow-x:auto;border-radius:var(--radius)}
table.price{width:100%;border-collapse:collapse;min-width:520px;background:var(--card)}
table.price th,table.price td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:.9rem}
table.price th{background:var(--blue-3);font-weight:700}
table.price td strong{color:var(--blue-2)}
table.price tr:last-child td{border-bottom:0}

/* Article */
.article{max-width:860px;margin:0 auto}
.article h2{font-size:1.35rem;margin:26px 0 10px;line-height:1.3}
.article h3{font-size:1.08rem;margin:20px 0 8px;color:var(--blue-2)}
.article p{color:#cddff2;margin-bottom:12px}
.article ul,.article ol{margin:0 0 14px 20px;color:#cddff2}
.article li{margin-bottom:6px}
.article strong{color:#fff}
.article .figure{float:right;width:260px;margin:4px 0 14px 20px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.article .figure figcaption{font-size:.75rem;color:var(--muted);padding:6px 8px;background:var(--card)}
.article::after{content:"";display:block;clear:both}
.note{background:var(--card);border-left:4px solid var(--blue-2);padding:14px 16px;border-radius:10px;margin:16px 0;color:#cddff2}

/* FAQ */
.faq{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{background:var(--card);border-radius:12px;border:1px solid rgba(63,176,255,.1);overflow:hidden}
.faq-q{
  width:100%;text-align:left;background:none;border:0;color:#fff;cursor:pointer;
  padding:16px 48px 16px 18px;font-size:.95rem;font-weight:700;position:relative;font-family:inherit
}
.faq-q::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--blue-2);transition:.2s}
.faq-item.open .faq-q::after{transform:translateY(-50%) rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-a p{padding:0 18px 16px;color:var(--muted);font-size:.9rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.contact-card{background:var(--card);border-radius:var(--radius);padding:20px;border:1px solid rgba(63,176,255,.1)}
.contact-card h3{font-size:1rem;margin:8px 0 4px}
.contact-card p,.contact-card a{font-size:.9rem;word-break:break-word}
.contact-card p{color:var(--muted)}
.search{display:flex;gap:8px;margin-top:14px;max-width:520px}
.search input{
  flex:1;background:#fff;border:0;border-radius:10px;padding:12px 14px;font-size:.95rem;font-family:inherit;min-width:0
}

/* Floating image */
.float-img{
  position:fixed;right:16px;bottom:92px;z-index:40;width:110px;
  animation:bob 3.2s ease-in-out infinite;filter:drop-shadow(0 8px 18px rgba(0,0,0,.5))
}
.float-img img{border-radius:16px;border:2px solid var(--blue-2)}
.float-img .x{
  position:absolute;top:-8px;left:-8px;width:22px;height:22px;border-radius:50%;
  background:#fff;color:#04192f;border:0;font-weight:800;cursor:pointer;line-height:22px;font-size:.8rem
}
.float-img .lbl{
  display:block;text-align:center;margin-top:6px;background:var(--blue);color:#fff;
  font-size:.7rem;font-weight:800;border-radius:8px;padding:4px 6px
}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* ===== Footer ===== */
.site-footer{background:#021223;border-top:1px solid rgba(63,176,255,.12);margin-top:30px;padding:36px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:24px}
.site-footer h4{font-size:.95rem;margin-bottom:10px}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:6px}
.site-footer li a,.site-footer p{color:var(--muted);font-size:.86rem}
.site-footer li a:hover{color:#fff}
.copy{border-top:1px solid rgba(63,176,255,.1);margin-top:24px;padding-top:14px;text-align:center;color:#6f8fb0;font-size:.8rem}

/* ===== Bottom nav (DANA style) ===== */
.bottom-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:#021223;border-top:1px solid rgba(63,176,255,.15);
}
.bottom-nav ul{display:flex;justify-content:space-around;list-style:none;max-width:var(--max);margin:0 auto}
.bottom-nav a{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:9px 6px 8px;color:var(--muted);font-size:.7rem;font-weight:600
}
.bottom-nav a svg{width:21px;height:21px;fill:currentColor}
.bottom-nav a.active,.bottom-nav a:hover{color:#fff}
.bottom-nav a.active svg{fill:var(--blue-2)}

/* Reveal */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s,transform .6s}
.reveal.in{opacity:1;transform:none}

/* ===== Responsive ===== */
@media (max-width:980px){
  .grid-all{grid-template-columns:repeat(4,1fr)}
  .features,.steps{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .events{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .main-nav{display:none}
  .slide,.page-hero{grid-template-columns:1fr}
  .slide-img{order:-1;height:180px}
  .slide-img img{min-height:180px;height:180px;object-position:center 15%;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 40%);mask-image:linear-gradient(0deg,transparent 0,#000 40%)}
  .slide{min-height:0}
  .slide-text{padding:18px 20px 22px}
  .page-hero img{order:-1;min-height:160px;height:160px;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 40%);mask-image:linear-gradient(0deg,transparent 0,#000 40%)}
  .page-hero .txt{padding:18px 20px 22px}
  .slider-btn{display:none}
  .grid-trend{grid-template-columns:repeat(2,1fr);gap:12px}
  .grid-all{grid-template-columns:repeat(3,1fr);gap:10px}
  .events,.contact-grid{grid-template-columns:1fr}
  .promo-strip{grid-template-columns:1fr;text-align:center}
  .promo-strip img{margin:0 auto}
  .article .figure{float:none;width:100%;margin:0 0 14px}
  .float-img{width:84px;bottom:84px}
}
@media (max-width:420px){
  .grid-all{grid-template-columns:repeat(2,1fr)}
  .features,.steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .brand small{display:none}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
