/**
 * cb666 Core CSS Layout
 * Class prefix: gd92-
 * Color palette: #DAA520 #BDC3C7 #EEE8AA #0A0A0A #A9A9A9
 */

:root {
  --gd92-primary: #DAA520;
  --gd92-secondary: #BDC3C7;
  --gd92-accent: #EEE8AA;
  --gd92-bg: #0A0A0A;
  --gd92-bg-light: #1A1A1A;
  --gd92-bg-card: #141414;
  --gd92-text: #EEE8AA;
  --gd92-text-light: #BDC3C7;
  --gd92-text-muted: #A9A9A9;
  --gd92-border: #2A2A2A;
  --gd92-gold: #DAA520;
  --gd92-gold-dark: #B8860B;
  --gd92-success: #2ECC71;
  --gd92-danger: #E74C3C;
  --gd92-radius: 8px;
  --gd92-shadow: 0 2px 12px rgba(218, 165, 32, 0.15);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gd92-bg);
  color: var(--gd92-text);
  line-height: 1.5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.gd92-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}
.gd92-wrapper { padding: 1.2rem 0; }

/* Header */
.gd92-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  border-bottom: 1px solid var(--gd92-gold);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}
.gd92-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.gd92-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.gd92-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gd92-gold);
  letter-spacing: 0.5px;
}
.gd92-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gd92-btn-register {
  background: linear-gradient(135deg, var(--gd92-gold), var(--gd92-gold-dark));
  color: #0A0A0A;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.gd92-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(218,165,32,0.4); }
.gd92-btn-login {
  background: transparent;
  color: var(--gd92-gold);
  border: 1.5px solid var(--gd92-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.gd92-btn-login:hover { background: rgba(218,165,32,0.1); }
.gd92-menu-btn {
  background: none;
  border: none;
  color: var(--gd92-gold);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.gd92-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.gd92-overlay-active { opacity: 1; visibility: visible; }
.gd92-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #0A0A0A, #1A1A1A);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.gd92-menu-active { right: 0; }
.gd92-mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--gd92-gold);
  font-size: 2.4rem;
  cursor: pointer;
}
.gd92-mobile-menu h3 {
  color: var(--gd92-gold);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gd92-border);
}
.gd92-mobile-menu ul { list-style: none; }
.gd92-mobile-menu ul li { margin-bottom: 0.8rem; }
.gd92-mobile-menu ul li a {
  color: var(--gd92-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  transition: color 0.2s;
}
.gd92-mobile-menu ul li a:hover { color: var(--gd92-gold); }

/* Carousel */
.gd92-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--gd92-radius);
  margin-top: 1rem;
}
.gd92-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.gd92-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}
.gd92-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--gd92-radius);
}
.gd92-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
}
.gd92-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gd92-border);
  cursor: pointer;
  transition: background 0.3s;
}
.gd92-dot-active { background: var(--gd92-gold); }

/* Section Headings */
.gd92-section {
  padding: 1.5rem 0;
}
.gd92-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gd92-gold);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gd92-gold);
  line-height: 2rem;
}
.gd92-section-subtitle {
  font-size: 1.2rem;
  color: var(--gd92-text-muted);
  margin-bottom: 1rem;
}

/* Game Grid */
.gd92-game-category { margin-bottom: 2rem; }
.gd92-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gd92-gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gd92-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.gd92-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.gd92-game-item:hover { transform: translateY(-2px); }
.gd92-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--gd92-border);
  object-fit: cover;
}
.gd92-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--gd92-text-light);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.gd92-card {
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-border);
  border-radius: var(--gd92-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.gd92-card:hover { border-color: var(--gd92-gold); }
.gd92-card h3 {
  font-size: 1.4rem;
  color: var(--gd92-gold);
  margin-bottom: 0.6rem;
}
.gd92-card p {
  font-size: 1.2rem;
  color: var(--gd92-text-light);
  line-height: 1.6;
}

/* Buttons */
.gd92-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 24px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}
.gd92-btn-primary {
  background: linear-gradient(135deg, var(--gd92-gold), var(--gd92-gold-dark));
  color: #0A0A0A;
}
.gd92-btn-primary:hover { box-shadow: 0 0 20px rgba(218,165,32,0.4); transform: scale(1.02); }
.gd92-btn-outline {
  background: transparent;
  color: var(--gd92-gold);
  border: 1.5px solid var(--gd92-gold);
}
.gd92-btn-outline:hover { background: rgba(218,165,32,0.1); }

/* Promo Link */
.gd92-promo-link {
  color: var(--gd92-gold);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  border-bottom: 1px dashed var(--gd92-gold);
}
.gd92-promo-link:hover { color: var(--gd92-accent); }

/* Footer */
.gd92-footer {
  background: linear-gradient(180deg, var(--gd92-bg-card), #0A0A0A);
  border-top: 1px solid var(--gd92-border);
  padding: 2rem 1.2rem 3rem;
  margin-top: 2rem;
}
.gd92-footer-brand {
  font-size: 1.3rem;
  color: var(--gd92-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.gd92-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.gd92-footer-links a {
  color: var(--gd92-gold);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--gd92-border);
  border-radius: 16px;
  transition: all 0.2s;
}
.gd92-footer-links a:hover { border-color: var(--gd92-gold); background: rgba(218,165,32,0.1); }
.gd92-footer-copyright {
  font-size: 1.1rem;
  color: var(--gd92-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gd92-border);
}

/* Bottom Navigation */
.gd92-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A, #0A0A0A);
  border-top: 1px solid var(--gd92-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}
.gd92-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--gd92-text-muted);
  cursor: pointer;
  transition: all 0.25s;
  padding: 0.4rem;
  position: relative;
}
.gd92-bottom-nav-btn:hover,
.gd92-nav-active {
  color: var(--gd92-gold);
}
.gd92-bottom-nav-btn:hover .gd92-nav-icon {
  transform: scale(1.15);
}
.gd92-nav-active .gd92-nav-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(218,165,32,0.5));
}
.gd92-nav-icon {
  font-size: 2.2rem;
  transition: transform 0.25s;
}
.gd92-nav-label {
  font-size: 1rem;
  margin-top: 0.2rem;
  letter-spacing: 0.3px;
}

/* Main content padding for fixed header and bottom nav */
main { padding-top: 5.5rem; }

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

@media (min-width: 769px) {
  .gd92-bottom-nav { display: none; }
}

/* Text helpers */
.gd92-text-gold { color: var(--gd92-gold); }
.gd92-text-muted { color: var(--gd92-text-muted); }
.gd92-text-light { color: var(--gd92-text-light); }
.gd92-fw-bold { font-weight: 700; }
.gd92-mb-1 { margin-bottom: 0.5rem; }
.gd92-mb-2 { margin-bottom: 1rem; }
.gd92-mb-3 { margin-bottom: 1.5rem; }
.gd92-mt-2 { margin-top: 1rem; }
.gd92-text-center { text-align: center; }

/* FAQ styles */
.gd92-faq-item {
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-border);
  border-radius: var(--gd92-radius);
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem;
}
.gd92-faq-item h3 {
  font-size: 1.3rem;
  color: var(--gd92-gold);
  margin-bottom: 0.5rem;
}
.gd92-faq-item p {
  font-size: 1.2rem;
  color: var(--gd92-text-light);
  line-height: 1.6;
}

/* Winner showcase */
.gd92-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gd92-border);
}
.gd92-winner-item:last-child { border-bottom: none; }
.gd92-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gd92-gold);
  font-size: 1.4rem;
}
.gd92-winner-info { flex: 1; }
.gd92-winner-name { font-size: 1.1rem; color: var(--gd92-text-light); }
.gd92-winner-game { font-size: 1rem; color: var(--gd92-text-muted); }
.gd92-winner-amount { font-size: 1.3rem; color: var(--gd92-gold); font-weight: 700; }

/* Payment icons */
.gd92-payment-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.gd92-payment-item {
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-border);
  border-radius: var(--gd92-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--gd92-text-light);
}

/* App download CTA */
.gd92-cta-box {
  background: linear-gradient(135deg, rgba(218,165,32,0.15), rgba(218,165,32,0.05));
  border: 1px solid var(--gd92-gold);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.gd92-cta-box h3 {
  font-size: 1.6rem;
  color: var(--gd92-gold);
  margin-bottom: 0.6rem;
}
.gd92-cta-box p {
  font-size: 1.2rem;
  color: var(--gd92-text-light);
  margin-bottom: 1rem;
}

/* Safety page specific */
.gd92-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.gd92-feature-card {
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-border);
  border-radius: var(--gd92-radius);
  padding: 1rem;
  text-align: center;
}
.gd92-feature-card .gd92-feature-icon {
  font-size: 2.4rem;
  color: var(--gd92-gold);
  margin-bottom: 0.5rem;
}
.gd92-feature-card h4 {
  font-size: 1.2rem;
  color: var(--gd92-text-light);
}

/* Testimonial */
.gd92-testimonial {
  background: var(--gd92-bg-card);
  border: 1px solid var(--gd92-border);
  border-radius: var(--gd92-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.gd92-testimonial-text {
  font-size: 1.2rem;
  color: var(--gd92-text-light);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.gd92-testimonial-author {
  font-size: 1.1rem;
  color: var(--gd92-gold);
  font-weight: 600;
}
