/* KKKKJL Layout CSS - Mobile-first design */
/* All classes use g0a5- prefix for namespace isolation */
/* Root font: 62.5% for rem-based sizing */

:root {
  --g0a5-bg: #333333;
  --g0a5-primary: #9AFF9A;
  --g0a5-secondary: #98FB98;
  --g0a5-accent: #FFA500;
  --g0a5-highlight: #00FA9A;
  --g0a5-text: #f0f0f0;
  --g0a5-text-dim: #aaaaaa;
  --g0a5-card-bg: #2a2a2a;
  --g0a5-border: #444444;
  --g0a5-radius: 8px;
  --g0a5-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Reset and 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, sans-serif;
  background: var(--g0a5-bg);
  color: var(--g0a5-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g0a5-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.g0a5-container { width: 100%; padding: 0 1.2rem; }
.g0a5-wrapper { padding: 1.2rem 0; }

/* Fixed header */
.g0a5-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 52px; z-index: 1000;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--g0a5-border);
  max-width: 430px; margin: 0 auto;
}
.g0a5-header-left { display: flex; align-items: center; gap: 0.6rem; }
.g0a5-logo { width: 28px; height: 28px; border-radius: 4px; }
.g0a5-site-name { font-size: 1.6rem; font-weight: 700; color: var(--g0a5-primary); }
.g0a5-header-right { display: flex; align-items: center; gap: 0.5rem; }
.g0a5-btn-register {
  background: var(--g0a5-accent); color: #fff; border: none;
  padding: 0.5rem 1rem; border-radius: 4px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; min-height: 32px;
}
.g0a5-btn-login {
  background: transparent; color: var(--g0a5-primary); border: 1px solid var(--g0a5-primary);
  padding: 0.4rem 0.8rem; border-radius: 4px; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; min-height: 32px;
}
.g0a5-hamburger {
  background: none; border: none; color: var(--g0a5-text); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile menu */
.g0a5-mobile-menu {
  position: fixed; top: 0; left: -280px; width: 280px; height: 100vh;
  background: #1a1a1a; z-index: 9999; transition: left 0.3s ease;
  padding: 6rem 1.5rem 2rem; overflow-y: auto;
}
.g0a5-menu-active { left: 0 !important; }
.g0a5-mobile-menu a {
  display: block; padding: 1.2rem 0; color: var(--g0a5-text);
  border-bottom: 1px solid var(--g0a5-border); font-size: 1.4rem;
}
.g0a5-mobile-menu a:hover { color: var(--g0a5-primary); }
.g0a5-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--g0a5-text);
  font-size: 2.4rem; cursor: pointer;
}

/* Overlay */
.g0a5-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none; opacity: 0; transition: opacity 0.3s;
}
.g0a5-overlay-active { display: block; opacity: 1; }

/* Main content padding */
.g0a5-main { padding-top: 52px; }
@media (max-width: 768px) { .g0a5-main { padding-bottom: 80px; } }

/* Carousel */
.g0a5-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--g0a5-radius); margin: 1rem 0;
}
.g0a5-carousel-track { position: relative; width: 100%; height: 180px; }
.g0a5-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.5s;
}
.g0a5-slide-active { opacity: 1; }
.g0a5-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g0a5-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.g0a5-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
}
.g0a5-dot-active { background: var(--g0a5-accent); }

/* Section titles */
.g0a5-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g0a5-primary);
  margin: 1.5rem 0 1rem; padding-left: 0.8rem;
  border-left: 3px solid var(--g0a5-accent);
}

/* Game grid - 4 columns compact */
.g0a5-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.5rem 0;
}
.g0a5-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; text-align: center; padding: 0.4rem;
  border-radius: var(--g0a5-radius); transition: transform 0.2s;
}
.g0a5-game-item:active { transform: scale(0.95); }
.g0a5-game-img {
  width: 64px; height: 64px; border-radius: 6px;
  object-fit: cover; margin-bottom: 0.3rem;
  border: 1px solid var(--g0a5-border);
}
.g0a5-game-name {
  font-size: 1.05rem; color: var(--g0a5-text-dim);
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 80px;
}

/* Content blocks */
.g0a5-card {
  background: var(--g0a5-card-bg); border-radius: var(--g0a5-radius);
  padding: 1.5rem; margin: 1rem 0; border: 1px solid var(--g0a5-border);
}
.g0a5-card h2 {
  font-size: 1.7rem; color: var(--g0a5-primary); margin-bottom: 0.8rem;
}
.g0a5-card h3 {
  font-size: 1.4rem; color: var(--g0a5-secondary); margin: 0.8rem 0 0.4rem;
}
.g0a5-card p { font-size: 1.3rem; color: var(--g0a5-text-dim); margin-bottom: 0.6rem; line-height: 1.6; }

/* Feature grid */
.g0a5-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.g0a5-feature-item {
  background: var(--g0a5-card-bg); border-radius: var(--g0a5-radius);
  padding: 1.2rem; text-align: center; border: 1px solid var(--g0a5-border);
}
.g0a5-feature-item i { font-size: 2.4rem; color: var(--g0a5-accent); margin-bottom: 0.5rem; }
.g0a5-feature-item .material-icons { font-size: 2.4rem; color: var(--g0a5-accent); margin-bottom: 0.5rem; }
.g0a5-feature-item h3 { font-size: 1.3rem; color: var(--g0a5-primary); margin-bottom: 0.3rem; }
.g0a5-feature-item p { font-size: 1.1rem; color: var(--g0a5-text-dim); }

/* CTA section */
.g0a5-cta {
  background: linear-gradient(135deg, #2d6b2d 0%, #1a4a1a 100%);
  border-radius: var(--g0a5-radius); padding: 2rem;
  text-align: center; margin: 1.5rem 0;
  border: 1px solid var(--g0a5-primary);
}
.g0a5-cta h2 { color: var(--g0a5-accent); font-size: 2rem; margin-bottom: 0.8rem; }
.g0a5-cta p { color: var(--g0a5-secondary); font-size: 1.3rem; margin-bottom: 1rem; }
.g0a5-cta-btn {
  display: inline-block; background: var(--g0a5-accent); color: #fff;
  padding: 1rem 2.4rem; border-radius: 6px; font-size: 1.5rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.2s, background 0.2s;
}
.g0a5-cta-btn:active { transform: scale(0.96); }

/* Promo button */
.g0a5-promo-btn {
  display: inline-block; background: var(--g0a5-highlight); color: #333;
  padding: 0.6rem 1.4rem; border-radius: 4px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; border: none;
}

/* FAQ accordion */
.g0a5-faq-item { border-bottom: 1px solid var(--g0a5-border); }
.g0a5-faq-q {
  width: 100%; background: none; border: none; color: var(--g0a5-text);
  padding: 1.2rem 0; font-size: 1.4rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.g0a5-faq-q i { color: var(--g0a5-accent); font-size: 1.2rem; transition: transform 0.3s; }
.g0a5-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--g0a5-text-dim); font-size: 1.3rem; line-height: 1.6;
}
.g0a5-faq-a-open { max-height: 500px; padding-bottom: 1rem; }

/* Footer */
.g0a5-footer {
  background: #1a1a1a; padding: 2rem 1.2rem; margin-top: 2rem;
  border-top: 2px solid var(--g0a5-border);
}
.g0a5-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.g0a5-footer-brand p { font-size: 1.2rem; color: var(--g0a5-text-dim); line-height: 1.6; }
.g0a5-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin: 1rem 0;
}
.g0a5-footer-links a {
  color: var(--g0a5-primary); font-size: 1.1rem; padding: 0.3rem 0.6rem;
}
.g0a5-footer-promos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin: 1rem 0;
}
.g0a5-footer-promos button {
  background: var(--g0a5-accent); color: #fff; border: none;
  padding: 0.5rem 1rem; border-radius: 4px; font-size: 1.1rem;
  font-weight: 600; cursor: pointer;
}
.g0a5-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--g0a5-text-dim);
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--g0a5-border);
}

/* Bottom navigation */
.g0a5-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 58px; z-index: 1000;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid var(--g0a5-border);
  max-width: 430px; margin: 0 auto;
}
.g0a5-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: none; border: none;
  color: var(--g0a5-text-dim); cursor: pointer;
  min-width: 60px; min-height: 50px; padding: 0.4rem;
  transition: color 0.2s, transform 0.2s;
}
.g0a5-bottom-nav-btn:active { transform: scale(0.92); }
.g0a5-bottom-nav-btn i,
.g0a5-bottom-nav-btn .material-icons,
.g0a5-bottom-nav-btn .bi {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.g0a5-bottom-nav-btn span {
  font-size: 1rem; line-height: 1.2;
}
.g0a5-nav-active { color: var(--g0a5-highlight) !important; }
.g0a5-nav-active i,
.g0a5-nav-active .material-icons,
.g0a5-nav-active .bi { color: var(--g0a5-highlight); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) { .g0a5-bottom-nav { display: none; } }
/* Show desktop nav links */
@media (min-width: 769px) { .g0a5-main { padding-bottom: 0; } }

/* Winner list */
.g0a5-winner-list { list-style: none; }
.g0a5-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid var(--g0a5-border);
}
.g0a5-winner-name { font-size: 1.2rem; color: var(--g0a5-secondary); }
.g0a5-winner-amount { font-size: 1.3rem; color: var(--g0a5-accent); font-weight: 700; }

/* Testimonial */
.g0a5-testimonial {
  background: var(--g0a5-card-bg); border-radius: var(--g0a5-radius);
  padding: 1.2rem; margin: 0.8rem 0; border-left: 3px solid var(--g0a5-accent);
}
.g0a5-testimonial p { font-size: 1.2rem; font-style: italic; color: var(--g0a5-text-dim); margin-bottom: 0.4rem; }
.g0a5-testimonial cite { font-size: 1.1rem; color: var(--g0a5-highlight); }

/* Payment icons */
.g0a5-payment-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem; margin: 1rem 0;
}
.g0a5-payment-item {
  background: var(--g0a5-card-bg); border-radius: 6px;
  padding: 0.8rem 1.2rem; border: 1px solid var(--g0a5-border);
  font-size: 1.2rem; color: var(--g0a5-text);
}

/* RTP table */
.g0a5-rtp-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.g0a5-rtp-table th {
  background: var(--g0a5-card-bg); color: var(--g0a5-primary);
  padding: 0.8rem; font-size: 1.2rem; text-align: left;
  border-bottom: 2px solid var(--g0a5-accent);
}
.g0a5-rtp-table td {
  padding: 0.6rem 0.8rem; font-size: 1.2rem;
  border-bottom: 1px solid var(--g0a5-border);
}
.g0a5-rtp-bar {
  height: 8px; border-radius: 4px; background: var(--g0a5-border);
  overflow: hidden;
}
.g0a5-rtp-fill { height: 100%; border-radius: 4px; background: var(--g0a5-highlight); }

/* App download */
.g0a5-app-cta {
  background: linear-gradient(135deg, #1a4a1a 0%, #2d6b2d 100%);
  border-radius: var(--g0a5-radius); padding: 1.5rem;
  text-align: center; border: 1px solid var(--g0a5-primary);
  margin: 1rem 0;
}
.g0a5-app-cta h3 { color: var(--g0a5-accent); font-size: 1.6rem; margin-bottom: 0.6rem; }

/* Internal link styles */
.g0a5-internal-link {
  color: var(--g0a5-highlight); font-weight: 500;
  border-bottom: 1px dotted var(--g0a5-highlight);
}

/* Text highlight */
.g0a5-text-accent { color: var(--g0a5-accent); font-weight: 600; }
.g0a5-text-green { color: var(--g0a5-primary); }

/* Achievement badge */
.g0a5-badge {
  display: inline-block; background: var(--g0a5-accent);
  color: #333; font-size: 1rem; padding: 0.2rem 0.6rem;
  border-radius: 3px; font-weight: 700;
}

/* Security features */
.g0a5-security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem; margin: 1rem 0;
}
.g0a5-security-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem; background: var(--g0a5-card-bg);
  border-radius: 6px; border: 1px solid var(--g0a5-border);
}
.g0a5-security-item i { color: var(--g0a5-highlight); font-size: 1.6rem; }
.g0a5-security-item span { font-size: 1.1rem; color: var(--g0a5-text-dim); }
