/**
 * bet777 - Main Stylesheet
 * All classes use ge50- prefix for namespace isolation
 * Mobile-first responsive design with 430px max-width
 * Color palette: #F08080, #1E1E1E, #FFB3BA, #FFB6C1
 */

/* CSS Variables */
:root {
  --ge50-primary: #F08080;
  --ge50-primary-dark: #d66666;
  --ge50-bg-dark: #1E1E1E;
  --ge50-bg-darker: #151515;
  --ge50-bg-light: #FFB3BA;
  --ge50-bg-lighter: #FFB6C1;
  --ge50-text-light: #FFB6C1;
  --ge50-text-white: #ffffff;
  --ge50-text-gray: #cccccc;
  --ge50-border: #F08080;
  --ge50-shadow: rgba(240, 128, 128, 0.3);
}

/* Base Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  background-color: var(--ge50-bg-dark);
  color: var(--ge50-text-light);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

@media (min-width: 431px) {
  body {
    max-width: 100%;
  }
}

/* Container */
.ge50-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 431px) {
  .ge50-container {
    max-width: 1200px;
  }
}

/* Header */
.ge50-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--ge50-bg-darker) 0%, var(--ge50-bg-dark) 100%);
  box-shadow: 0 2px 20px var(--ge50-shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.ge50-header-scrolled {
  box-shadow: 0 4px 30px var(--ge50-shadow);
}

.ge50-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 431px) {
  .ge50-header-inner {
    max-width: 1200px;
  }
}

/* Logo */
.ge50-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ge50-text-white);
  font-weight: 700;
  font-size: 1.8rem;
}

.ge50-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.8rem;
  border-radius: 6px;
}

/* Header Buttons */
.ge50-header-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ge50-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.ge50-btn-register {
  background: linear-gradient(135deg, var(--ge50-primary) 0%, var(--ge50-primary-dark) 100%);
  color: var(--ge50-text-white);
  box-shadow: 0 4px 15px var(--ge50-shadow);
}

.ge50-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--ge50-shadow);
}

.ge50-btn-login {
  background: transparent;
  color: var(--ge50-text-light);
  border: 2px solid var(--ge50-primary);
}

.ge50-btn-login:hover {
  background: var(--ge50-primary);
  color: var(--ge50-text-white);
}

/* Menu Toggle */
.ge50-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

@media (min-width: 769px) {
  .ge50-menu-toggle {
    display: none;
  }
}

.ge50-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--ge50-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.ge50-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--ge50-bg-darker);
  box-shadow: -5px 0 30px var(--ge50-shadow);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.ge50-menu-open {
  right: 0;
}

.ge50-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ge50-overlay-active {
  opacity: 1;
  visibility: visible;
}

.ge50-mobile-menu a {
  display: block;
  padding: 1.2rem 0;
  color: var(--ge50-text-light);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(240, 128, 128, 0.2);
  transition: all 0.3s ease;
}

.ge50-mobile-menu a:hover {
  color: var(--ge50-primary);
  padding-left: 1rem;
}

/* Main Content */
main {
  margin-top: 70px;
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  main {
    padding-bottom: 2rem;
  }
}

/* Carousel */
.ge50-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 12px;
}

@media (min-width: 431px) {
  .ge50-carousel {
    height: 300px;
  }
}

.ge50-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ge50-slide-active {
  opacity: 1;
}

.ge50-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.ge50-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.ge50-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ge50-dot-active {
  background: var(--ge50-primary);
  transform: scale(1.2);
}

/* Hero Section */
.ge50-hero {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--ge50-bg-darker) 0%, var(--ge50-bg-dark) 100%);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.ge50-hero h1 {
  font-size: 2.4rem;
  color: var(--ge50-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 431px) {
  .ge50-hero h1 {
    font-size: 3.2rem;
  }
}

.ge50-hero p {
  font-size: 1.5rem;
  color: var(--ge50-text-gray);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Section Styles */
.ge50-section {
  background: var(--ge50-bg-darker);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ge50-section-title {
  font-size: 2rem;
  color: var(--ge50-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

/* Game Grid */
.ge50-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 431px) {
  .ge50-game-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
}

.ge50-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.ge50-game-item:hover {
  transform: scale(1.05);
}

.ge50-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.ge50-game-item:hover .ge50-game-icon {
  box-shadow: 0 6px 25px var(--ge50-shadow);
}

.ge50-game-name {
  font-size: 1.1rem;
  color: var(--ge50-text-light);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Category Section */
.ge50-category {
  margin-bottom: 3rem;
}

.ge50-category-title {
  font-size: 1.8rem;
  color: var(--ge50-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ge50-category-title i {
  font-size: 2rem;
}

/* Feature Cards */
.ge50-feature-card {
  background: linear-gradient(135deg, var(--ge50-bg-dark) 0%, var(--ge50-bg-darker) 100%);
  border: 2px solid var(--ge50-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.ge50-feature-card:hover {
  border-color: var(--ge50-primary);
  box-shadow: 0 6px 25px var(--ge50-shadow);
}

.ge50-feature-card h3 {
  font-size: 1.6rem;
  color: var(--ge50-primary);
  margin-bottom: 1rem;
}

.ge50-feature-card p {
  font-size: 1.4rem;
  color: var(--ge50-text-gray);
  line-height: 1.6;
}

.ge50-feature-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ge50-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ge50-feature-link:hover {
  color: var(--ge50-bg-lighter);
}

/* Promotional Links */
.ge50-promo-link {
  color: var(--ge50-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ge50-promo-link:hover {
  color: var(--ge50-bg-lighter);
  text-decoration: underline;
}

.ge50-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ge50-primary) 0%, var(--ge50-primary-dark) 100%);
  color: var(--ge50-text-white);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  margin: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--ge50-shadow);
}

.ge50-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--ge50-shadow);
}

/* Footer */
.ge50-footer {
  background: var(--ge50-bg-darker);
  padding: 3rem 1.5rem 8rem;
  margin-top: 3rem;
}

@media (min-width: 769px) {
  .ge50-footer {
    padding-bottom: 3rem;
  }
}

.ge50-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

@media (min-width: 431px) {
  .ge50-footer-content {
    max-width: 1200px;
  }
}

.ge50-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.ge50-footer-links a {
  color: var(--ge50-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.ge50-footer-links a:hover {
  color: var(--ge50-primary);
}

.ge50-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ge50-partner-logo {
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.ge50-partner-logo:hover {
  opacity: 1;
}

.ge50-footer-text {
  text-align: center;
  font-size: 1.3rem;
  color: var(--ge50-text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ge50-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--ge50-text-gray);
  margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.ge50-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(135deg, var(--ge50-bg-darker) 0%, var(--ge50-bg-dark) 100%);
  box-shadow: 0 -2px 20px var(--ge50-shadow);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--ge50-border);
}

@media (min-width: 769px) {
  .ge50-bottom-nav {
    display: none;
  }
}

.ge50-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--ge50-text-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ge50-nav-item:hover {
  color: var(--ge50-primary);
  transform: scale(1.1);
}

.ge50-nav-item.ge50-nav-active {
  color: var(--ge50-primary);
}

.ge50-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.ge50-nav-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* FAQ Styles */
.ge50-faq-item {
  border-bottom: 1px solid rgba(240, 128, 128, 0.3);
  padding: 1.5rem 0;
}

.ge50-faq-question {
  font-size: 1.5rem;
  color: var(--ge50-primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.ge50-faq-answer {
  font-size: 1.4rem;
  color: var(--ge50-text-gray);
  line-height: 1.6;
}

/* List Styles */
.ge50-list {
  list-style: none;
  padding: 0;
}

.ge50-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(240, 128, 128, 0.2);
  font-size: 1.4rem;
  color: var(--ge50-text-gray);
}

.ge50-list li:last-child {
  border-bottom: none;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .ge50-desktop-only {
    display: none;
  }
}

@media (min-width: 769px) {
  .ge50-mobile-only {
    display: none;
  }
}

/* Animations */
@keyframes ge50-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ge50-animate-fade-in {
  animation: ge50-fadeIn 0.5s ease forwards;
}

/* Internal Link Styles */
.ge50-internal-link {
  color: var(--ge50-bg-lighter);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ge50-internal-link:hover {
  color: var(--ge50-primary);
  text-decoration: underline;
}

/* Statistics Section */
.ge50-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.ge50-stat-item {
  background: linear-gradient(135deg, var(--ge50-bg-dark) 0%, var(--ge50-bg-darker) 100%);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.ge50-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ge50-primary);
}

.ge50-stat-label {
  font-size: 1.2rem;
  color: var(--ge50-text-gray);
  margin-top: 0.5rem;
}
