/* ============================================================
   88online casino - base styles
   All custom classes use prefix: g0dc-
   Palette: #1C2833 (dark bg) | #8B0000 (deep red) |
            #FF69B4 / #FFB3FF / #FFB6C1 (pink accents) | #E9ECEF (light)
   ============================================================ */

:root {
  --g0dc-bg: #1C2833;
  --g0dc-bg-2: #141c25;
  --g0dc-bg-3: #232f3e;
  --g0dc-red: #8B0000;
  --g0dc-red-bright: #c0392b;
  --g0dc-pink: #FF69B4;
  --g0dc-pink-soft: #FFB3FF;
  --g0dc-pink-light: #FFB6C1;
  --g0dc-light: #E9ECEF;
  --g0dc-text: #f5e9f0;
  --g0dc-muted: #b8a8b8;
  --g0dc-gold: #ffd56b;
  --g0dc-radius: 14px;
  --g0dc-shadow: 0 8px 24px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Be Vietnam Pro", Roboto, Arial, sans-serif;
  background: var(--g0dc-bg);
  color: var(--g0dc-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--g0dc-pink-soft); text-decoration: none; }

.g0dc-wrapper { max-width: 430px; margin: 0 auto; position: relative; }

/* ---------- Header ---------- */
.g0dc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1C2833 0%, #2a0d1a 100%);
  border-bottom: 1px solid rgba(255,105,180,.25);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.g0dc-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.2rem; min-height: 56px;
}
.g0dc-logo { display: flex; align-items: center; gap: .6rem; }
.g0dc-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g0dc-logo-text { font-weight: 800; font-size: 1.7rem; color: var(--g0dc-pink-soft); }
.g0dc-logo-text span { color: var(--g0dc-gold); }

.g0dc-header-actions { display: flex; align-items: center; gap: .5rem; }
.g0dc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: 30px; padding: .7rem 1.2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .15s; min-height: 36px;
}
.g0dc-btn:hover { transform: translateY(-1px); }
.g0dc-btn-primary {
  background: linear-gradient(135deg, var(--g0dc-pink), var(--g0dc-red));
  color: #fff; box-shadow: 0 4px 12px rgba(255,105,180,.4);
}
.g0dc-btn-outline {
  background: transparent; color: var(--g0dc-pink-soft);
  border: 1px solid var(--g0dc-pink);
}
.g0dc-btn-block { display: block; width: 100%; padding: 1rem; font-size: 1.5rem; }
.g0dc-btn-gold {
  background: linear-gradient(135deg, var(--g0dc-gold), #ff9d3a);
  color: #1C2833; font-weight: 800;
}

.g0dc-menu-btn {
  background: transparent; border: none; color: var(--g0dc-pink-soft);
  font-size: 2rem; cursor: pointer; padding: .3rem .6rem;
}
.g0dc-menu-btn.g0dc-active { color: var(--g0dc-gold); }

/* ---------- Mobile slide-down menu ---------- */
.g0dc-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--g0dc-bg-2);
  transition: max-height .3s ease;
  border-top: 1px solid rgba(255,105,180,.15);
}
.g0dc-mobile-menu.g0dc-menu-open { max-height: 480px; }
.g0dc-mobile-menu ul { list-style: none; padding: .6rem 1.2rem 1rem; }
.g0dc-mobile-menu li a {
  display: block; padding: .9rem .4rem;
  color: var(--g0dc-text); border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.4rem;
}
.g0dc-mobile-menu li a:hover { color: var(--g0dc-pink-soft); padding-left: 1rem; }

/* ---------- Main / Sections ---------- */
.g0dc-main { padding-top: 70px; padding-bottom: 90px; }
.g0dc-section { padding: 1.6rem 1.2rem; }
.g0dc-section h2 {
  font-size: 1.9rem; color: var(--g0dc-pink-soft);
  margin-bottom: .8rem; border-left: 4px solid var(--g0dc-pink);
  padding-left: .8rem;
}
.g0dc-section h3 { font-size: 1.6rem; color: var(--g0dc-gold); margin: 1rem 0 .5rem; }
.g0dc-section p { margin-bottom: .8rem; color: var(--g0dc-light); }

/* ---------- Hero carousel ---------- */
.g0dc-hero { position: relative; overflow: hidden; border-radius: var(--g0dc-radius); margin: 1.2rem; }
.g0dc-slides { position: relative; }
.g0dc-slide {
  display: none; position: relative; cursor: pointer;
}
.g0dc-slide.g0dc-active { display: block; }
.g0dc-slide img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--g0dc-radius); }
.g0dc-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(28,40,51,.92), transparent);
  padding: 1.2rem; color: #fff;
}
.g0dc-slide-overlay strong { color: var(--g0dc-pink-soft); font-size: 1.7rem; }
.g0dc-slide-overlay p { color: var(--g0dc-light); font-size: 1.25rem; margin-top: .3rem; }
.g0dc-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.g0dc-hero-prev { left: 8px; }
.g0dc-hero-next { right: 8px; }
.g0dc-dots {
  display: flex; justify-content: center; gap: .5rem;
  position: absolute; bottom: 6px; left: 0; right: 0; z-index: 5;
}
.g0dc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.g0dc-dot.g0dc-active { background: var(--g0dc-pink); width: 18px; border-radius: 4px; }

/* ---------- Filter tabs ---------- */
.g0dc-filter-bar {
  display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 1.2rem;
  scrollbar-width: none;
}
.g0dc-filter-bar::-webkit-scrollbar { display: none; }
.g0dc-filter-tab {
  flex: 0 0 auto; padding: .55rem 1.1rem; border-radius: 20px;
  background: var(--g0dc-bg-3); color: var(--g0dc-light);
  font-size: 1.25rem; cursor: pointer; white-space: nowrap; border: 1px solid transparent;
}
.g0dc-filter-tab.g0dc-active {
  background: linear-gradient(135deg, var(--g0dc-pink), var(--g0dc-red));
  color: #fff; border-color: var(--g0dc-pink-soft);
}

/* ---------- Game grid ---------- */
.g0dc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
  padding: .4rem 1.2rem 1rem;
}
.g0dc-game-card {
  background: var(--g0dc-bg-3); border-radius: 12px; padding: .6rem;
  text-align: center; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  border: 1px solid rgba(255,105,180,.12);
}
.g0dc-game-card:hover { transform: translateY(-2px); box-shadow: var(--g0dc-shadow); }
.g0dc-game-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; }
.g0dc-game-name {
  font-size: 1.1rem; color: var(--g0dc-light); margin-top: .4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6rem;
}
.g0dc-game-tag {
  position: absolute; top: 4px; right: 4px;
  background: var(--g0dc-red); color: #fff;
  font-size: .9rem; padding: .1rem .4rem; border-radius: 6px;
}

/* ---------- Category header ---------- */
.g0dc-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem .4rem;
}
.g0dc-cat-head h2 { border-left: none; padding-left: 0; margin: 0; }
.g0dc-cat-icon {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--g0dc-gold); font-size: 1.7rem; font-weight: 800;
}

/* ---------- Cards / panels ---------- */
.g0dc-card {
  background: var(--g0dc-bg-3); border-radius: var(--g0dc-radius);
  padding: 1.2rem; margin: .8rem 1.2rem;
  box-shadow: var(--g0dc-shadow); border: 1px solid rgba(255,105,180,.1);
}
.g0dc-card h3 { margin-top: 0; }
.g0dc-feature-row {
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem;
}
.g0dc-feature-row .material-icons,
.g0dc-feature-row .bi { color: var(--g0dc-pink); font-size: 2.2rem; }
.g0dc-feature-row strong { color: var(--g0dc-pink-soft); }

/* ---------- RTP table ---------- */
.g0dc-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.g0dc-rtp-table th, .g0dc-rtp-table td {
  padding: .6rem .4rem; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left;
}
.g0dc-rtp-table th { color: var(--g0dc-gold); }
.g0dc-rtp-bar {
  height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden;
}
.g0dc-rtp-bar span { display: block; height: 100%;
  background: linear-gradient(90deg, var(--g0dc-pink), var(--g0dc-gold)); }

/* ---------- FAQ accordion ---------- */
.g0dc-faq-item {
  background: var(--g0dc-bg-3); border-radius: 10px; margin-bottom: .6rem;
  overflow: hidden; border: 1px solid rgba(255,105,180,.1);
}
.g0dc-faq-q {
  padding: 1rem; cursor: pointer; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--g0dc-pink-soft);
}
.g0dc-faq-q .g0dc-faq-ico { transition: transform .2s; color: var(--g0dc-gold); }
.g0dc-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 1rem; color: var(--g0dc-light);
}
.g0dc-faq-item.g0dc-open .g0dc-faq-a { max-height: 280px; padding: 0 1rem 1rem; }
.g0dc-faq-item.g0dc-open .g0dc-faq-ico { transform: rotate(45deg); }

/* ---------- Testimonials ---------- */
.g0dc-testi {
  background: var(--g0dc-bg-3); border-radius: 12px; padding: 1rem;
  margin-bottom: .7rem; border-left: 3px solid var(--g0dc-pink);
}
.g0dc-testi-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.g0dc-testi-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g0dc-pink), var(--g0dc-red));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.g0dc-stars { color: var(--g0dc-gold); font-size: 1.1rem; }

/* ---------- Payment ---------- */
.g0dc-pay-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding: 0 1.2rem;
}
.g0dc-pay {
  background: var(--g0dc-bg-3); border-radius: 10px; padding: .8rem .3rem;
  text-align: center; font-size: 1rem; color: var(--g0dc-light);
  border: 1px solid rgba(255,105,180,.1);
}
.g0dc-pay .material-icons, .g0dc-pay .bi { font-size: 2rem; color: var(--g0dc-pink-soft); }

/* ---------- Winners ---------- */
.g0dc-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g0dc-bg-3); border-radius: 10px; padding: .7rem 1rem; margin-bottom: .5rem;
  border: 1px solid rgba(255,213,107,.15);
}
.g0dc-winner .g0dc-amt { color: var(--g0dc-gold); font-weight: 800; }

/* ---------- CTA banner ---------- */
.g0dc-cta {
  background: linear-gradient(135deg, var(--g0dc-red), var(--g0dc-pink));
  border-radius: var(--g0dc-radius); padding: 1.6rem 1.2rem; margin: 1rem 1.2rem;
  text-align: center; color: #fff;
}
.g0dc-cta h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.8rem; }
.g0dc-cta p { color: #fff; opacity: .92; margin-bottom: 1rem; }

/* ---------- App download ---------- */
.g0dc-app {
  display: flex; gap: 1rem; align-items: center;
  background: var(--g0dc-bg-3); border-radius: var(--g0dc-radius);
  padding: 1rem; margin: .8rem 1.2rem; border: 1px solid rgba(255,105,180,.15);
}
.g0dc-app-icon {
  font-size: 3rem; color: var(--g0dc-pink-soft);
}

/* ---------- Footer ---------- */
.g0dc-footer {
  background: var(--g0dc-bg-2); padding: 1.6rem 1.2rem 2rem;
  border-top: 1px solid rgba(255,105,180,.2);
}
.g0dc-footer h4 { color: var(--g0dc-pink-soft); margin-bottom: .6rem; font-size: 1.4rem; }
.g0dc-footer p { color: var(--g0dc-muted); font-size: 1.2rem; margin-bottom: .8rem; }
.g0dc-footer-links {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: .8rem 0;
}
.g0dc-footer-links a {
  color: var(--g0dc-light); font-size: 1.15rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.g0dc-footer-links a:hover { color: var(--g0dc-pink-soft); }
.g0dc-footer-copy {
  text-align: center; color: var(--g0dc-muted); font-size: 1.1rem;
  margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.06);
}
.g0dc-promo-row {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0;
}
.g0dc-promo-row .g0dc-btn { flex: 1 1 auto; min-width: 45%; }

/* ---------- Bottom nav ---------- */
.g0dc-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2a0d1a, #1C2833);
  border-top: 1px solid rgba(255,105,180,.3);
  display: flex; justify-content: space-around; align-items: center;
  height: 62px; padding: 0 .2rem;
}
.g0dc-bottom-nav-btn {
  background: transparent; border: none; color: var(--g0dc-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; min-width: 60px; min-height: 60px;
  font-size: 1rem; cursor: pointer; transition: color .15s, transform .15s;
  position: relative;
}
.g0dc-bottom-nav-btn .material-icons,
.g0dc-bottom-nav-btn .bi,
.g0dc-bottom-nav-btn ion-icon { font-size: 22px; }
.g0dc-bottom-nav-btn:hover { transform: scale(1.08); color: var(--g0dc-pink-soft); }
.g0dc-bottom-nav-btn.g0dc-current { color: var(--g0dc-gold); }
.g0dc-bottom-nav-btn.g0dc-current::after {
  content: ""; position: absolute; top: 0; width: 24px; height: 3px;
  background: var(--g0dc-gold); border-radius: 0 0 4px 4px;
}
.g0dc-bottom-nav-btn.g0dc-promo { color: var(--g0dc-pink-soft); }
.g0dc-bottom-nav-btn.g0dc-promo ion-icon,
.g0dc-bottom-nav-btn.g0dc-promo .material-icons { font-size: 24px; }
.g0dc-nav-badge {
  position: absolute; top: 4px; right: 10px;
  background: var(--g0dc-red); color: #fff; font-size: .8rem;
  border-radius: 50%; width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Back to top ---------- */
.g0dc-back-top {
  position: fixed; right: 14px; bottom: 76px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g0dc-pink); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
  box-shadow: var(--g0dc-shadow);
}
.g0dc-back-top.g0dc-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .g0dc-bottom-nav { display: none; }
  .g0dc-wrapper { max-width: 960px; }
  .g0dc-grid { grid-template-columns: repeat(6, 1fr); }
  .g0dc-main { padding-bottom: 40px; }
}

@media (max-width: 768px) {
  .g0dc-main { padding-bottom: 88px; }
}
