/* ============================================
   Okada Online Casino APK - Theme CSS
   Prefix: gbd2-
   Palette: #1C2833 / #4DB6AC / #00FA9A / #80CBC4 / #0097A7
   ============================================ */

:root {
  --gbd2-bg: #1C2833;
  --gbd2-bg-2: #22303f;
  --gbd2-bg-3: #2b3a4b;
  --gbd2-accent: #4DB6AC;
  --gbd2-mint: #00FA9A;
  --gbd2-soft: #80CBC4;
  --gbd2-deep: #0097A7;
  --gbd2-text: #eaf6f4;
  --gbd2-muted: #9fb3b6;
  --gbd2-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #1C2833 0%, #22303f 45%, #2b3a4b 100%);
  color: var(--gbd2-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
}

a { color: var(--gbd2-soft); text-decoration: none; }
a:hover { color: var(--gbd2-mint); }
img { max-width: 100%; display: block; }

.gbd2-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.gbd2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(28, 40, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(77, 182, 172, 0.25);
  transition: box-shadow 0.25s ease;
}
.gbd2-header-scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.gbd2-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 8px;
}
.gbd2-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gbd2-text);
  letter-spacing: 0.3px;
}
.gbd2-logo .gbd2-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gbd2-mint), var(--gbd2-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06212a;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(0, 250, 154, 0.35);
}
.gbd2-logo small {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gbd2-soft);
  letter-spacing: 0;
}
.gbd2-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gbd2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 40px;
  text-decoration: none;
}
.gbd2-btn:active { transform: scale(0.96); }
.gbd2-btn-login {
  background: transparent;
  color: var(--gbd2-soft);
  border: 1px solid rgba(128, 203, 196, 0.6);
}
.gbd2-btn-login:hover { background: rgba(128, 203, 196, 0.12); color: var(--gbd2-mint); }
.gbd2-btn-register {
  background: linear-gradient(135deg, var(--gbd2-mint), var(--gbd2-deep));
  color: #06212a;
  box-shadow: 0 4px 12px rgba(0, 250, 154, 0.3);
}
.gbd2-btn-register:hover { box-shadow: 0 6px 16px rgba(0, 250, 154, 0.45); }

.gbd2-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(128, 203, 196, 0.1);
  border: 1px solid rgba(128, 203, 196, 0.3);
  color: var(--gbd2-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- Hero slider ---------- */
.gbd2-hero {
  position: relative;
  margin: 12px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--gbd2-shadow);
}
.gbd2-hero-slide {
  display: none;
  position: relative;
  padding: 22px 18px;
  min-height: 180px;
  background: linear-gradient(135deg, #0097A7 0%, #4DB6AC 60%, #00FA9A 100%);
  color: #06212a;
}
.gbd2-hero-slide.gbd2-slide-active { display: block; }
.gbd2-hero-slide h2 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
}
.gbd2-hero-slide p {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: #0a2f33;
}
.gbd2-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1C2833;
  color: var(--gbd2-mint);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.3rem;
}
.gbd2-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.gbd2-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28, 40, 51, 0.4);
  cursor: pointer;
  border: none;
}
.gbd2-hero-dot.gbd2-dot-active {
  background: #1C2833;
  width: 22px;
  border-radius: 5px;
}

/* ---------- Section / Titles ---------- */
.gbd2-section {
  margin: 18px 12px;
}
.gbd2-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gbd2-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gbd2-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gbd2-section-title i { color: var(--gbd2-mint); }
.gbd2-link-more {
  font-size: 1.2rem;
  color: var(--gbd2-soft);
  font-weight: 600;
}

/* ---------- Category tabs ---------- */
.gbd2-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.gbd2-cat-tabs::-webkit-scrollbar { display: none; }
.gbd2-cat-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(128, 203, 196, 0.08);
  border: 1px solid rgba(128, 203, 196, 0.25);
  color: var(--gbd2-soft);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.gbd2-cat-tab.gbd2-cat-active {
  background: linear-gradient(135deg, var(--gbd2-mint), var(--gbd2-deep));
  color: #06212a;
  border-color: transparent;
}

/* ---------- Game grid ---------- */
.gbd2-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gbd2-game-card {
  background: var(--gbd2-bg-2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(128, 203, 196, 0.12);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.gbd2-game-card:active {
  transform: scale(0.97);
}
.gbd2-game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0e1820;
  overflow: hidden;
}
.gbd2-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gbd2-game-card:hover .gbd2-game-thumb img {
  transform: scale(1.05);
}
.gbd2-game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 40, 51, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gbd2-game-card:hover .gbd2-game-overlay { opacity: 1; }
.gbd2-play-pill {
  background: linear-gradient(135deg, var(--gbd2-mint), var(--gbd2-deep));
  color: #06212a;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.2rem;
}
.gbd2-game-name {
  padding: 8px 6px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--gbd2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gbd2-game-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 250, 154, 0.92);
  color: #06212a;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  z-index: 2;
}

/* ---------- Features / promo banners ---------- */
.gbd2-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gbd2-promo-card {
  background: var(--gbd2-bg-2);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(77, 182, 172, 0.25);
  position: relative;
  overflow: hidden;
}
.gbd2-promo-card .gbd2-promo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 250, 154, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gbd2-mint);
  font-size: 1.9rem;
  margin-bottom: 8px;
}
.gbd2-promo-card h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  color: var(--gbd2-text);
}
.gbd2-promo-card p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--gbd2-muted);
  line-height: 1.4;
}

.gbd2-cta-banner {
  margin: 18px 12px;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #0097A7 0%, #4DB6AC 100%);
  color: #06212a;
  box-shadow: var(--gbd2-shadow);
}
.gbd2-cta-banner h3 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  font-weight: 900;
}
.gbd2-cta-banner p {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: #0a2f33;
}
.gbd2-cta-banner .gbd2-btn {
  background: #1C2833;
  color: var(--gbd2-mint);
  padding: 12px 22px;
  font-size: 1.4rem;
}

/* ---------- SEO long text ---------- */
.gbd2-prose {
  background: var(--gbd2-bg-2);
  border-radius: 14px;
  padding: 16px;
  margin: 12px;
  border: 1px solid rgba(128, 203, 196, 0.15);
}
.gbd2-prose h2 {
  font-size: 1.7rem;
  margin: 0 0 10px;
  color: var(--gbd2-mint);
}
.gbd2-prose h3 {
  font-size: 1.4rem;
  margin: 14px 0 6px;
  color: var(--gbd2-soft);
}
.gbd2-prose p {
  font-size: 1.25rem;
  color: var(--gbd2-text);
  margin: 0 0 10px;
  line-height: 1.55;
}
.gbd2-prose ul {
  margin: 0 0 10px;
  padding-left: 18px;
}
.gbd2-prose li {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--gbd2-text);
}

/* ---------- FAQ ---------- */
.gbd2-faq-item {
  background: var(--gbd2-bg-2);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(128, 203, 196, 0.12);
}
.gbd2-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--gbd2-text);
  padding: 12px 14px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gbd2-faq-q i { color: var(--gbd2-mint); transition: transform 0.2s ease; }
.gbd2-faq-open .gbd2-faq-q i { transform: rotate(45deg); }
.gbd2-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 14px;
  color: var(--gbd2-muted);
  font-size: 1.18rem;
  line-height: 1.5;
}
.gbd2-faq-open .gbd2-faq-body {
  padding: 0 14px 12px;
}

/* ---------- Footer ---------- */
.gbd2-footer {
  background: #15202b;
  border-top: 1px solid rgba(77, 182, 172, 0.2);
  padding: 20px 14px 24px;
  margin-top: 16px;
}
.gbd2-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gbd2-footer h4 {
  font-size: 1.25rem;
  color: var(--gbd2-mint);
  margin: 0 0 8px;
}
.gbd2-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gbd2-footer li { margin-bottom: 6px; }
.gbd2-footer a {
  font-size: 1.15rem;
  color: var(--gbd2-muted);
}
.gbd2-footer a:hover { color: var(--gbd2-mint); }
.gbd2-footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(128, 203, 196, 0.18);
  text-align: center;
  font-size: 1.1rem;
  color: var(--gbd2-muted);
}

/* ---------- Mobile menu ---------- */
.gbd2-menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.gbd2-menu-mask.gbd2-mask-show {
  opacity: 1;
  pointer-events: auto;
}
.gbd2-mobile-menu {
  position: fixed;
  top: 0;
  right: -82%;
  width: 78%;
  max-width: 340px;
  height: 100vh;
  background: var(--gbd2-bg);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 18px 16px;
  overflow-y: auto;
  border-left: 1px solid rgba(77, 182, 172, 0.25);
}
.gbd2-mobile-menu.gbd2-menu-open { right: 0; }
.gbd2-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gbd2-menu-head h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--gbd2-mint);
}
.gbd2-menu-close {
  background: none;
  border: none;
  color: var(--gbd2-text);
  font-size: 2rem;
  cursor: pointer;
}
.gbd2-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--gbd2-text);
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(128, 203, 196, 0.1);
}
.gbd2-menu-link:hover {
  background: rgba(128, 203, 196, 0.1);
  color: var(--gbd2-mint);
}
.gbd2-menu-link i { color: var(--gbd2-soft); width: 22px; text-align: center; }

/* ---------- Bottom nav ---------- */
.gbd2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(21, 32, 43, 0.98);
  border-top: 1px solid rgba(77, 182, 172, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}
.gbd2-nav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gbd2-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.gbd2-nav-item i {
  font-size: 2.2rem;
}
.gbd2-nav-item.active,
.gbd2-nav-item:hover {
  color: var(--gbd2-mint);
}
.gbd2-nav-item:active { transform: scale(0.92); }
.gbd2-nav-item.gbd2-nav-promo {
  position: relative;
}
.gbd2-nav-item.gbd2-nav-promo::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gbd2-mint), var(--gbd2-deep));
  z-index: -1;
  box-shadow: 0 4px 12px rgba(0, 250, 154, 0.4);
}
.gbd2-nav-item.gbd2-nav-promo i {
  color: #06212a;
}

/* ---------- Marquee / ticker ---------- */
.gbd2-ticker {
  background: rgba(0, 250, 154, 0.1);
  border: 1px solid rgba(0, 250, 154, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  font-size: 1.15rem;
  color: var(--gbd2-soft);
}
.gbd2-ticker i { color: var(--gbd2-mint); flex: 0 0 auto; }
.gbd2-ticker span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .gbd2-bottom-nav { display: none; }
  .gbd2-wrap { max-width: 430px; }
}

/* ---------- Mobile padding clearance ---------- */
@media (max-width: 768px) {
  main.gbd2-main { padding-bottom: 80px; }
}
