/*
 * 987ph Stylesheet - All classes use g0ea- prefix
 * Color palette: #FF5722 (primary/accent), #34495E (dark bg), #A9A9A9 (muted text)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --g0ea-primary: #FF5722;
  --g0ea-primary-dark: #E64A19;
  --g0ea-primary-light: #FF8A65;
  --g0ea-bg: #34495E;
  --g0ea-bg-dark: #2C3E50;
  --g0ea-bg-darker: #1A252F;
  --g0ea-text: #FFFFFF;
  --g0ea-text-muted: #A9A9A9;
  --g0ea-text-light: #ECF0F1;
  --g0ea-border: #4A6278;
  --g0ea-card-bg: #3D566E;
  --g0ea-success: #27AE60;
  --g0ea-warning: #F39C12;
  --g0ea-gold: #FFD700;
  --g0ea-radius: 8px;
  --g0ea-shadow: 0 2px 8px 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-color: var(--g0ea-bg-dark);
  color: var(--g0ea-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g0ea-primary); text-decoration: none; }
a:hover { color: var(--g0ea-primary-light); }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.g0ea-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 56px;
  background: var(--g0ea-bg-darker);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000;
  border-bottom: 1px solid var(--g0ea-border);
  transition: box-shadow 0.3s;
}
.g0ea-header-scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.g0ea-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.g0ea-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.g0ea-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--g0ea-primary); }
.g0ea-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.g0ea-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--g0ea-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; min-height: 36px;
}
.g0ea-btn-register {
  background: var(--g0ea-primary); color: #fff;
}
.g0ea-btn-register:hover { background: var(--g0ea-primary-dark); }
.g0ea-btn-login {
  background: transparent; color: var(--g0ea-primary);
  border: 1px solid var(--g0ea-primary);
}
.g0ea-btn-login:hover { background: rgba(255,87,34,0.1); }
.g0ea-menu-btn {
  background: none; border: none; color: var(--g0ea-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu */
.g0ea-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.g0ea-overlay-active { display: block; }
.g0ea-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100%; background: var(--g0ea-bg-darker);
  z-index: 9999; transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 1.5rem;
}
.g0ea-menu-active { right: 0; }
.g0ea-mobile-menu a {
  display: block; padding: 1.2rem 1rem; color: var(--g0ea-text-light);
  font-size: 1.4rem; border-bottom: 1px solid var(--g0ea-border);
  transition: all 0.2s;
}
.g0ea-mobile-menu a:hover {
  color: var(--g0ea-primary); padding-left: 1.5rem;
}

/* Main Content */
.g0ea-main { padding-top: 56px; }
@media (max-width: 768px) { .g0ea-main { padding-bottom: 80px; } }

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

/* Section Styles */
.g0ea-section { padding: 1.5rem 1rem; }
.g0ea-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g0ea-text);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g0ea-primary);
}
.g0ea-section-subtitle {
  font-size: 1.5rem; font-weight: 600; color: var(--g0ea-primary-light);
  margin-bottom: 0.8rem;
}

/* Game Grid */
.g0ea-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.g0ea-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.g0ea-game-item:hover { transform: scale(1.05); }
.g0ea-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--g0ea-radius);
  border: 1px solid var(--g0ea-border);
}
.g0ea-game-item span {
  display: block; font-size: 1.1rem; color: var(--g0ea-text-light);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.g0ea-card {
  background: var(--g0ea-card-bg); border-radius: var(--g0ea-radius);
  padding: 1.2rem; margin-bottom: 1rem; box-shadow: var(--g0ea-shadow);
}
.g0ea-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--g0ea-primary);
  margin-bottom: 0.8rem;
}

/* Content Blocks */
.g0ea-content-block { padding: 1rem 0; }
.g0ea-content-block p {
  color: var(--g0ea-text-light); margin-bottom: 0.8rem; font-size: 1.3rem;
}

/* Promo Buttons / Links */
.g0ea-promo-link {
  display: inline-block; color: var(--g0ea-primary); font-weight: 700;
  cursor: pointer; transition: color 0.2s; text-decoration: underline;
}
.g0ea-promo-link:hover { color: var(--g0ea-gold); }
.g0ea-promo-btn {
  display: block; width: 100%; padding: 1.2rem;
  background: linear-gradient(135deg, var(--g0ea-primary), var(--g0ea-primary-dark));
  color: #fff; font-size: 1.6rem; font-weight: 700;
  text-align: center; border-radius: var(--g0ea-radius);
  border: none; cursor: pointer; margin: 1rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.g0ea-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,87,34,0.4);
}

/* Testimonials */
.g0ea-testimonial {
  background: var(--g0ea-card-bg); border-radius: var(--g0ea-radius);
  padding: 1rem 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--g0ea-primary);
}
.g0ea-testimonial p { font-size: 1.2rem; font-style: italic; color: var(--g0ea-text-light); }
.g0ea-testimonial strong { color: var(--g0ea-primary); }

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

/* Winners Table */
.g0ea-winners-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
.g0ea-winner-item {
  background: var(--g0ea-card-bg); padding: 0.8rem;
  border-radius: var(--g0ea-radius); text-align: center;
}
.g0ea-winner-item .g0ea-name { color: var(--g0ea-primary); font-weight: 600; font-size: 1.1rem; }
.g0ea-winner-item .g0ea-amount { color: var(--g0ea-gold); font-weight: 700; font-size: 1.3rem; }
.g0ea-winner-item .g0ea-game-name { color: var(--g0ea-text-muted); font-size: 1rem; }

/* Category Highlights */
.g0ea-cat-highlight {
  display: flex; align-items: center; gap: 1rem;
  background: var(--g0ea-card-bg); padding: 1rem;
  border-radius: var(--g0ea-radius); margin-bottom: 0.8rem;
}
.g0ea-cat-icon {
  width: 44px; height: 44px; background: var(--g0ea-primary);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 2rem; flex-shrink: 0;
}
.g0ea-cat-info h3 { font-size: 1.4rem; color: var(--g0ea-text); }
.g0ea-cat-info p { font-size: 1.1rem; color: var(--g0ea-text-muted); }

/* Footer */
.g0ea-footer {
  background: var(--g0ea-bg-darker); padding: 2rem 1rem 1rem;
  border-top: 1px solid var(--g0ea-border);
}
.g0ea-footer-brand {
  font-size: 1.2rem; color: var(--g0ea-text-muted);
  line-height: 1.6rem; margin-bottom: 1.5rem;
}
.g0ea-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.g0ea-footer-links a {
  color: var(--g0ea-primary); font-size: 1.2rem; font-weight: 600;
  padding: 0.4rem 0.8rem; background: var(--g0ea-card-bg);
  border-radius: var(--g0ea-radius);
}
.g0ea-footer-links a:hover { color: var(--g0ea-gold); }
.g0ea-footer-partners {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center; margin-bottom: 1.5rem;
}
.g0ea-footer-partners img { height: 24px; opacity: 0.7; }
.g0ea-copyright {
  text-align: center; font-size: 1.1rem;
  color: var(--g0ea-text-muted); padding-top: 1rem;
  border-top: 1px solid var(--g0ea-border);
}

/* Bottom Navigation */
.g0ea-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px;
  background: var(--g0ea-bg-darker);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; border-top: 2px solid var(--g0ea-primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.g0ea-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 60px;
  background: none; border: none; cursor: pointer;
  color: var(--g0ea-text-muted); transition: all 0.2s;
  padding: 0.4rem;
}
.g0ea-bottom-btn:hover, .g0ea-bottom-btn:focus {
  color: var(--g0ea-primary); transform: scale(1.1);
}
.g0ea-bottom-btn .g0ea-nav-icon { font-size: 2.2rem; margin-bottom: 0.2rem; }
.g0ea-bottom-btn .g0ea-nav-label { font-size: 1rem; }
.g0ea-bottom-btn.g0ea-active {
  color: var(--g0ea-primary);
}
.g0ea-bottom-btn.g0ea-active .g0ea-nav-icon {
  text-shadow: 0 0 8px rgba(255,87,34,0.6);
}
@media (min-width: 769px) { .g0ea-bottom-nav { display: none; } }

/* Utility */
.g0ea-text-center { text-align: center; }
.g0ea-mt-1 { margin-top: 1rem; }
.g0ea-mb-1 { margin-bottom: 1rem; }
.g0ea-hidden { display: none; }

/* Responsive fine-tuning */
@media (max-width: 360px) {
  .g0ea-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .g0ea-btn { padding: 0.5rem 0.8rem; font-size: 1.1rem; }
}
