/**
 * BigBunny App - Theme Stylesheet
 * All classes use ge47- prefix for namespace isolation
 * Color palette: #D2B48C | #3A3A3A | #8B4513 | #80CBC4 | #D3D3D3
 */

/* CSS Variables */
:root {
  --ge47-primary: #D2B48C;
  --ge47-bg: #3A3A3A;
  --ge47-accent: #8B4513;
  --ge47-teal: #80CBC4;
  --ge47-light: #D3D3D3;
  --ge47-dark: #1a1a1a;
  --ge47-card-bg: #2e2e2e;
  --ge47-text: #f0ece4;
  --ge47-text-muted: #b0a89e;
  --ge47-gold: #D2B48C;
  --ge47-radius: 1.2rem;
  --ge47-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --ge47-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--ge47-font);
  background: var(--ge47-dark);
  color: var(--ge47-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ge47-teal); text-decoration: none; }
a:hover { color: var(--ge47-primary); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.ge47-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3A3A3A 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 2px solid var(--ge47-accent);
}
.ge47-header-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ge47-header-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.ge47-header-brand span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ge47-primary);
  white-space: nowrap;
}
.ge47-header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.ge47-btn-register, .ge47-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.ge47-btn-register {
  background: linear-gradient(135deg, var(--ge47-accent), #a05a1f);
  color: #fff;
}
.ge47-btn-login {
  background: transparent;
  color: var(--ge47-primary);
  border: 1.5px solid var(--ge47-primary);
}
.ge47-btn-register:hover, .ge47-btn-login:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.ge47-menu-toggle {
  background: none;
  border: none;
  color: var(--ge47-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Menu */
.ge47-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: #252525;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.ge47-menu-active { right: 0 !important; }
.ge47-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}
.ge47-overlay-active { display: block !important; }
.ge47-mobile-menu .ge47-menu-close {
  background: none;
  border: none;
  color: var(--ge47-primary);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.ge47-mobile-menu nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--ge47-text);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(210,180,140,0.15);
  transition: color 0.2s;
}
.ge47-mobile-menu nav a:hover {
  color: var(--ge47-primary);
}

/* Main Content */
main {
  padding-top: 60px;
  padding-bottom: 2rem;
}

/* Carousel */
.ge47-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--ge47-radius) var(--ge47-radius);
}
.ge47-slide {
  display: none;
  cursor: pointer;
}
.ge47-slide-active { display: block; }
.ge47-slide img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}
.ge47-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.ge47-slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
}
.ge47-dot-active {
  background: var(--ge47-primary);
}

/* Sections */
.ge47-section {
  padding: 2rem 1.2rem;
}
.ge47-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ge47-primary);
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--ge47-teal);
  padding-left: 1rem;
}
.ge47-section-title i, .ge47-section-title span.material-icons-outlined {
  margin-right: 0.5rem;
  font-size: 1.6rem;
}

/* Game Grid */
.ge47-game-category {
  margin-bottom: 2.5rem;
}
.ge47-game-category h3 {
  font-size: 1.5rem;
  color: var(--ge47-teal);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ge47-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.ge47-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.ge47-game-item:hover { transform: scale(1.05); }
.ge47-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  border: 1px solid rgba(210,180,140,0.2);
}
.ge47-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--ge47-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.ge47-card {
  background: var(--ge47-card-bg);
  border-radius: var(--ge47-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--ge47-shadow);
  border: 1px solid rgba(210,180,140,0.1);
}

/* Promo Button */
.ge47-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ge47-accent), #c06a20);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
}
.ge47-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139,69,19,0.5);
}
.ge47-promo-text {
  display: inline;
  color: var(--ge47-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(210,180,140,0.4);
}

/* Testimonial */
.ge47-testimonial {
  background: var(--ge47-card-bg);
  border-left: 3px solid var(--ge47-teal);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 0 var(--ge47-radius) var(--ge47-radius) 0;
}
.ge47-testimonial p {
  font-style: italic;
  color: var(--ge47-text-muted);
  margin-bottom: 0.5rem;
}
.ge47-testimonial strong {
  color: var(--ge47-primary);
  font-size: 1.2rem;
}

/* Payment Methods */
.ge47-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.ge47-payment-item {
  background: var(--ge47-card-bg);
  padding: 0.8rem 1.4rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: var(--ge47-text-muted);
  border: 1px solid rgba(210,180,140,0.15);
}

/* Winners Showcase */
.ge47-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(210,180,140,0.1);
}
.ge47-winner-row:last-child { border-bottom: none; }
.ge47-winner-name { color: var(--ge47-teal); font-weight: 600; font-size: 1.3rem; }
.ge47-winner-amount { color: var(--ge47-primary); font-weight: 700; font-size: 1.4rem; }
.ge47-winner-game { color: var(--ge47-text-muted); font-size: 1.1rem; }

/* Footer */
.ge47-footer {
  background: #1e1e1e;
  padding: 2.5rem 1.2rem 1.5rem;
  margin-top: 2rem;
  border-top: 2px solid var(--ge47-accent);
}
.ge47-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ge47-footer-brand p {
  color: var(--ge47-text-muted);
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-top: 0.8rem;
}
.ge47-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.ge47-footer-links a {
  background: var(--ge47-card-bg);
  padding: 0.6rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: var(--ge47-text-muted);
  border: 1px solid rgba(210,180,140,0.15);
  transition: all 0.2s;
}
.ge47-footer-links a:hover {
  color: var(--ge47-primary);
  border-color: var(--ge47-primary);
}
.ge47-footer-copy {
  text-align: center;
  color: var(--ge47-text-muted);
  font-size: 1.1rem;
  border-top: 1px solid rgba(210,180,140,0.1);
  padding-top: 1rem;
}

/* Bottom Navigation */
.ge47-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1.5px solid var(--ge47-accent);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.ge47-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(--ge47-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  gap: 0.2rem;
}
.ge47-bottom-nav-btn i,
.ge47-bottom-nav-btn .material-icons-outlined,
.ge47-bottom-nav-btn ion-icon {
  font-size: 22px;
  transition: transform 0.2s;
}
.ge47-bottom-nav-btn span {
  font-size: 1rem;
}
.ge47-bottom-nav-btn:hover {
  color: var(--ge47-primary);
}
.ge47-bottom-nav-btn:active {
  transform: scale(0.9);
}
.ge47-nav-active {
  color: var(--ge47-primary) !important;
}
.ge47-nav-active i,
.ge47-nav-active .material-icons-outlined {
  transform: scale(1.15);
}

/* Help Page Styles */
.ge47-help-content {
  padding: 2rem 1.2rem;
}
.ge47-help-content h1 {
  font-size: 2rem;
  color: var(--ge47-primary);
  margin-bottom: 1.5rem;
  line-height: 2.4rem;
}
.ge47-help-content h2 {
  font-size: 1.6rem;
  color: var(--ge47-teal);
  margin: 1.8rem 0 1rem;
  border-left: 3px solid var(--ge47-primary);
  padding-left: 1rem;
}
.ge47-help-content p {
  color: var(--ge47-text-muted);
  line-height: 2.2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.ge47-help-content ul, .ge47-help-content ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.ge47-help-content li {
  color: var(--ge47-text-muted);
  line-height: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* FAQ Accordion */
.ge47-faq-item {
  background: var(--ge47-card-bg);
  border-radius: var(--ge47-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(210,180,140,0.1);
}
.ge47-faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--ge47-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
}
.ge47-faq-question i { color: var(--ge47-teal); }
.ge47-faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--ge47-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
}

/* Responsive */
@media (min-width: 769px) {
  .ge47-bottom-nav { display: none; }
  .ge47-header { max-width: 430px; }
  body { background: #111; }
}

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

@media (max-width: 360px) {
  .ge47-game-grid { grid-template-columns: repeat(3, 1fr); }
  .ge47-header-brand span { font-size: 1.3rem; }
}
