/* 55TOTO - static landing
   Notes:
   - Replace placeholder images in /assets/img/ as you like.
   - Keep paths: assets/css/style.css, assets/img/logo.png, assets/img/banner6.jpg
*/

:root{
  --orange:#f26a21;
  --orange2:#ff7a2e;
  --dark:#0f0f12;
  --dark2:#17181d;
  --text:#ffffff;
  --muted:rgba(255,255,255,.75);
  --muted2:rgba(255,255,255,.55);
  --border:rgba(255,255,255,.10);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:linear-gradient(180deg,#0c0c10 0%, #0a0a0d 100%);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 16px}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  height:58px;
  background:var(--orange);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.topbar__inner{
  height:58px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}
.brand{display:flex; align-items:center; justify-content:center; flex:1}
.brand__logo{height:36px; width:auto; object-fit:contain; filter:drop-shadow(0 3px 8px rgba(0,0,0,.35))}
.iconbtn{
  width:42px; height:42px; border:0; background:transparent;
  display:grid; place-items:center; border-radius:12px;
  cursor:pointer;
}
.iconbtn:active{transform:translateY(1px)}
.burger,.bell{display:block; position:relative}
.burger{width:22px; height:14px}
.burger:before,.burger:after, .burger i{
  content:""; position:absolute; left:0; right:0; height:2px; background:#fff; border-radius:2px;
}
.burger:before{top:0}
.burger i{top:6px}
.burger:after{bottom:0}
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }
.iconbtn .burger{ }
.iconbtn .burger::before{ }
.iconbtn .burger::after{ }

.iconbtn .burger i{display:block}
.iconbtn .burger i{content:""; position:absolute; left:0; right:0; height:2px; background:#fff; border-radius:2px; top:6px}

.bell{width:18px; height:18px; border:2px solid #fff; border-bottom-left-radius:14px; border-bottom-right-radius:14px; border-top-left-radius:14px; border-top-right-radius:14px; transform:rotate(0deg)}
.bell:before{content:""; position:absolute; left:50%; top:-6px; width:8px; height:6px; transform:translateX(-50%); border:2px solid #fff; border-bottom:none; border-top-left-radius:10px; border-top-right-radius:10px}
.bell:after{content:""; position:absolute; left:50%; bottom:-6px; width:6px; height:6px; transform:translateX(-50%); background:#fff; border-radius:50%}

/* Hero */
.hero{position:relative}
.hero__img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.70) 75%, rgba(0,0,0,.92) 100%);
}
.hero__content{position:absolute; inset:0; display:flex; align-items:flex-end; padding-bottom:18px}
.hero__headline{
  width:100%;
  text-align:left;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,.55));
}
.hero__line1{
  font-weight:800; letter-spacing:.5px;
  font-size:26px; line-height:1.1;
  color:#fff;
  text-transform:uppercase;
}
.hero__line2{
  font-weight:900;
  font-size:38px; line-height:1.05;
  color:#f8f2ea;
  text-transform:uppercase;
}
.hero__line3{
  font-weight:900;
  font-size:34px; line-height:1.05;
  color:#f8f2ea;
  text-transform:uppercase;
}

/* CTA buttons */
.cta{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:-14px; position:relative; z-index:2}
.btn{
  height:52px;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  letter-spacing:.5px;
  border:1px solid rgba(255,255,255,.12);
}
.btn--dark{background:#121316}
.btn--orange{background:linear-gradient(180deg, var(--orange2), var(--orange)); box-shadow:0 10px 20px rgba(242,106,33,.25)}

/* Category tabs */
.cats{
  margin-top:14px;
  background:var(--orange);
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(0,0,0,.25);
}
.cats__inner{
  display:flex;
  gap:10px;
  padding:10px 10px;
  overflow:auto;
  scrollbar-width:none;
}
.cats__inner::-webkit-scrollbar{display:none}
.cat{
  flex:0 0 auto;
  min-width:88px;
  padding:10px 12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px;
  text-align:center;
  color:#fff;
}
.cat__ico{font-size:18px}
.cat__lbl{font-size:12px; font-weight:700}
.cat.is-active{background:#111; border-color:rgba(255,255,255,.12)}

/* Sections */
.section{padding:18px 0}
.section__title{
  margin:10px 0 8px;
  font-size:32px;
  font-weight:900;
  letter-spacing:.3px;
  color:var(--orange);
  text-align:center;
}
.section__desc{
  margin:0 auto 14px;
  max-width:760px;
  color:var(--muted);
  line-height:1.55;
  text-align:left;
}
.accent{color:var(--orange); font-weight:700}
.section__row{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.section__subtitle{margin:0; font-size:22px; font-weight:800}
.pill{
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--orange2), var(--orange));
  font-weight:800;
  font-size:12px;
  box-shadow:0 10px 20px rgba(242,106,33,.20);
}

.mt-18{margin-top:18px}

/* FAQ */
.faq details{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  margin:10px 0;
}
.faq summary{
  cursor:pointer;
  list-style:none;
  padding:16px 16px;
  font-weight:900;
  color:var(--orange);
  font-size:18px;
}
.faq summary::-webkit-details-marker{display:none}
.faq__body{
  padding:0 16px 16px;
  color:var(--muted);
  line-height:1.55;
}

/* Game grid */
.gamegrid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
}
.gamecard{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .12s ease, border-color .12s ease;
}
.gamecard:hover{transform:translateY(-2px); border-color:rgba(255,255,255,.18)}
.gamecard img{width:100%; height:110px; object-fit:cover; display:block}
.gamecard span{
  display:block;
  padding:10px 10px 12px;
  font-weight:800;
  font-size:12px;
  color:rgba(255,255,255,.82);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.stat{
  background:linear-gradient(180deg, rgba(242,106,33,.20), rgba(255,255,255,.02));
  border:1px solid rgba(242,106,33,.25);
  border-radius:16px;
  padding:18px 16px;
  text-align:center;
}
.stat__num{font-size:28px; font-weight:900; color:#fff}
.stat__lbl{margin-top:6px; font-size:12px; font-weight:700; color:var(--muted)}
.copyright{
  text-align:center;
  color:var(--muted2);
  margin:18px 0 0;
  padding-bottom:10px;
}

/* Bottom nav */
.bottomnav{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  height:74px;
  background:var(--orange);
  display:grid;
  grid-template-columns:1fr 1fr 110px 1fr 1fr;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  box-shadow:0 -10px 30px rgba(0,0,0,.35);
}
.bottomnav__item{
  height:54px;
  border-radius:14px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px;
  background:rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
  font-size:11px;
}
.bottomnav__item .bico{font-size:18px; line-height:1}
.bottomnav__item.is-active{background:#111}
.bottomnav__center{
  height:64px;
  border-radius:18px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px;
  background:linear-gradient(180deg, #ffd7c0 0%, #fff1e9 100%);
  color:#111;
  position:relative;
  border:1px solid rgba(0,0,0,.12);
}
.badge{
  position:absolute;
  top:-14px;
  width:54px; height:54px;
  border-radius:999px;
  display:grid; place-items:center;
  background:radial-gradient(circle at 30% 30%, #ffe7db, #ffd1b8);
  border:2px solid rgba(0,0,0,.12);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  font-weight:900;
  font-size:12px;
  line-height:1.05;
}
.centerlbl{font-weight:900}

.bottom-spacer{height:92px}

/* Responsive */
@media (max-width: 980px){
  .gamegrid{grid-template-columns:repeat(3, 1fr)}
  .hero__img{height:300px}
}

@media (max-width: 560px){
  .hero__img{height:280px}
  .hero__line1{font-size:22px}
  .hero__line2{font-size:32px}
  .hero__line3{font-size:28px}
  .section__title{font-size:28px}
  .gamegrid{grid-template-columns:repeat(2, 1fr)}
  .cats__inner{padding:10px 8px}
  .cat{min-width:80px}
}


/* --- Banner match (screenshot style) --- */
.hero{
  position: relative;
  width: 100%;
  background: #000;
}

.hero__img{
  width: 100%;
  height: clamp(260px, 48vw, 560px);
  display: block;
  object-fit: cover;
}

.hero__fade{
  pointer-events: none;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
}

/* CTA bar under banner (MASUK / DAFTAR) */
.cta{
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  background: #0f0f12;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.cta .btn{
  flex: 1 1 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: .5px;
  border: 1px solid rgba(255,255,255,.55);
}

.btn--dark{
  background: #0b0b0d;
  color: #fff;
}

.btn--orange{
  border-color: rgba(255,255,255,.45);
  background: linear-gradient(180deg, #ff7a2e 0%, #d14f1b 100%);
  color: #fff;
}

/* keep CTA comfy on very small screens */
@media (max-width: 360px){
  .cta{ padding: 8px 10px; gap: 8px; }
  .cta .btn{ height: 42px; font-size: 13px; }
}
