/**
 * 222det Core CSS Stylesheet
 * All classes use "ga6e-" prefix for namespace isolation
 * Color palette: #3C3C3C | #212F3D | #808080
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --ga6e-primary: #212F3D;
  --ga6e-secondary: #3C3C3C;
  --ga6e-accent: #808080;
  --ga6e-bg: #1a1a2e;
  --ga6e-bg-light: #16213e;
  --ga6e-bg-card: #0f3460;
  --ga6e-text: #e8e8e8;
  --ga6e-text-muted: #b0b0b0;
  --ga6e-highlight: #e94560;
  --ga6e-gold: #f0c040;
  --ga6e-green: #27ae60;
  --ga6e-border: #2a3a5c;
  --ga6e-font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--ga6e-font-size); scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--ga6e-bg);
  color: var(--ga6e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--ga6e-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.ga6e-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--ga6e-primary), var(--ga6e-secondary));
  padding: 0 1rem;
  height: 5.2rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  border-bottom: 2px solid var(--ga6e-highlight);
}
.ga6e-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.ga6e-logo { width: 2.8rem; height: 2.8rem; border-radius: 50%; }
.ga6e-site-name {
  font-size: 1.6rem; font-weight: 700;
  color: var(--ga6e-gold); letter-spacing: 0.5px;
}
.ga6e-header-right {
  display: flex; align-items: center; gap: 0.5rem;
}
.ga6e-btn-register, .ga6e-btn-login {
  padding: 0.5rem 1rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: transform 0.15s, box-shadow 0.15s;
}
.ga6e-btn-register {
  background: var(--ga6e-highlight); color: #fff;
}
.ga6e-btn-login {
  background: transparent; color: var(--ga6e-gold);
  border: 1px solid var(--ga6e-gold);
}
.ga6e-btn-register:hover, .ga6e-btn-login:hover {
  transform: scale(1.05); text-decoration: none;
}
.ga6e-menu-toggle {
  background: none; border: none; color: var(--ga6e-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* === MOBILE MENU === */
.ga6e-mobile-menu {
  display: none; position: fixed; top: 5.2rem; left: 0; right: 0;
  z-index: 9999; background: var(--ga6e-bg-light);
  border-bottom: 2px solid var(--ga6e-primary);
  padding: 0.5rem 0; max-width: 430px; margin: 0 auto;
}
.ga6e-mobile-menu a {
  display: block; padding: 1rem 1.5rem; color: var(--ga6e-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--ga6e-border);
}
.ga6e-mobile-menu a:hover { background: var(--ga6e-primary); text-decoration: none; }

/* === MAIN CONTENT === */
.ga6e-main { padding-top: 5.6rem; }

/* === CAROUSEL === */
.ga6e-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}
.ga6e-slide { display: none; cursor: pointer; }
.ga6e-slide img { width: 100%; height: 18rem; object-fit: cover; }
.ga6e-dots {
  position: absolute; bottom: 0.8rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.5rem;
}
.ga6e-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.ga6e-dot-active { background: var(--ga6e-highlight); }

/* === SECTIONS === */
.ga6e-section {
  padding: 1.5rem 1rem;
}
.ga6e-section-title {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--ga6e-gold); border-left: 3px solid var(--ga6e-highlight);
  padding-left: 0.8rem;
}
.ga6e-section-title i { margin-right: 0.5rem; }

/* === GAME GRID === */
.ga6e-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.ga6e-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.15s;
}
.ga6e-game-item:hover { transform: translateY(-2px); }
.ga6e-game-img {
  width: 7rem; height: 7rem; border-radius: 0.8rem;
  object-fit: cover; border: 2px solid var(--ga6e-border);
}
.ga6e-game-name {
  font-size: 1.1rem; text-align: center; margin-top: 0.3rem;
  color: var(--ga6e-text); line-height: 1.3rem;
  max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* === CATEGORY LABEL === */
.ga6e-cat-label {
  font-size: 1.5rem; font-weight: 600; margin: 1.2rem 0 0.6rem;
  color: var(--ga6e-highlight); padding: 0.4rem 0.8rem;
  background: rgba(233,69,96,0.1); border-radius: 0.4rem;
  display: inline-block;
}

/* === PROMO BUTTON === */
.ga6e-promo-btn {
  display: inline-block; padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--ga6e-highlight), #c0392b);
  color: #fff; font-weight: 700; border-radius: 2.5rem;
  font-size: 1.4rem; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.ga6e-promo-btn:hover {
  transform: scale(1.06); box-shadow: 0 4px 15px rgba(233,69,96,0.4);
  text-decoration: none;
}
.ga6e-promo-text {
  color: var(--ga6e-gold); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--ga6e-gold);
}
.ga6e-promo-text:hover { text-decoration: none; color: var(--ga6e-highlight); }

/* === CARDS === */
.ga6e-card {
  background: var(--ga6e-bg-light); border-radius: 0.8rem;
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid var(--ga6e-border);
}
.ga6e-card-title {
  font-size: 1.4rem; font-weight: 600; color: var(--ga6e-gold);
  margin-bottom: 0.5rem;
}

/* === FEATURES GRID === */
.ga6e-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.ga6e-feature-item {
  background: var(--ga6e-bg-light); padding: 1rem; border-radius: 0.6rem;
  text-align: center; border: 1px solid var(--ga6e-border);
}
.ga6e-feature-icon { font-size: 2.4rem; margin-bottom: 0.4rem; color: var(--ga6e-highlight); }
.ga6e-feature-label { font-size: 1.2rem; color: var(--ga6e-text-muted); }

/* === TESTIMONIAL === */
.ga6e-testimonial {
  background: var(--ga6e-bg-light); padding: 1rem; border-radius: 0.8rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--ga6e-gold);
}
.ga6e-testimonial-name { font-weight: 600; color: var(--ga6e-gold); font-size: 1.2rem; }
.ga6e-testimonial-text { font-size: 1.2rem; color: var(--ga6e-text-muted); margin-top: 0.3rem; }

/* === WINNERS LIST === */
.ga6e-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--ga6e-border);
}
.ga6e-winner-name { font-size: 1.2rem; color: var(--ga6e-text); }
.ga6e-winner-amount { font-size: 1.3rem; color: var(--ga6e-gold); font-weight: 700; }

/* === PAYMENT ICONS === */
.ga6e-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.ga6e-payment-item {
  background: var(--ga6e-bg-light); padding: 0.6rem 1.2rem;
  border-radius: 0.5rem; font-size: 1.2rem; color: var(--ga6e-text);
  border: 1px solid var(--ga6e-border);
}

/* === FOOTER === */
.ga6e-footer {
  background: var(--ga6e-primary); padding: 2rem 1rem 1rem;
  text-align: center;
}
.ga6e-footer-brand {
  font-size: 1.2rem; color: var(--ga6e-text-muted);
  margin-bottom: 1rem; line-height: 1.6rem;
}
.ga6e-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 1rem;
}
.ga6e-footer-link {
  color: var(--ga6e-gold); font-size: 1.1rem; padding: 0.3rem 0.6rem;
}
.ga6e-footer-link:hover { text-decoration: underline; }
.ga6e-footer-copy {
  font-size: 1.1rem; color: var(--ga6e-accent); margin-top: 0.8rem;
}
.ga6e-footer-site-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin: 0.8rem 0;
}
.ga6e-footer-site-links a {
  font-size: 1.1rem; color: var(--ga6e-text-muted);
}

/* === BOTTOM NAV === */
.ga6e-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; height: 6rem;
  background: linear-gradient(180deg, var(--ga6e-primary), #0d1b2a);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 2px solid var(--ga6e-highlight);
  max-width: 430px; margin: 0 auto;
}
.ga6e-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  background: none; border: none; color: var(--ga6e-accent);
  cursor: pointer; min-width: 6rem; min-height: 5rem;
  padding: 0.4rem; transition: color 0.2s, transform 0.15s;
}
.ga6e-bottom-nav-btn:hover { transform: scale(1.1); }
.ga6e-bottom-nav-btn i, .ga6e-bottom-nav-btn .material-icons,
.ga6e-bottom-nav-btn ion-icon, .ga6e-bottom-nav-btn bi {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.ga6e-bottom-nav-label { font-size: 1rem; }
.ga6e-bottom-nav-active {
  color: var(--ga6e-highlight) !important;
}
.ga6e-bottom-nav-active i, .ga6e-bottom-nav-active .material-icons {
  color: var(--ga6e-highlight);
}

/* === CONTENT HELPERS === */
.ga6e-text-center { text-align: center; }
.ga6e-mt-1 { margin-top: 1rem; }
.ga6e-mb-1 { margin-bottom: 1rem; }
.ga6e-mt-2 { margin-top: 2rem; }
.ga6e-mb-2 { margin-bottom: 2rem; }
.ga6e-p-1 { padding: 1rem; }
.ga6e-hidden { display: none; }
.ga6e-highlight-text { color: var(--ga6e-highlight); font-weight: 600; }
.ga6e-gold-text { color: var(--ga6e-gold); font-weight: 600; }

/* === FAQ SECTION === */
.ga6e-faq-item {
  background: var(--ga6e-bg-light); padding: 1rem; border-radius: 0.6rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--ga6e-primary);
}
.ga6e-faq-q {
  font-weight: 700; color: var(--ga6e-gold); font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.ga6e-faq-a { font-size: 1.2rem; color: var(--ga6e-text-muted); line-height: 1.5rem; }

/* === STEP LIST === */
.ga6e-step {
  display: flex; gap: 0.8rem; margin-bottom: 1rem; align-items: flex-start;
}
.ga6e-step-num {
  min-width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--ga6e-highlight); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
}
.ga6e-step-text { font-size: 1.2rem; color: var(--ga6e-text); padding-top: 0.4rem; }

/* === RESPONSIVE === */
@media (min-width: 769px) {
  .ga6e-bottom-nav { display: none; }
  .ga6e-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  .ga6e-main { padding-bottom: 8rem; }
}
