/**
 * 6789bd.click - Main Stylesheet
 * Class prefix: gc88-
 * Color palette: #FAFAD2 | #1B263B | #D2B48C | #FF4500 | #CD853F
 * Mobile-first, max-width 430px
 */

/* CSS Variables */
:root {
  --gc88-primary: #D2B48C;
  --gc88-bg: #1B263B;
  --gc88-text: #FAFAD2;
  --gc88-accent: #FF4500;
  --gc88-secondary: #CD853F;
  --gc88-dark: #111827;
  --gc88-card-bg: #1f2d45;
  --gc88-border: #2a3a54;
  --gc88-radius: 8px;
  --gc88-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--gc88-bg);
  color: var(--gc88-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gc88-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header / Top Navigation */
.gc88-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #1B263B 0%, #0f1a2e 100%);
  border-bottom: 2px solid var(--gc88-primary);
  z-index: 1000;
  padding: 0 1rem;
}
.gc88-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.gc88-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc88-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.gc88-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gc88-primary);
  letter-spacing: 0.5px;
}
.gc88-header-btns {
  display: flex;
  gap: 6px;
}
.gc88-btn-register, .gc88-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: var(--gc88-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gc88-btn-register {
  background: var(--gc88-accent);
  color: #fff;
}
.gc88-btn-register:hover { background: #e03d00; transform: scale(1.05); }
.gc88-btn-login {
  background: transparent;
  color: var(--gc88-primary);
  border: 1.5px solid var(--gc88-primary);
}
.gc88-btn-login:hover { background: var(--gc88-primary); color: var(--gc88-bg); }

/* Menu Toggle Button */
.gc88-menu-toggle {
  background: none;
  border: none;
  color: var(--gc88-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu Slide Panel */
.gc88-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, #1B263B, #0d1526);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.gc88-mobile-menu.gc88-menu-active { right: 0; }
.gc88-menu-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gc88-text);
  font-size: 2.4rem;
  cursor: pointer;
}
.gc88-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--gc88-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(250,250,210,0.1);
  transition: color 0.2s;
}
.gc88-menu-link:hover { color: var(--gc88-accent); }

/* Overlay */
.gc88-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
.gc88-menu-overlay.gc88-overlay-active { display: block; }

/* Main Content */
.gc88-main {
  padding-top: 56px;
  padding-bottom: 1rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .gc88-main { padding-bottom: 80px; }
}

/* Carousel */
.gc88-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--gc88-radius) var(--gc88-radius);
}
.gc88-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.gc88-slide.gc88-slide-active { display: block; }
.gc88-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.gc88-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gc88-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250,250,210,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.gc88-dot.gc88-dot-active { background: var(--gc88-accent); }

/* Section Titles */
.gc88-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gc88-primary);
  margin: 2rem 1rem 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gc88-secondary);
}
.gc88-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gc88-primary);
  margin: 1.5rem 1rem 0.8rem;
}

/* Game Grid */
.gc88-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0.8rem 1rem;
}
.gc88-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--gc88-radius);
  overflow: hidden;
}
.gc88-game-card:hover { transform: scale(1.05); }
.gc88-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--gc88-radius);
  border: 1.5px solid var(--gc88-border);
}
.gc88-game-card span {
  font-size: 1.1rem;
  color: var(--gc88-text);
  text-align: center;
  margin-top: 4px;
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Category Label */
.gc88-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc88-accent);
  margin: 1.5rem 1rem 0.5rem;
  padding: 4px 12px;
  background: rgba(255,69,0,0.1);
  border-left: 3px solid var(--gc88-accent);
  border-radius: 0 var(--gc88-radius) var(--gc88-radius) 0;
}

/* Content Sections */
.gc88-content-block {
  padding: 1.5rem 1rem;
  margin: 0 1rem;
  background: var(--gc88-card-bg);
  border-radius: var(--gc88-radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--gc88-border);
}
.gc88-content-block h2 {
  font-size: 1.6rem;
  color: var(--gc88-primary);
  margin-bottom: 0.8rem;
}
.gc88-content-block h3 {
  font-size: 1.4rem;
  color: var(--gc88-secondary);
  margin: 1rem 0 0.5rem;
}
.gc88-content-block p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--gc88-text);
  margin-bottom: 0.6rem;
}
.gc88-content-block ul, .gc88-content-block ol {
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}
.gc88-content-block li {
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin-bottom: 0.4rem;
}

/* Promo CTA */
.gc88-cta-box {
  text-align: center;
  padding: 1.5rem 1rem;
  margin: 1rem;
  background: linear-gradient(135deg, #FF4500, #CD853F);
  border-radius: var(--gc88-radius);
  cursor: pointer;
  transition: transform 0.2s;
}
.gc88-cta-box:hover { transform: scale(1.02); }
.gc88-cta-box h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.gc88-cta-box p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
}

/* Promo text link */
.gc88-promo-link {
  color: var(--gc88-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.gc88-promo-link:hover { color: #ff6a33; }

/* Footer */
.gc88-footer {
  background: linear-gradient(180deg, var(--gc88-bg), var(--gc88-dark));
  padding: 2rem 1rem 6rem;
  border-top: 2px solid var(--gc88-primary);
}
.gc88-footer-brand {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: rgba(250,250,210,0.7);
  margin-bottom: 1.5rem;
}
.gc88-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.gc88-footer-promo-btn {
  padding: 8px 14px;
  background: var(--gc88-accent);
  color: #fff;
  border: none;
  border-radius: var(--gc88-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.gc88-footer-promo-btn:hover { background: #e03d00; }
.gc88-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 1.5rem;
}
.gc88-footer-links a {
  font-size: 1.2rem;
  color: rgba(250,250,210,0.6);
}
.gc88-footer-links a:hover { color: var(--gc88-primary); }
.gc88-footer-copy {
  font-size: 1.1rem;
  color: rgba(250,250,210,0.4);
  text-align: center;
}

/* Bottom Fixed Navigation */
.gc88-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a2540, #0f1a2e);
  border-top: 2px solid var(--gc88-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.gc88-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: rgba(250,250,210,0.6);
  cursor: pointer;
  transition: all 0.2s;
  gap: 2px;
  border-radius: 8px;
}
.gc88-bnav-btn .gc88-bnav-icon { font-size: 22px; line-height: 1; }
.gc88-bnav-btn .gc88-bnav-label { font-size: 10px; line-height: 1.2; }
.gc88-bnav-btn:hover,
.gc88-bnav-btn.gc88-bnav-active {
  color: var(--gc88-accent);
  background: rgba(255,69,0,0.1);
}
.gc88-bnav-btn.gc88-bnav-touched {
  transform: scale(0.92);
  color: var(--gc88-accent);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .gc88-bnav { display: none; }
  .gc88-main { padding-bottom: 2rem; }
}

/* FAQ / Help page styles */
.gc88-faq-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gc88-border);
}
.gc88-faq-item:last-child { border-bottom: none; }
.gc88-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gc88-primary);
  margin-bottom: 0.4rem;
}
.gc88-faq-a {
  font-size: 1.3rem;
  color: rgba(250,250,210,0.8);
  line-height: 1.6rem;
}

/* Feature cards */
.gc88-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 1rem;
}
.gc88-feature-card {
  background: var(--gc88-card-bg);
  border: 1px solid var(--gc88-border);
  border-radius: var(--gc88-radius);
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.gc88-feature-card:hover { border-color: var(--gc88-primary); }
.gc88-feature-card i, .gc88-feature-card .material-icons {
  font-size: 2.4rem;
  color: var(--gc88-accent);
  margin-bottom: 0.5rem;
}
.gc88-feature-card h3 {
  font-size: 1.3rem;
  color: var(--gc88-primary);
  margin-bottom: 0.3rem;
}
.gc88-feature-card p {
  font-size: 1.1rem;
  color: rgba(250,250,210,0.7);
  line-height: 1.4rem;
}

/* Winner showcase */
.gc88-winner-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gc88-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(210,180,140,0.08);
  border-radius: 6px;
  font-size: 1.2rem;
}
.gc88-winner-name { color: var(--gc88-primary); font-weight: 600; }
.gc88-winner-amount { color: var(--gc88-accent); font-weight: 700; }
.gc88-winner-game { color: rgba(250,250,210,0.5); font-size: 1.1rem; }

/* Payment methods */
.gc88-payment-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.gc88-payment-item {
  padding: 8px 14px;
  background: var(--gc88-card-bg);
  border: 1px solid var(--gc88-border);
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--gc88-primary);
}

/* Responsive helpers */
.gc88-text-center { text-align: center; }
.gc88-mt-1 { margin-top: 1rem; }
.gc88-mb-1 { margin-bottom: 1rem; }
.gc88-p-1 { padding: 1rem; }
