/* Navbar Container */
.navbar {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-header-desktop {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;              /* prevent bleed-through */
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0,0,0,.05); /* optional */
  }

.sticky-header-mobile {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;              /* prevent bleed-through */
  border-bottom: 1px solid #ebebeb;
  /* box-shadow: 0 2px 8px rgba(0,0,0,.05); */
}

/* Logo */
.logo {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .logo {
    height: 48px;
  }
}

/* Desktop Nav */
.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2vw;
    /* gap: 40px; */
  }
}

.nav-link {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-link.active {
  border-bottom: 2px solid #e60023; /* highlight active page */
}

/* Auth Buttons (desktop) */
.auth-buttons {
  display: none;
}

@media (min-width: 1024px) {
  .auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

.btn-login {
  color: #1a1a1a;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-login:hover {
  background: #f5f5f5;
}

.btn-signup {
  background: #e60023;
  color: #fff;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-download-apk {
  background: #f7a309;
  color: black;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  gap: 10px;
  font-size: 16px;
  /* margin-right: 2rem; */
}

.btn-telegram {
  background: #1baed3;
  color: white;
  font-weight: bold;
  padding: 12px 36px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  gap: 10px;
  font-size: 20px;
}

.btn-whatsapp {
  background: #1cce05;
  color: white;
  font-weight: bold;
  padding: 12px 36px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  gap: 10px;
  font-size: 20px;
}

.btn-download-sokong {
  background: #00e7ad;
  color: black;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 16px;
  /* margin-right: 2rem; */
}

.btn-download-ios {
  background: #dbdbdb;
  color: black;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-signup:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.3);
}

/* Mobile Menu Button */
.menu-button {
  display: block;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.menu-button:hover {
  background: #f5f5f5;
}

@media (min-width: 1024px) {
  .menu-button {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 0 24px 16px;
  /* border-top: 1px solid #e5e5e5; */
  width: 100%;
}

.mobile-link {
  display: block;
  padding: 12px 0;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.mobile-link:hover {
  background: #f9f9f9;
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.mobile-auth .btn-login,
.mobile-auth .btn-signup {
  width: 100%;
}

/* stat box */
.stat-box {
  text-align: center;
  align-items: center;
  background: #fff;       /* white background */
  padding: 20px 30px;
  border-radius: 8px;     /* rounded corners */
  box-shadow: 0 3px 22px rgb(141 138 138 / 32%); /* subtle shadow */
  /* max-width: 300px; */
}

.stat-box .content h2 {
  margin: 0;
  font-size: 14px;
  color: #0d2b6b; /* dark blue */
}

.stat-box .content p {
  margin: 0;
  font-size: 42px;
  color: #251e1e;
  font-weight: bold;
}

.game-box {
  text-align: center;
  align-items: center;
  background: #fff;
  /* padding: 20px 30px; */
  border-radius: 20px;
  box-shadow: 0 3px 22px rgb(141 138 138 / 32%);
  padding-bottom: 1.5rem;
  /* max-width: 300px; */
}

.game-box .content h2 {
  margin: 0;
  font-size: 25px;
  color: #0d2b6b; /* dark blue */
}

.game-box .content p {
  margin: 0;
  font-size: 14px;
  color: #555;
  /* font-weight: bold; */
}

/* white body */
.white-body {
  background-color: white;
}

.grey-body {
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.footer-color {
  /* background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)); */
  /* background-color: rgb(85 116 183); */
  background-color: white;
}

@media (min-width: 992px) {
  /* body content */
  .body-width {
    width: 70%;
    margin: 0 auto;
  }

  /* .section-about {
    padding-top: 60px;
  } */

  .faq-title {
    font-size: 30px;
    margin-bottom: 1rem;
    /* padding-top: 60px; */
    /* padding-bottom: 30px; */
    font-weight: bold;
  }

  .faq-content {
    font-size: 18px;
  }

  .section-faq {
    /* padding-top: 60px; */
    padding-top: 3rem;
    padding-bottom: 3rem;
    scroll-margin-top: 60px;
  }

  .section-games {
    padding-top: 60px;
    scroll-margin-top: 60px;
  }
  
}

@media (max-width: 991px) {
  /* body content */
  .body-width {
    width: 95%;
    margin: 0 auto;
  }

  .btn-download-apk {
    margin-right: unset;
  }

  .faq-title {
    font-size: 25px;
    /* padding-top: 25px; */
    /* padding-bottom: 10px; */
    font-weight: bold;
  }

  .faq-content {
    font-size: 14px;
  }

  .section-faq {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    scroll-margin-top: 60px;
  }

  .section-games {
    padding-top: 30px;
    scroll-margin-top: 60px;
  }
}

/* faq */
.subtitle{
  color:var(--muted);text-align:center;margin:0 0 26px;font-size:18px;
}

details{
  margin:16px 0;
  border:1px solid #e6e8ee;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

summary{
  list-style:none;
  cursor:pointer;
  padding:18px 56px 18px 18px;
  position:relative;
  font-weight:700;
  display:flex; align-items:center; gap:.6rem;
  outline:none;
}
/* summary::-webkit-details-marker{display:none} */
.num{
  font-weight:800; margin-right:.4rem;
}
/* caret icon */
.caret{
  position:absolute;right:16px;top:50%;translate:0 -50%;
  width:20px;height:20px;display:inline-grid;place-items:center;
  transition:transform .25s ease;
}
details[open] .caret{transform:translateY(-50%) rotate(180deg)}
.caret svg{display:block}
/* active/hover state */
details.active summary, details[open] summary{
  color:var(--brand);
}
/* details:hover{border-color:#dfe3ec} */
details:hover{
  border-color:#dfe3ec
}

.panel{
  padding:0 18px 18px 18px;
  color:#404a5a;
  line-height:1.65;
  border-top: 1px solid #dfdfdf;
  padding-top: 10px;
}
.panel p{
  margin:0

}
/* subtle divider between items inside an open card */
.panel + .panel{
  border-top:1px solid var(--border)
}

/* small screen tweaks */
@media (max-width:520px){
  h1{font-size:36px}
  .subtitle{font-size:16px}
  summary{padding-right:48px}
}

.header-padding {
  margin-bottom: 2rem;
  /* text-align: left; */
}







/* header */
.header-background {
  background-color: #0c0c0c;
  /* padding-bottom: 2rem; */
}

.section-header {
  padding-top: 5rem;
  padding-bottom: 5rem;
  /* background-color: #0c0c0c; */
}

.section-body-title {
  text-align: left;
  font-size: 30px;
  /* margin-bottom: 1rem; */
}

.header-title {
  font-size: 48px;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #cfcfcf;
}

.header-title-about {
  font-size: 48px;
  margin-bottom: 0.5rem;
  text-align: left;
  color: black;
}

.header-text {
  font-size: 18px;
  margin-bottom: 1rem;
  text-align: center;
  color: #918e8e;
}

.header-button-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.header-payment {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 18px;
}

.header-version {
  font-size: 18px;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #918e8e;
}

/* wrap */
/* DESKTOP (default): flex layout */
.dl-wrap{
  display:flex;
  align-items:stretch;
  gap:16px;
}

.dl-left{
  display:flex;
  flex-wrap:wrap;        /* allow multiple rows */
  gap:16px;
  margin-bottom: 3rem;
}

/* default: 3 columns */
.dl-left > .card-download{
  flex: 0 0 calc((100% - 32px)/3);  /* 2 gaps (16px each) across 3 cols */
  box-sizing: border-box;
  min-width:0;
  display:flex;
  flex-direction:column;
  background-color: #1B242F !important;
  border:1px solid #22313a !important;
  border-radius: 14px !important;
  padding:18px;
}

/* keep button at bottom (optional) */
.card-download button{ margin-top:auto; }

.card-button {
  background: #f7a309;
  padding: 10px 14px;
  border-radius: 11px;
}

.card-button-btn {
  margin-top: auto;
  text-align: center;
  font-size: 18px;
}

.card-title {
  text-align: center;
  font-size: 25px;
  margin-bottom: 1rem !important;
}

.card-text {
  text-align: center;
  font-size: 18px;
  margin-bottom: 1rem !important;
}

.section-body {
  padding-bottom: 2rem;
}

.section-title {
  font-size: 30px;
  /* margin-bottom: 1rem; */
}

.section-content {
  font-size: 18px;
}

.section-content-small {
  font-size: 14px;
}

.section-button {
  /* margin-bottom: 3rem; */
  font-size: 18px;
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.contact-header {
  width: 20%;
  margin: 0 auto;
  background: linear-gradient(180deg, #0e1f26 0%, #16333b 100%);
}

.contact-header img {
  border-radius: 45px;
}


/* button-like links */
.cta{
  display:inline-flex; align-items:center; justify-content:center; gap:.65rem;
  padding:14px 18px; border-radius:999px; text-decoration:none;
  color:#fff; font:600 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.cta-telegram{ background:linear-gradient(90deg,#00C6FF,#0072FF); }
.cta-whatsapp{ background:linear-gradient(90deg,#25D366,#1FAE5A); }

/* robust icon rules (avoid conflicts with global .icon) */
.cta__icon{
  width:22px; height:22px; flex:0 0 22px;
  display:inline-block; line-height:0; /* ensure it occupies space */
}
.cta__sub{ font-weight:500; opacity:.9; }

/* if you use a .icon class elsewhere that hides things, neutralize it here */
.cta .icon{ all: unset; }  /* optional safety if another lib sets .icon {display:none} */








@media (max-width:991px){
  .dl-wrap{ display:block; }
  .dl-left{ display:block; }
  .dl-left .card{ width:100%; }
  .testid{
    width:100%;
    margin-top:16px;
    flex:0 0 auto;
  }
  
  .header-title-about {
    font-size: 30px;
    margin-bottom: 0.5rem;
    text-align: left;
    color: black;
  }

  .header-title {
    font-size: 25px;
    margin-top: 1.5rem;
  }

  .header-title {
    font-size: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 20px;
    /* margin-top: 1rem; */
    /* margin-bottom: 1rem; */
  }

  .section-content {
    font-size: 14px;
  }

  .section-button {
    /* margin-bottom: 1.5rem; */
    margin-top: 1rem;
    gap: 1rem;
    font-size: 14px;
    display: flex;
    justify-content: center;
  }

  .section-padding {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }


  /* table */
  /* .specs.section-padding{ padding-top:2rem; padding-bottom:2rem; } */
  .specs__table th, .specs__table td{ text-align:center; } /* desktop: center cells */
  .specs__card{ padding:14px 16px; width: 100%; }

  .section-header {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-body {
    padding-bottom: 1.5rem;
  }

  .header-title {
    font-size: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .header-text {
    font-size: 14px;
    margin-bottom: 1rem;
    text-align: center;
    color: #918e8e;
  }

  .header-button-row {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
    gap: 0.5rem;
    width: 90%;
    margin: 0 auto;
  }

  .btn-download-apk {
    font-size: 11px;
    padding: 10px 10px;
  }

  .btn-download-ios {
    font-size: 12px;
    padding: 10px 10px;
  }

  .btn-download-sokong {
    font-size: 12px;
    padding: 10px 10px;
  }

  .header-payment {
    font-size: 12px;
    gap: 0.5rem;
  }

  .header-version {
    font-size: 12px;
  }

  .dl-left > .card-download {
    margin-bottom: 1rem;
  }

  .card-download {
    width: 90%;
    margin: 0 auto;
  }

  .card-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 1rem !important;
  }

  .card-text {
    text-align: center;
    font-size: 14px;
    margin-bottom: 1rem !important;
  }

  .card-button-btn {
    margin-top: auto;
    text-align: center;
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .dl-left{
    margin-bottom: 0rem;
  }

  .header-padding {
    margin-bottom: 2rem;
    /* text-align: left; */
  }

  .cta-telegram {
    margin-bottom: 1rem;
    font-size: 12px;
  }

  .cta-whatsapp {
    /* margin-bottom: 1rem; */
    font-size: 12px;
  }

  .section-body-title {
    text-align: left;
    font-size: 20px;
    /* margin-bottom: 1rem; */
  }

}

@media (max-width: 767px) {
  .contact-header {
    width: 40%;
  }

  .contact-header img{
    border-radius: 30px;
  }
}

/* slider */
.ticker{
  overflow:hidden;
  height:36px;
  display:flex; align-items:center;
  background:#0f1620; color:#cfd6de;
}

.runner{
  display:flex;
  width:max-content;                 
  transform: translate3d(100vw,0,0); 
  animation: rtl 20s linear infinite;
  will-change: transform;
}

.ticker:hover .runner{ animation-play-state: paused; }

.items{
  display:flex; gap:24px;
  margin:0; padding:0 16px;
  list-style:none; white-space:nowrap;
}

@keyframes rtl{
  to { transform: translate3d(-100%,0,0); }
}
