/**
 * TG77 - Main Stylesheet
 * Prefix: ge59-
 * Color palette: #00695C | #34495E | #2E4057 | #CED4DA
 */

/* === CSS Variables === */
:root {
  --ge59-primary: #00695C;
  --ge59-secondary: #34495E;
  --ge59-dark: #2E4057;
  --ge59-light: #CED4DA;
  --ge59-accent: #00897B;
  --ge59-gold: #F0C040;
  --ge59-white: #FFFFFF;
  --ge59-bg: #1A2A3A;
  --ge59-card-bg: #223344;
  --ge59-text: #E8EDF2;
  --ge59-text-muted: #A0B0C0;
  --ge59-danger: #E74C3C;
  --ge59-success: #27AE60;
  --ge59-radius: 8px;
  --ge59-radius-lg: 16px;
  --ge59-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --ge59-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ge59-text);
  background: var(--ge59-bg);
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.ge59-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--ge59-dark), var(--ge59-secondary));
  padding: 0 1.2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  max-width: 430px;
  margin: 0 auto;
}
.ge59-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ge59-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.ge59-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ge59-gold);
  letter-spacing: 0.5px;
}
.ge59-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ge59-btn-register, .ge59-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--ge59-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--ge59-transition);
}
.ge59-btn-register {
  background: linear-gradient(135deg, var(--ge59-primary), var(--ge59-accent));
  color: var(--ge59-white);
}
.ge59-btn-register:hover { transform: scale(1.05); }
.ge59-btn-login {
  background: transparent;
  color: var(--ge59-gold);
  border: 1.5px solid var(--ge59-gold);
}
.ge59-btn-login:hover { background: rgba(240,192,64,0.1); }
.ge59-hamburger {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.ge59-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ge59-white);
  border-radius: 2px;
  transition: var(--ge59-transition);
}
.ge59-hamburger-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ge59-hamburger-active span:nth-child(2) { opacity: 0; }
.ge59-hamburger-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === Mobile Menu === */
.ge59-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(26,42,58,0.98);
  display: none;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.ge59-menu-active { display: flex !important; }
.ge59-mobile-menu a {
  display: block;
  padding: 1.2rem 1rem;
  font-size: 1.6rem;
  color: var(--ge59-text);
  border-bottom: 1px solid rgba(206,212,218,0.1);
  transition: var(--ge59-transition);
}
.ge59-mobile-menu a:hover {
  color: var(--ge59-gold);
  padding-left: 1.5rem;
}

/* === Main Content === */
.ge59-main {
  margin-top: 56px;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .ge59-main { padding-bottom: 80px; }
}

/* === Carousel === */
.ge59-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--ge59-radius);
  margin: 1rem 0;
}
.ge59-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.ge59-slide {
  min-width: 100%;
  cursor: pointer;
}
.ge59-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.ge59-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
}
.ge59-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ge59-light);
  cursor: pointer;
  transition: var(--ge59-transition);
}
.ge59-dot-active {
  background: var(--ge59-gold);
  width: 24px;
  border-radius: 4px;
}

/* === Game Sections === */
.ge59-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ge59-gold);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ge59-primary);
}
.ge59-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.ge59-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--ge59-transition);
  border-radius: var(--ge59-radius);
  padding: 0.5rem;
}
.ge59-game-card:hover {
  transform: translateY(-3px);
  background: var(--ge59-card-bg);
}
.ge59-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--ge59-radius);
  margin-bottom: 0.4rem;
}
.ge59-game-card span {
  font-size: 1.1rem;
  color: var(--ge59-text);
  text-align: center;
  line-height: 1.3;
  max-height: 2.8rem;
  overflow: hidden;
}

/* === Content Modules === */
.ge59-content-block {
  background: var(--ge59-card-bg);
  border-radius: var(--ge59-radius-lg);
  padding: 2rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--ge59-shadow);
}
.ge59-content-block h2 {
  font-size: 2rem;
  color: var(--ge59-gold);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.ge59-content-block h3 {
  font-size: 1.7rem;
  color: var(--ge59-accent);
  margin: 1.2rem 0 0.6rem;
}
.ge59-content-block p {
  color: var(--ge59-text);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}
.ge59-content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.ge59-content-block li {
  list-style: disc;
  color: var(--ge59-text);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.ge59-promo-text {
  color: var(--ge59-gold);
  font-weight: 600;
  cursor: pointer;
  transition: var(--ge59-transition);
}
.ge59-promo-text:hover { text-decoration: underline; }

/* === CTA Button === */
.ge59-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ge59-primary), var(--ge59-accent));
  color: var(--ge59-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--ge59-transition);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,105,92,0.4);
}
.ge59-cta-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,105,92,0.5); }
.ge59-cta-center { text-align: center; margin: 2rem 0; }

/* === Stats Grid === */
.ge59-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.ge59-stat-item {
  background: rgba(0,105,92,0.15);
  border-radius: var(--ge59-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(0,105,92,0.3);
}
.ge59-stat-item .ge59-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ge59-gold);
}
.ge59-stat-item .ge59-stat-label {
  font-size: 1.2rem;
  color: var(--ge59-text-muted);
  margin-top: 0.3rem;
}

/* === Testimonials === */
.ge59-testimonial {
  background: rgba(0,0,0,0.2);
  border-radius: var(--ge59-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--ge59-accent);
}
.ge59-testimonial p {
  font-style: italic;
  color: var(--ge59-text);
  font-size: 1.3rem;
}
.ge59-testimonial-author {
  font-size: 1.2rem;
  color: var(--ge59-gold);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* === Payment Icons === */
.ge59-payment-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.ge59-payment-icon {
  font-size: 1.4rem;
  color: var(--ge59-text-muted);
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--ge59-radius);
}

/* === Footer === */
.ge59-footer {
  background: linear-gradient(135deg, var(--ge59-dark), #1A2530);
  padding: 2.5rem 1.5rem 8rem;
  margin-top: 2rem;
  border-top: 2px solid var(--ge59-primary);
}
.ge59-footer-brand p {
  color: var(--ge59-text-muted);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.ge59-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.ge59-footer-links a {
  padding: 0.5rem 1rem;
  background: rgba(0,105,92,0.2);
  color: var(--ge59-text);
  border-radius: var(--ge59-radius);
  font-size: 1.2rem;
  transition: var(--ge59-transition);
}
.ge59-footer-links a:hover {
  background: var(--ge59-primary);
  color: var(--ge59-white);
}
.ge59-partners {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.ge59-partners img {
  height: 28px;
  opacity: 0.7;
  transition: var(--ge59-transition);
}
.ge59-partners img:hover { opacity: 1; }
.ge59-copyright {
  text-align: center;
  color: var(--ge59-text-muted);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(206,212,218,0.15);
}

/* === Bottom Navigation === */
.ge59-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, var(--ge59-dark), #0F1A28);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
  border-top: 1px solid rgba(0,105,92,0.4);
  max-width: 430px;
  margin: 0 auto;
}
.ge59-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ge59-text-muted);
  transition: var(--ge59-transition);
  padding: 0.4rem;
}
.ge59-bottom-btn:hover, .ge59-bottom-btn:focus {
  color: var(--ge59-gold);
  transform: scale(1.1);
}
.ge59-bottom-btn .ge59-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.ge59-bottom-btn .ge59-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}
.ge59-bottom-btn-active {
  color: var(--ge59-gold) !important;
}
.ge59-bottom-btn-active .ge59-nav-icon {
  filter: drop-shadow(0 0 6px rgba(240,192,64,0.5));
}

/* === Internal Link === */
.ge59-internal-link {
  color: var(--ge59-accent);
  text-decoration: underline;
  transition: var(--ge59-transition);
}
.ge59-internal-link:hover {
  color: var(--ge59-gold);
}

/* === Winner Strip === */
.ge59-winner-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(240,192,64,0.08);
  border-radius: var(--ge59-radius);
  margin-bottom: 0.6rem;
}
.ge59-winner-strip .ge59-winner-name {
  font-weight: 600;
  color: var(--ge59-gold);
  font-size: 1.3rem;
}
.ge59-winner-strip .ge59-winner-amount {
  color: var(--ge59-success);
  font-weight: 700;
  font-size: 1.4rem;
  margin-left: auto;
}
.ge59-winner-strip .ge59-winner-game {
  color: var(--ge59-text-muted);
  font-size: 1.2rem;
}

/* === Responsive === */
@media (min-width: 769px) {
  .ge59-bottom-nav { display: none; }
  .ge59-hamburger { display: none; }
  .ge59-main { padding-bottom: 0; }
  body { max-width: 430px; }
  .ge59-footer { padding-bottom: 2.5rem; }
}
