/**
 * BW77 Layout Stylesheet
 * Prefix: g92a-
 * Color Palette: #FF1493 | #1A1A2E | #FF0000 | #C9C9FF | #F08080
 */

/* CSS Variables */
:root {
  --g92a-primary: #FF1493;
  --g92a-bg: #1A1A2E;
  --g92a-accent: #FF0000;
  --g92a-text-light: #C9C9FF;
  --g92a-coral: #F08080;
  --g92a-bg-card: #252545;
  --g92a-bg-dark: #12122A;
  --g92a-border: #3A3A5C;
  --g92a-gold: #FFD700;
  --g92a-white: #FFFFFF;
  --g92a-radius: 1.2rem;
  --g92a-radius-sm: 0.8rem;
  --g92a-shadow: 0 4px 20px rgba(255, 20, 147, 0.15);
  --g92a-transition: all 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--g92a-bg);
  color: var(--g92a-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--g92a-primary); text-decoration: none; }
a:hover { color: var(--g92a-coral); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.g92a-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--g92a-bg-dark);
  border-bottom: 2px solid var(--g92a-primary);
  max-width: 430px; margin: 0 auto;
  transition: var(--g92a-transition);
}
.g92a-header-scrolled { box-shadow: 0 2px 16px rgba(255, 20, 147, 0.3); }
.g92a-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 56px;
}
.g92a-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.g92a-logo-area img { width: 32px; height: 32px; border-radius: 6px; }
.g92a-logo-text {
  font-size: 2rem; font-weight: 800; color: var(--g92a-primary);
  letter-spacing: 1px;
}
.g92a-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g92a-btn-register, .g92a-btn-login {
  padding: 0.6rem 1.4rem; border-radius: var(--g92a-radius-sm);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; border: none;
  transition: var(--g92a-transition);
}
.g92a-btn-register {
  background: linear-gradient(135deg, var(--g92a-primary), var(--g92a-accent));
  color: var(--g92a-white);
}
.g92a-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255, 20, 147, 0.5); }
.g92a-btn-login {
  background: transparent; color: var(--g92a-primary);
  border: 2px solid var(--g92a-primary);
}
.g92a-btn-login:hover { background: var(--g92a-primary); color: var(--g92a-white); }

/* Hamburger Menu */
.g92a-hamburger {
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.g92a-hamburger span {
  width: 22px; height: 2px; background: var(--g92a-primary);
  border-radius: 2px; transition: var(--g92a-transition);
}

/* Mobile Menu */
.g92a-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100vh; z-index: 9999;
  background: var(--g92a-bg-dark);
  transition: right 0.35s ease;
  overflow-y: auto; padding: 2rem 1.5rem;
}
.g92a-menu-active { right: 0 !important; }
.g92a-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.g92a-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--g92a-primary); }
.g92a-menu-close {
  background: none; border: none; color: var(--g92a-text-light);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.g92a-menu-nav { list-style: none; }
.g92a-menu-nav li { margin-bottom: 0.2rem; }
.g92a-menu-nav a {
  display: block; padding: 1.2rem 1rem; color: var(--g92a-text-light);
  font-size: 1.4rem; border-radius: var(--g92a-radius-sm);
  transition: var(--g92a-transition);
}
.g92a-menu-nav a:hover { background: var(--g92a-bg-card); color: var(--g92a-primary); }
.g92a-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.g92a-overlay-active { display: block !important; }

/* Carousel */
.g92a-carousel {
  position: relative; width: 100%; overflow: hidden;
  margin-top: 56px; border-radius: 0 0 var(--g92a-radius) var(--g92a-radius);
}
.g92a-slide {
  display: none; width: 100%; cursor: pointer;
}
.g92a-slide-active { display: block; }
.g92a-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.g92a-carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px;
}
.g92a-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: var(--g92a-transition);
}
.g92a-dot-active { background: var(--g92a-primary); transform: scale(1.2); }

/* Main Content */
.g92a-main { padding: 1.5rem 1.2rem; }
.g92a-section { margin-bottom: 2.5rem; }
.g92a-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g92a-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g92a-border);
  display: flex; align-items: center; gap: 0.8rem;
}
.g92a-section-title i, .g92a-section-title .material-symbols-outlined {
  font-size: 2.2rem;
}

/* Game Grid */
.g92a-category-title {
  font-size: 1.5rem; font-weight: 600; color: var(--g92a-coral);
  margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--g92a-primary);
}
.g92a-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.g92a-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--g92a-transition);
  padding: 0.5rem; border-radius: var(--g92a-radius-sm);
}
.g92a-game-item:hover { background: var(--g92a-bg-card); transform: translateY(-2px); }
.g92a-game-item img {
  width: 72px; height: 72px; border-radius: 12px;
  border: 2px solid var(--g92a-border); margin-bottom: 0.4rem;
}
.g92a-game-name {
  font-size: 1.1rem; text-align: center; color: var(--g92a-text-light);
  line-height: 1.3rem; max-width: 80px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Content Cards */
.g92a-card {
  background: var(--g92a-bg-card); border-radius: var(--g92a-radius);
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid var(--g92a-border);
}
.g92a-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--g92a-primary);
  margin-bottom: 1rem;
}
.g92a-card p {
  font-size: 1.3rem; line-height: 2rem; margin-bottom: 0.8rem;
}

/* Promo Buttons & Links */
.g92a-promo-btn {
  display: inline-block; padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--g92a-primary), var(--g92a-accent));
  color: var(--g92a-white); font-size: 1.5rem; font-weight: 700;
  border-radius: var(--g92a-radius); cursor: pointer; border: none;
  transition: var(--g92a-transition); text-align: center;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}
.g92a-promo-btn:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(255, 20, 147, 0.6); }
.g92a-promo-text {
  color: var(--g92a-primary); font-weight: 700;
  cursor: pointer; text-decoration: underline;
  transition: var(--g92a-transition);
}
.g92a-promo-text:hover { color: var(--g92a-coral); }

/* Testimonials */
.g92a-testimonial {
  background: var(--g92a-bg-card); border-radius: var(--g92a-radius);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--g92a-primary);
}
.g92a-testimonial-name { font-weight: 700; color: var(--g92a-primary); font-size: 1.3rem; }
.g92a-testimonial-text { font-size: 1.2rem; margin-top: 0.5rem; line-height: 1.8rem; }

/* Winners */
.g92a-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: var(--g92a-bg-card);
  border-radius: var(--g92a-radius-sm); margin-bottom: 0.5rem;
}
.g92a-winner-name { font-weight: 600; color: var(--g92a-primary); font-size: 1.3rem; }
.g92a-winner-game { font-size: 1.1rem; color: var(--g92a-text-light); }
.g92a-winner-amount { font-weight: 700; color: var(--g92a-gold); font-size: 1.4rem; }

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

/* Footer */
.g92a-footer {
  background: var(--g92a-bg-dark); padding: 2rem 1.2rem 8rem;
  border-top: 2px solid var(--g92a-primary);
}
.g92a-footer-brand {
  font-size: 1.3rem; line-height: 2rem; margin-bottom: 1.5rem;
  color: var(--g92a-text-light);
}
.g92a-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem;
}
.g92a-footer-link {
  padding: 0.6rem 1.2rem; background: var(--g92a-bg-card);
  border-radius: var(--g92a-radius-sm); font-size: 1.2rem;
  color: var(--g92a-primary); transition: var(--g92a-transition);
  cursor: pointer;
}
.g92a-footer-link:hover { background: var(--g92a-primary); color: var(--g92a-white); }
.g92a-footer-copy {
  font-size: 1.1rem; color: var(--g92a-border); text-align: center;
  padding-top: 1rem; border-top: 1px solid var(--g92a-border);
}

/* Bottom Navigation */
.g92a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: var(--g92a-bg-dark);
  border-top: 2px solid var(--g92a-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 16px rgba(255, 20, 147, 0.2);
}
.g92a-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: none; border: none;
  color: var(--g92a-text-light); cursor: pointer;
  min-width: 60px; min-height: 60px; padding: 0.4rem;
  transition: var(--g92a-transition); position: relative;
}
.g92a-bottom-btn i, .g92a-bottom-btn .material-symbols-outlined,
.g92a-bottom-btn ion-icon, .g92a-bottom-btn bi {
  font-size: 24px; margin-bottom: 2px;
}
.g92a-bottom-btn span { font-size: 1rem; line-height: 1.2rem; }
.g92a-bottom-btn:hover, .g92a-bottom-btn-active {
  color: var(--g92a-primary);
}
.g92a-bottom-btn-active::after {
  content: ''; position: absolute; top: -2px;
  left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: var(--g92a-primary);
  border-radius: 0 0 3px 3px;
}
.g92a-bottom-btn:active { transform: scale(0.92); }

/* FAQ Accordion */
.g92a-faq-item { margin-bottom: 0.8rem; }
.g92a-faq-q {
  background: var(--g92a-bg-card); padding: 1rem 1.2rem;
  font-weight: 600; color: var(--g92a-primary); font-size: 1.3rem;
  border-radius: var(--g92a-radius-sm); cursor: pointer;
}
.g92a-faq-a {
  padding: 1rem 1.2rem; font-size: 1.2rem; line-height: 1.8rem;
  background: var(--g92a-bg); border-radius: 0 0 var(--g92a-radius-sm) var(--g92a-radius-sm);
}

/* CTA Section */
.g92a-cta-box {
  background: linear-gradient(135deg, var(--g92a-primary), #FF4081);
  border-radius: var(--g92a-radius); padding: 2rem 1.5rem;
  text-align: center; margin-bottom: 1.5rem;
}
.g92a-cta-title {
  font-size: 2rem; font-weight: 800; color: var(--g92a-white); margin-bottom: 0.8rem;
}
.g92a-cta-text {
  font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 1.2rem;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
  .g92a-bottom-nav { display: none; }
  .g92a-header { max-width: 430px; }
}
@media (max-width: 768px) {
  .g92a-main { padding-bottom: 80px; }
}
