/* 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: #06b4d3;
  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-download-apk:hover {
  transform: translateY(-2px) scale(1.05);
}

.btn-download-apk-footer {
  background: #06b4d3;
  color: white;
  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-download-apk-footer:hover {
  transform: translateY(-2px) scale(1.05);
}

.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: #00b789;
  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-download-ios:hover {
  transform: translateY(-2px) scale(1.05);
}

.btn-signup:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.3);
}

.header-button {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.section-card {
  display: flex;
  gap: 1rem;
}

.section-card-item {
  width: 50%;
  color: white;
  /* text-align: center; */
  /* align-items: center; */
  /* background-color: #111421; */
  background: linear-gradient(180deg, #0A0F1E 0%, #0B0E1A 100%);
  padding: 20px 30px;
  border-radius: 20px;
  /* box-shadow: 0 3px 22px rgb(141 138 138 / 32%); */
  padding-bottom: 1.5rem;
}

.section-card-category {
  font-size: 14px;
}

.section-card-title {
  font-size: 20px;
}

.section-card-content {
  font-size: 16px;
}

/* 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;
}

/* white body */
.white-body {
  background-color: white;
}

.body-color {
  background: #111421;
}

.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;
}




/* section that content will be modified */
/* ===== Plain CSS (no :root) ===== */
.post-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
  color: #e9eef7;
}
.post-hero {
  margin: 0 0 16px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1c22;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.post-title {
  color: #e9eef7;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  margin: 14px 0 10px;
}
.post-meta {
  display: flex;
  align-items: center;
  color: #aab3c2;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 14px;
}
.post-meta .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06b4d3;
  display: inline-block;
}

/* Content box */
.post-box {
  background: linear-gradient(180deg, #1a1c22, #14161b);
  border: 1px solid #2a2e36;
  border-radius: 14px;
  padding: 18px 20px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.box-title {
  margin: 0 0 8px 0;
  color: #e9eef7;
  font-size: 20px;
  font-weight: 800;
}
.box-sep {
  border: none;
  border-top: 1px solid #2a2e36;
  margin: 12px 0 16px;
}
.sec-title {
  margin: 0 0 6px 0;
  color: #06b4d3;
  font-weight: 800;
  font-size: 16px;
}
.sec-text {
  color: #dce3ee;
  line-height: 1.7;
  margin: 0 0 10px 0;
}
/* .sec-list {
  margin: 10px 0 0 20px;
  color: #dce3ee;
  line-height: 1.7;
} */













@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: 22px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 20px;
    text-align: center;
    /* margin-top: 1rem; */
    /* margin-bottom: 1rem; */
  }

  .section-qna {
    width: 90%;
    margin:0 auto;
  }

  .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;
    width: 80%;
  }

  .btn-download-ios {
    font-size: 12px;
    padding: 10px 10px;
    margin-top: 1rem;
    width: 80%;
  }

  .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; */
  }
  .header-button {
    display: block;
  }


  .section-card {
    display: flex;
    flex-direction: column;
    gap: unset;
    width: 90%;
    margin: 0 auto;
  }

  .section-card-item {
    width: 100%;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    background: linear-gradient(180deg, #0A0F1E 0%, #0B0E1A 100%);
    padding: 20px 30px;
    border-radius: 20px;
    /* padding-bottom: 1.5rem; */
  }

  .section-card-category {
    font-size: 12px;
  }

  .section-card-title {
    font-size: 18px;
  }

  .section-card-content {
    font-size: 14px;
  }

}

@media (max-width: 767px) {
  .contact-header {
    width: 40%;
  }

  .contact-header img{
    border-radius: 30px;
  }
  
  .article-grid {
    grid-template-columns: none !important;
  }
}

/* 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); }
}
