/*!
 * 79kg.click - Layout Stylesheet
 * File: css/layout-a1e9.css
 * All classes use prefix "ge9b-" for namespace isolation
 * Mobile-first responsive design (max-width 430px viewport)
 * Language: Vietnamese (vi) - comments in English
 */

/* CSS Variables - 79kg brand palette */
:root {
  --ge9b-primary: #A0522D;
  --ge9b-secondary: #6C757D;
  --ge9b-accent: #FFC0CB;
  --ge9b-bg-dark: #0A0A0A;
  --ge9b-bg-light: #ECF0F1;
  --ge9b-text-light: #DCDCDC;
  --ge9b-text-dark: #0A0A0A;
  --ge9b-gold: #FFD700;
  --ge9b-danger: #E74C3C;
  --ge9b-success: #2ECC71;
  --ge9b-gradient: linear-gradient(135deg, #A0522D 0%, #6C757D 100%);
  --ge9b-gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1a1a1a 100%);
  --ge9b-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
  --ge9b-radius: 1rem;
  --ge9b-radius-sm: 0.6rem;
  --ge9b-transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--ge9b-bg-dark);
  color: var(--ge9b-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ge9b-accent); text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Container / Wrapper */
.ge9b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.ge9b-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.ge9b-main { flex: 1; padding-bottom: 8rem; }

/* ===== Header ===== */
.ge9b-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(160, 82, 45, 0.35);
  z-index: 1000;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.ge9b-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ge9b-gold);
  letter-spacing: 0.5px;
}
.ge9b-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.ge9b-logo-text { background: var(--ge9b-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ge9b-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.ge9b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--ge9b-transition);
  min-height: 3.2rem;
  text-align: center;
  line-height: 1.2rem;
}
.ge9b-btn-register { background: var(--ge9b-gradient); color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(160, 82, 45, 0.4); }
.ge9b-btn-register:hover { transform: translateY(-2px); box-shadow: 0 0.5rem 1.2rem rgba(160, 82, 45, 0.6); }
.ge9b-btn-login { background: transparent; color: var(--ge9b-text-light); border: 1.5px solid var(--ge9b-primary); }
.ge9b-btn-login:hover { background: var(--ge9b-primary); color: #fff; }

.ge9b-hamburger {
  width: 3.2rem;
  height: 3.2rem;
  background: transparent;
  color: var(--ge9b-text-light);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.ge9b-hamburger:hover, .ge9b-hamburger.ge9b-active { color: var(--ge9b-gold); }

/* ===== Mobile Menu ===== */
.ge9b-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ge9b-menu-overlay.ge9b-overlay-show { opacity: 1; pointer-events: auto; }
.ge9b-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--ge9b-gradient-dark);
  z-index: 9999;
  padding: 2.5rem 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(160, 82, 45, 0.3);
}
.ge9b-mobile-menu.ge9b-menu-open { right: 0; }
.ge9b-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.ge9b-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--ge9b-gold); }
.ge9b-menu-close {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--ge9b-text-light);
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
}
.ge9b-menu-list li { margin-bottom: 0.5rem; }
.ge9b-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  color: var(--ge9b-text-light);
  font-size: 1.3rem;
  border-radius: var(--ge9b-radius-sm);
  transition: var(--ge9b-transition);
  border-left: 3px solid transparent;
}
.ge9b-menu-list a:hover { background: rgba(160, 82, 45, 0.15); border-left-color: var(--ge9b-primary); color: var(--ge9b-gold); }
.ge9b-menu-list .material-icons, .ge9b-menu-list .fas, .ge9b-menu-list .bi { font-size: 1.8rem; color: var(--ge9b-accent); }

/* ===== Hero / Carousel ===== */
.ge9b-hero { margin-top: 5.2rem; padding: 0.8rem 0; }
.ge9b-carousel { position: relative; border-radius: var(--ge9b-radius); overflow: hidden; box-shadow: var(--ge9b-shadow); }
.ge9b-carousel-track { position: relative; height: 18rem; }
.ge9b-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.ge9b-slide.ge9b-slide-active { opacity: 1; position: relative; }
.ge9b-slide img { width: 100%; height: 18rem; object-fit: cover; }
.ge9b-slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.5rem 1rem 1rem;
  color: #fff;
}
.ge9b-slide-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--ge9b-gold); }
.ge9b-slide-desc { font-size: 1.1rem; color: var(--ge9b-text-light); }
.ge9b-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
  z-index: 5;
}
.ge9b-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; transition: var(--ge9b-transition);
}
.ge9b-carousel-dot.ge9b-dot-active { background: var(--ge9b-gold); width: 2rem; border-radius: 0.4rem; }

/* ===== Section / Headings ===== */
.ge9b-section { padding: 2rem 0; }
.ge9b-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ge9b-gold);
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.ge9b-section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 5rem; height: 0.3rem;
  background: var(--ge9b-gradient); border-radius: 0.2rem;
}
.ge9b-section-subtitle { text-align: center; color: var(--ge9b-text-light); font-size: 1.25rem; margin-bottom: 1.5rem; opacity: 0.9; }

/* H1 main title */
.ge9b-h1 {
  font-size: 2rem; font-weight: 800; color: var(--ge9b-gold);
  text-align: center; margin: 1.5rem 0; line-height: 1.6rem;
}

/* ===== Game Category Bar ===== */
.ge9b-cat-bar {
  display: flex; gap: 0.6rem; overflow-x: auto;
  padding: 1rem 0; margin-bottom: 0.5rem;
  scrollbar-width: none;
}
.ge9b-cat-bar::-webkit-scrollbar { display: none; }
.ge9b-cat-pill {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  background: rgba(160, 82, 45, 0.12);
  border: 1px solid rgba(160, 82, 45, 0.3);
  border-radius: 2rem;
  color: var(--ge9b-text-light);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--ge9b-transition);
}
.ge9b-cat-pill:hover, .ge9b-cat-pill.ge9b-pill-active {
  background: var(--ge9b-gradient); color: #fff; border-color: transparent;
}

/* ===== Game Grid ===== */
.ge9b-cat-block { margin-bottom: 2.5rem; scroll-margin-top: 6rem; }
.ge9b-cat-header {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.ge9b-cat-icon {
  width: 3rem; height: 3rem; border-radius: 0.6rem;
  background: var(--ge9b-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
}
.ge9b-cat-name { font-size: 1.5rem; font-weight: 700; color: var(--ge9b-gold); }

.ge9b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.ge9b-game-card {
  background: linear-gradient(160deg, #1a1a1a, #0F0F0F);
  border-radius: var(--ge9b-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--ge9b-transition);
  border: 1px solid rgba(160, 82, 45, 0.2);
  position: relative;
}
.ge9b-game-card:hover { transform: translateY(-3px); border-color: var(--ge9b-primary); box-shadow: 0 0.5rem 1.2rem rgba(160, 82, 45, 0.3); }
.ge9b-game-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ge9b-game-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.05rem;
  text-align: center;
  color: var(--ge9b-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.ge9b-game-badge {
  position: absolute; top: 0.3rem; right: 0.3rem;
  background: var(--ge9b-danger); color: #fff;
  font-size: 0.9rem; padding: 0.1rem 0.5rem;
  border-radius: 0.4rem; font-weight: 700;
}

/* ===== Info / Feature Cards ===== */
.ge9b-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ge9b-info-card {
  background: linear-gradient(160deg, #1a1a1a, #0F0F0F);
  border-radius: var(--ge9b-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(160, 82, 45, 0.2);
  transition: var(--ge9b-transition);
}
.ge9b-info-card:hover { border-color: var(--ge9b-primary); transform: translateY(-2px); }
.ge9b-info-icon { font-size: 2.6rem; color: var(--ge9b-accent); margin-bottom: 0.8rem; }
.ge9b-info-title { font-size: 1.3rem; font-weight: 700; color: var(--ge9b-gold); margin-bottom: 0.5rem; }
.ge9b-info-text { font-size: 1.1rem; color: var(--ge9b-text-light); line-height: 1.4rem; }

/* ===== Promo CTA Block ===== */
.ge9b-cta {
  background: var(--ge9b-gradient);
  border-radius: var(--ge9b-radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: var(--ge9b-shadow);
}
.ge9b-cta-title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.ge9b-cta-text { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.ge9b-cta .ge9b-btn { background: #fff; color: var(--ge9b-primary); font-size: 1.3rem; padding: 0.8rem 2rem; }

/* ===== Testimonial ===== */
.ge9b-testimonial {
  background: rgba(236, 240, 241, 0.05);
  border-left: 3px solid var(--ge9b-primary);
  border-radius: 0 var(--ge9b-radius-sm) var(--ge9b-radius-sm) 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.ge9b-testimonial-text { font-size: 1.15rem; color: var(--ge9b-text-light); font-style: italic; margin-bottom: 0.6rem; }
.ge9b-testimonial-author { font-size: 1.05rem; color: var(--ge9b-gold); font-weight: 700; }

/* ===== Winner Showcase ===== */
.ge9b-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(236, 240, 241, 0.05);
  padding: 0.8rem 1rem; border-radius: var(--ge9b-radius-sm);
  margin-bottom: 0.6rem;
}
.ge9b-winner-icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--ge9b-gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; flex-shrink: 0; }
.ge9b-winner-info { flex: 1; }
.ge9b-winner-name { font-size: 1.15rem; font-weight: 700; color: var(--ge9b-text-light); }
.ge9b-winner-amount { font-size: 1.25rem; color: var(--ge9b-gold); font-weight: 800; }
.ge9b-winner-game { font-size: 1rem; color: var(--ge9b-secondary); }

/* ===== Payment Methods ===== */
.ge9b-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.ge9b-payment-item {
  background: rgba(236, 240, 241, 0.06);
  border-radius: var(--ge9b-radius-sm);
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ge9b-text-light);
  border: 1px solid rgba(160, 82, 45, 0.15);
}
.ge9b-payment-item .ge9b-payment-icon { font-size: 1.8rem; color: var(--ge9b-accent); margin-bottom: 0.3rem; }

/* ===== RTP table ===== */
.ge9b-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.ge9b-rtp-table th, .ge9b-rtp-table td { padding: 0.7rem 0.6rem; text-align: left; border-bottom: 1px solid rgba(160, 82, 45, 0.15); }
.ge9b-rtp-table th { background: rgba(160, 82, 45, 0.15); color: var(--ge9b-gold); font-weight: 700; }
.ge9b-rtp-table td { color: var(--ge9b-text-light); }
.ge9b-rtp-high { color: var(--ge9b-success); font-weight: 700; }

/* ===== FAQ ===== */
.ge9b-faq-item {
  background: rgba(236, 240, 241, 0.04);
  border-radius: var(--ge9b-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(160, 82, 45, 0.15);
}
.ge9b-faq-q { padding: 1rem 1.2rem; font-weight: 700; color: var(--ge9b-gold); font-size: 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.ge9b-faq-a { padding: 0 1.2rem 1rem; font-size: 1.1rem; color: var(--ge9b-text-light); line-height: 1.5rem; }

/* ===== App Download ===== */
.ge9b-app-banner {
  background: linear-gradient(135deg, rgba(160, 82, 45, 0.2), rgba(108, 117, 125, 0.15));
  border: 1px solid rgba(160, 82, 45, 0.3);
  border-radius: var(--ge9b-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 1.5rem 0;
}
.ge9b-app-title { font-size: 1.5rem; font-weight: 800; color: var(--ge9b-gold); margin-bottom: 0.4rem; }
.ge9b-app-text { font-size: 1.1rem; color: var(--ge9b-text-light); margin-bottom: 1rem; }
.ge9b-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.ge9b-app-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--ge9b-text-dark);
  padding: 0.6rem 1rem; border-radius: 0.6rem;
  font-weight: 700; font-size: 1.1rem;
  transition: var(--ge9b-transition);
}
.ge9b-app-btn:hover { transform: translateY(-2px); }

/* ===== Content text block ===== */
.ge9b-content-block { margin-bottom: 1.5rem; }
.ge9b-content-block h2 { font-size: 1.6rem; color: var(--ge9b-gold); margin: 1.2rem 0 0.6rem; font-weight: 700; }
.ge9b-content-block h3 { font-size: 1.3rem; color: var(--ge9b-accent); margin: 1rem 0 0.5rem; font-weight: 600; }
.ge9b-content-block p { font-size: 1.15rem; color: var(--ge9b-text-light); line-height: 1.6rem; margin-bottom: 0.8rem; }
.ge9b-content-block ul { padding-left: 1.5rem; }
.ge9b-content-block li { font-size: 1.1rem; color: var(--ge9b-text-light); margin-bottom: 0.4rem; list-style: disc; line-height: 1.5rem; }
.ge9b-content-block strong { color: var(--ge9b-gold); font-weight: 700; }
.ge9b-content-block a { color: var(--ge9b-accent); font-weight: 700; text-decoration: underline; }

/* Promo text link (inline) */
.ge9b-promo-link { color: var(--ge9b-gold); font-weight: 700; text-decoration: underline; cursor: pointer; }
.ge9b-promo-link:hover { color: var(--ge9b-accent); }

/* ===== Footer ===== */
.ge9b-footer {
  background: var(--ge9b-gradient-dark);
  border-top: 1px solid rgba(160, 82, 45, 0.3);
  padding: 2rem 1.2rem 8rem;
  margin-top: 2rem;
}
.ge9b-footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--ge9b-gold); margin-bottom: 0.6rem; }
.ge9b-footer-desc { font-size: 1.1rem; color: var(--ge9b-text-light); line-height: 1.5rem; margin-bottom: 1.2rem; opacity: 0.85; }
.ge9b-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.ge9b-footer-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.9rem; font-size: 1.05rem;
  background: rgba(160, 82, 45, 0.12);
  border-radius: 2rem;
  color: var(--ge9b-text-light);
  transition: var(--ge9b-transition);
  border: 1px solid rgba(160, 82, 45, 0.2);
}
.ge9b-footer-link:hover { background: var(--ge9b-primary); color: #fff; }
.ge9b-footer-copyright { font-size: 1rem; color: var(--ge9b-secondary); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(160, 82, 45, 0.15); }

/* ===== Mobile Bottom Nav ===== */
.ge9b-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #1a1a1a, #0A0A0A);
  border-top: 1px solid rgba(160, 82, 45, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0, 0, 0, 0.4);
}
.ge9b-bottom-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: transparent;
  color: var(--ge9b-secondary);
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.4rem 0.2rem;
  transition: var(--ge9b-transition);
  position: relative;
}
.ge9b-bottom-btn .ge9b-bottom-icon { font-size: 2rem; line-height: 1; }
.ge9b-bottom-btn .ge9b-bottom-label { font-size: 1rem; line-height: 1; font-weight: 600; }
.ge9b-bottom-btn:hover, .ge9b-bottom-btn.ge9b-bottom-active { color: var(--ge9b-gold); transform: translateY(-2px); }
.ge9b-bottom-btn.ge9b-bottom-active::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2.5rem; height: 0.3rem; background: var(--ge9b-gold); border-radius: 0 0 0.3rem 0.3rem;
}
.ge9b-bottom-btn:hover .ge9b-bottom-icon { transform: scale(1.15); }
.ge9b-bottom-badge {
  position: absolute; top: 0.3rem; right: 1.2rem;
  background: var(--ge9b-danger); color: #fff;
  font-size: 0.85rem; min-width: 1.4rem; height: 1.4rem;
  border-radius: 1rem; padding: 0 0.3rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ===== Back to top ===== */
.ge9b-back-top {
  position: fixed;
  bottom: 7rem; right: 1.2rem;
  width: 3.8rem; height: 3.8rem;
  border-radius: 50%;
  background: var(--ge9b-gradient);
  color: #fff;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: var(--ge9b-transition);
  box-shadow: var(--ge9b-shadow);
}
.ge9b-back-top.ge9b-back-top-show { opacity: 1; pointer-events: auto; }
.ge9b-back-top:hover { transform: translateY(-3px); }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .ge9b-bottom-nav { display: none; }
  .ge9b-hamburger { display: none; }
  .ge9b-footer { padding-bottom: 2rem; }
  .ge9b-main { padding-bottom: 2rem; }
}

/* ===== Small mobile tweaks ===== */
@media (max-width: 360px) {
  .ge9b-grid { grid-template-columns: repeat(2, 1fr); }
  .ge9b-h1 { font-size: 1.7rem; }
  .ge9b-section-title { font-size: 1.6rem; }
  .ge9b-btn { padding: 0.5rem 0.9rem; font-size: 1.1rem; }
}

/* Touch target safety */
.ge9b-btn, .ge9b-bottom-btn, .ge9b-game-card, .ge9b-cat-pill, .ge9b-footer-link { min-height: 44px; }
.ge9b-game-card { min-height: auto; }
