/**
 * fb7772.click - Core Stylesheet
 * All classes use g83b- prefix for namespace isolation
 * Color palette: #212F3D | #7CFC00 | #FF0000 | #00FF7F | #2E8B57
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --g83b-primary: #212F3D;
  --g83b-green: #7CFC00;
  --g83b-red: #FF0000;
  --g83b-light-green: #00FF7F;
  --g83b-teal: #2E8B57;
  --g83b-bg: #1a252f;
  --g83b-bg-dark: #151e27;
  --g83b-bg-card: #253442;
  --g83b-text: #e8e8e8;
  --g83b-text-muted: #a0b0c0;
  --g83b-border: #2e4050;
  --g83b-gold: #ffd700;
  --g83b-radius: 8px;
  --g83b-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Reset & 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(--g83b-bg);
  color: var(--g83b-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Header */
.g83b-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g83b-primary) 0%, #1a2a38 100%);
  border-bottom: 2px solid var(--g83b-teal);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.g83b-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g83b-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--g83b-green);
}

.g83b-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g83b-green);
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(124, 252, 0, 0.3);
}

.g83b-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g83b-btn-register {
  background: linear-gradient(135deg, var(--g83b-green), var(--g83b-teal));
  color: var(--g83b-primary);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 32px;
  min-width: 64px;
}

.g83b-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(124, 252, 0, 0.4);
}

.g83b-btn-login {
  background: transparent;
  color: var(--g83b-green);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--g83b-green);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 32px;
  min-width: 64px;
}

.g83b-btn-login:hover {
  background: rgba(124, 252, 0, 0.1);
}

.g83b-menu-toggle {
  background: none;
  border: none;
  color: var(--g83b-green);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.g83b-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.g83b-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: var(--g83b-bg-dark);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.g83b-mobile-menu-title {
  font-size: 1.8rem;
  color: var(--g83b-green);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g83b-border);
}

.g83b-mobile-menu a {
  display: block;
  color: var(--g83b-text);
  text-decoration: none;
  padding: 1rem 0;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g83b-border);
  transition: color 0.2s, padding-left 0.2s;
}

.g83b-mobile-menu a:hover {
  color: var(--g83b-green);
  padding-left: 0.5rem;
}

/* Main Content */
.g83b-main {
  padding-top: 52px;
}

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

/* Slider */
.g83b-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g83b-radius) var(--g83b-radius);
}

.g83b-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.g83b-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.g83b-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.g83b-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.g83b-dot-active {
  background: var(--g83b-green);
  width: 24px;
  border-radius: 4px;
}

/* Section Styles */
.g83b-section {
  padding: 2rem 1.2rem;
}

.g83b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g83b-green);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g83b-teal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g83b-section-title .material-icons,
.g83b-section-title .fas,
.g83b-section-title .far {
  font-size: 2rem;
}

.g83b-subtitle {
  font-size: 1.4rem;
  color: var(--g83b-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Game Grid */
.g83b-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g83b-light-green);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--g83b-green);
}

.g83b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.g83b-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--g83b-radius);
  overflow: hidden;
}

.g83b-game-item:hover {
  transform: translateY(-2px);
}

.g83b-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g83b-radius);
  border: 1px solid var(--g83b-border);
  object-fit: cover;
}

.g83b-game-name {
  font-size: 1rem;
  color: var(--g83b-text-muted);
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Content Cards */
.g83b-card {
  background: var(--g83b-bg-card);
  border-radius: var(--g83b-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--g83b-border);
}

.g83b-card h3 {
  font-size: 1.4rem;
  color: var(--g83b-green);
  margin-bottom: 0.8rem;
}

.g83b-card p {
  font-size: 1.2rem;
  color: var(--g83b-text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* Promo Link Styles */
.g83b-promo-link {
  color: var(--g83b-green);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.g83b-promo-link:hover {
  color: var(--g83b-light-green);
}

.g83b-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g83b-red), #cc0000);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 44px;
  text-decoration: none;
}

.g83b-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
}

.g83b-btn-green {
  background: linear-gradient(135deg, var(--g83b-green), var(--g83b-teal));
  color: var(--g83b-primary);
}

.g83b-btn-green:hover {
  box-shadow: 0 4px 16px rgba(124, 252, 0, 0.4);
}

/* Testimonials */
.g83b-testimonial {
  background: var(--g83b-bg-card);
  border-left: 3px solid var(--g83b-green);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: 0 var(--g83b-radius) var(--g83b-radius) 0;
}

.g83b-testimonial p {
  font-size: 1.1rem;
  color: var(--g83b-text-muted);
  font-style: italic;
}

.g83b-testimonial strong {
  color: var(--g83b-green);
  font-style: normal;
}

/* Winner Showcase */
.g83b-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--g83b-bg-card);
  border-radius: var(--g83b-radius);
  margin-bottom: 0.6rem;
}

.g83b-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g83b-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.g83b-winner-info {
  flex: 1;
  font-size: 1.1rem;
}

.g83b-winner-amount {
  color: var(--g83b-gold);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Footer */
.g83b-footer {
  background: var(--g83b-bg-dark);
  border-top: 2px solid var(--g83b-teal);
  padding: 2rem 1.2rem 1rem;
}

.g83b-footer-brand {
  font-size: 1.2rem;
  color: var(--g83b-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.g83b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.g83b-footer-links a {
  color: var(--g83b-green);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--g83b-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.g83b-footer-links a:hover {
  background: rgba(124, 252, 0, 0.1);
  border-color: var(--g83b-green);
}

.g83b-footer-partners {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.g83b-footer-partners img {
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.g83b-footer-partners img:hover {
  opacity: 1;
}

.g83b-copyright {
  text-align: center;
  font-size: 1rem;
  color: var(--g83b-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--g83b-border);
}

/* Bottom Navigation */
.g83b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--g83b-primary) 0%, #141e28 100%);
  border-top: 2px solid var(--g83b-teal);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

.g83b-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(--g83b-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.2rem;
  position: relative;
}

.g83b-bottom-nav-btn .material-icons,
.g83b-bottom-nav-btn .fas,
.g83b-bottom-nav-btn .far,
.g83b-bottom-nav-btn .fad,
.g83b-bottom-nav-btn ion-icon,
.g83b-bottom-nav-btn .bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.g83b-bottom-nav-btn span:last-child {
  font-size: 1rem;
}

.g83b-bottom-nav-btn:hover,
.g83b-bottom-nav-btn.g83b-nav-active {
  color: var(--g83b-green);
}

.g83b-nav-active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--g83b-green);
  border-radius: 0 0 2px 2px;
}

/* Internal link style */
.g83b-internal-link {
  color: var(--g83b-light-green);
  text-decoration: underline;
  transition: color 0.2s;
}

.g83b-internal-link:hover {
  color: var(--g83b-green);
}

/* FAQ */
.g83b-faq-item {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background: var(--g83b-bg-card);
  border-radius: var(--g83b-radius);
}

.g83b-faq-item h4 {
  font-size: 1.2rem;
  color: var(--g83b-green);
  margin-bottom: 0.4rem;
}

.g83b-faq-item p {
  font-size: 1.1rem;
  color: var(--g83b-text-muted);
  line-height: 1.5;
}

/* Payment Methods */
.g83b-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.g83b-payment-item {
  background: var(--g83b-bg-card);
  padding: 0.6rem 1rem;
  border-radius: var(--g83b-radius);
  font-size: 1.1rem;
  color: var(--g83b-text-muted);
  border: 1px solid var(--g83b-border);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .g83b-bottom-nav {
    display: none;
  }
}

/* Desktop adjustments */
@media (min-width: 431px) {
  body {
    border-left: 1px solid var(--g83b-border);
    border-right: 1px solid var(--g83b-border);
  }
}
