/* ============================================================
 * okada online casino apk latest version - layout.css
 * Mobile-first stylesheet. All custom classes use the "va98-" prefix.
 * Root font-size: 62.5% (1rem = 10px) for easier rem math.
 * Palette: #34495E (deep slate), #ADB5BD (soft gray),
 *          #4DB6AC (teal), #40E0D0 (turquoise)
 * ============================================================ */

:root {
  --va98-bg: #34495E;
  --va98-bg-2: #2c3e50;
  --va98-bg-3: #3b5161;
  --va98-text: #ADB5BD;
  --va98-text-light: #f4f7f9;
  --va98-primary: #4DB6AC;
  --va98-accent: #40E0D0;
  --va98-gold: #f5c542;
  --va98-border: rgba(173, 181, 189, 0.18);
  --va98-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  --va98-radius: 14px;
  --va98-radius-sm: 9px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #2c3e50 0%, #34495E 45%, #2c3e50 100%);
  color: var(--va98-text-light);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--va98-accent); text-decoration: none; }
a:hover { color: var(--va98-primary); }

h1, h2, h3, h4 { color: var(--va98-text-light); line-height: 1.3; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }
p { margin: 0 0 1.2rem; }

/* ---------- Layout shell ---------------------------------------------------*/
.va98-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--va98-bg);
  box-shadow: var(--va98-shadow);
  min-height: 100vh;
}

.va98-container {
  padding: 1.4rem 1.3rem;
}

main { display: block; padding-bottom: 90px; }

/* ---------- Header -------------------------------------------------------- */
.va98-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(95deg, #2c3e50 0%, #34495E 60%, #3b5161 100%);
  border-bottom: 1px solid var(--va98-border);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
}
.va98-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.va98-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.va98-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}
.va98-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--va98-text-light);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.va98-brand-name span { color: var(--va98-accent); }

.va98-head-actions { display: flex; align-items: center; gap: 0.5rem; }

.va98-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  min-height: 38px;
  text-decoration: none;
}
.va98-btn:active { transform: scale(0.96); }
.va98-btn-primary {
  background: linear-gradient(135deg, var(--va98-primary), var(--va98-accent));
  color: #0e2230;
  box-shadow: 0 4px 14px rgba(64, 224, 208, 0.35);
}
.va98-btn-ghost {
  background: transparent;
  color: var(--va98-text-light);
  border: 1px solid var(--va98-accent);
}
.va98-btn-gold {
  background: linear-gradient(135deg, #f5c542, #f0a500);
  color: #2a1f00;
}
.va98-menu-btn {
  background: transparent;
  color: var(--va98-text-light);
  font-size: 1.9rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--va98-border);
}

/* ---------- Mobile dropdown menu ----------------------------------------- */
.va98-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--va98-bg-2);
  border-bottom: 1px solid var(--va98-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  z-index: 9999;
}
.va98-mobile-menu.va98-is-open { max-height: 460px; }
.va98-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
}
.va98-mobile-menu li { border-bottom: 1px solid var(--va98-border); }
.va98-mobile-menu a {
  display: block;
  padding: 1.05rem 1.4rem;
  color: var(--va98-text-light);
  font-size: 1.42rem;
}
.va98-mobile-menu a:hover { background: rgba(64, 224, 208, 0.12); color: var(--va98-accent); }

/* ---------- Hero slider --------------------------------------------------- */
.va98-hero {
  position: relative;
  margin: 1rem;
  border-radius: var(--va98-radius);
  overflow: hidden;
  box-shadow: var(--va98-shadow);
}
.va98-slider { position: relative; }
.va98-slide {
  display: none;
  position: relative;
}
.va98-slide.va98-slide-active { display: block; }
.va98-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.va98-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.va98-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.va98-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
}
.va98-dot.va98-dot-active { background: var(--va98-accent); }

/* ---------- Section & cards ---------------------------------------------- */
.va98-section {
  margin: 1.6rem 0;
  padding: 1.3rem;
  background: var(--va98-bg-3);
  border-radius: var(--va98-radius);
  border: 1px solid var(--va98-border);
}
.va98-section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.85rem;
  margin-bottom: 1.1rem;
  color: var(--va98-text-light);
}
.va98-section-title .material-icons,
.va98-section-title i { color: var(--va98-accent); font-size: 2.2rem; }
.va98-section-title small {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--va98-text);
  font-weight: 500;
}

.va98-card {
  background: var(--va98-bg-2);
  border: 1px solid var(--va98-border);
  border-radius: var(--va98-radius-sm);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.va98-card h3 { color: var(--va98-accent); margin-bottom: 0.6rem; }

/* ---------- Game grid ---------------------------------------------------- */
.va98-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.va98-game-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--va98-bg-2);
  border-radius: var(--va98-radius-sm);
  padding: 0.7rem 0.4rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--va98-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.va98-game-tile:hover {
  transform: translateY(-2px);
  border-color: var(--va98-accent);
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.18);
}
.va98-game-tile img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.va98-game-name {
  font-size: 1.18rem;
  color: var(--va98-text-light);
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

/* ---------- Category pills ----------------------------------------------- */
.va98-cat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.8rem 0 1rem;
}
.va98-cat-head i,
.va98-cat-head .material-icons { color: var(--va98-gold); font-size: 2rem; }
.va98-cat-head h2 { margin: 0; font-size: 1.85rem; }

/* ---------- Feature list ------------------------------------------------- */
.va98-features { display: grid; gap: 0.9rem; }
.va98-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--va98-bg-2);
  padding: 1.1rem;
  border-radius: var(--va98-radius-sm);
  border: 1px solid var(--va98-border);
}
.va98-feature .material-icons,
.va98-feature i { color: var(--va98-accent); font-size: 2.4rem; flex-shrink: 0; }
.va98-feature h4 { margin: 0 0 0.3rem; color: var(--va98-text-light); }
.va98-feature p { margin: 0; font-size: 1.3rem; color: var(--va98-text); }

/* ---------- Promo CTA strip ---------------------------------------------- */
.va98-cta {
  background: linear-gradient(135deg, var(--va98-primary), var(--va98-accent));
  color: #0e2230;
  border-radius: var(--va98-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.4rem 0;
  box-shadow: 0 6px 18px rgba(64, 224, 208, 0.32);
}
.va98-cta h3 { color: #0e2230; margin-bottom: 0.5rem; }
.va98-cta p { color: #16313a; margin-bottom: 1rem; }
.va98-cta .va98-btn { background: #2c3e50; color: #fff; }

/* ---------- Testimonials ------------------------------------------------- */
.va98-testi {
  background: var(--va98-bg-2);
  border-left: 4px solid var(--va98-accent);
  border-radius: var(--va98-radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.va98-testi p { margin: 0 0 0.6rem; font-style: italic; color: var(--va98-text); }
.va98-testi span { color: var(--va98-gold); font-weight: 700; font-size: 1.25rem; }

/* ---------- Winners list ------------------------------------------------- */
.va98-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--va98-border);
  font-size: 1.3rem;
}
.va98-winner:last-child { border-bottom: none; }
.va98-winner .badge {
  background: var(--va98-gold);
  color: #2a1f00;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 1.15rem;
}

/* ---------- Payment methods ---------------------------------------------- */
.va98-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.va98-pay {
  flex: 1 1 28%;
  text-align: center;
  background: var(--va98-bg-2);
  border: 1px solid var(--va98-border);
  border-radius: 10px;
  padding: 0.8rem 0.4rem;
  font-size: 1.2rem;
  color: var(--va98-text-light);
}
.va98-pay i,
.va98-pay .material-icons { font-size: 2.2rem; color: var(--va98-accent); display: block; margin-bottom: 0.3rem; }

/* ---------- RTP table ---------------------------------------------------- */
.va98-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.va98-rtp-table th,
.va98-rtp-table td {
  padding: 0.75rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--va98-border);
}
.va98-rtp-table th { color: var(--va98-accent); font-size: 1.25rem; }
.va98-rtp-table td.num { color: var(--va98-gold); font-weight: 700; }

/* ---------- FAQ ---------------------------------------------------------- */
.va98-faq-item {
  background: var(--va98-bg-2);
  border-radius: var(--va98-radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--va98-border);
}
.va98-faq-item h4 { color: var(--va98-accent); margin-bottom: 0.4rem; }
.va98-faq-item p { margin: 0; font-size: 1.32rem; color: var(--va98-text); }

/* ---------- Footer ------------------------------------------------------- */
.va98-footer {
  background: var(--va98-bg-2);
  border-top: 1px solid var(--va98-border);
  padding: 1.6rem 1.3rem 2rem;
  margin-top: 1.4rem;
}
.va98-footer h3 { color: var(--va98-accent); font-size: 1.55rem; margin-bottom: 0.7rem; }
.va98-footer p { color: var(--va98-text); font-size: 1.3rem; }
.va98-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}
.va98-footer-links a {
  background: var(--va98-bg-3);
  color: var(--va98-text-light);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 1.18rem;
  border: 1px solid var(--va98-border);
}
.va98-footer-links a:hover { color: var(--va98-accent); border-color: var(--va98-accent); }
.va98-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--va98-text);
  border-top: 1px solid var(--va98-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ---------- Bottom navigation -------------------------------------------- */
.va98-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #34495E, #2c3e50);
  border-top: 1px solid var(--va98-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.va98-bottomnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  color: var(--va98-text);
  font-size: 1.05rem;
  gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.va98-bottomnav a:hover,
.va98-bottomnav a.va98-nav-active {
  color: var(--va98-accent);
  transform: translateY(-1px);
}
.va98-bottomnav a i,
.va98-bottomnav a .material-icons,
.va98-bottomnav a ion-icon { font-size: 22px; }
.va98-bottomnav a .va98-nav-promo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--va98-primary), var(--va98-accent));
  color: #0e2230;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -18px;
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.4);
  font-size: 22px;
}

/* ---------- Reveal animation --------------------------------------------- */
.va98-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.va98-reveal.va98-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Utility ------------------------------------------------------ */
.va98-text-promo { color: var(--va98-accent); font-weight: 700; }
.va98-text-gold { color: var(--va98-gold); font-weight: 700; }
.va98-center { text-align: center; }
.va98-mt { margin-top: 1.4rem; }
.va98-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Desktop / large screens ------------------------------------- */
@media (min-width: 769px) {
  .va98-bottomnav { display: none; }
  .va98-wrapper {
    max-width: 760px;
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.4);
  }
  .va98-game-grid { grid-template-columns: repeat(6, 1fr); }
  .va98-header-row { max-width: 760px; }
  main { padding-bottom: 30px; }
}
