/* ============================================================
 * 33win333 - theme-4be7.css
 * All custom classes use ge76- prefix.
 * Mobile-first, max viewport 430px. Root font 62.5% (1rem = 10px).
 * Palette: #6C757D | #D3D3D3 | #DCDCDC | #0D1117 | #778899
 * ============================================================ */

:root {
  --ge76-bg: #0D1117;
  --ge76-bg-alt: #161B26;
  --ge76-bg-soft: #1E2530;
  --ge76-primary: #778899;
  --ge76-primary-dark: #6C757D;
  --ge76-light: #DCDCDC;
  --ge76-lighter: #D3D3D3;
  --ge76-accent: #E8B14A;
  --ge76-accent-2: #4FA8F5;
  --ge76-danger: #E5544B;
  --ge76-success: #3FBF7F;
  --ge76-text: #F2F4F7;
  --ge76-text-muted: #9AA4B2;
  --ge76-border: rgba(220, 220, 220, 0.10);
  --ge76-radius: 14px;
  --ge76-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --ge76-header-h: 56px;
  --ge76-bottom-h: 62px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--ge76-bg);
  color: var(--ge76-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.ge76-container {
  width: 100%;
  padding: 0 1.4rem;
}

/* ============== Header ============== */
.ge76-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--ge76-header-h);
  background: linear-gradient(180deg, #0F141C 0%, #0D1117 100%);
  border-bottom: 1px solid var(--ge76-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.ge76-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.ge76-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.ge76-brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ge76-light);
  letter-spacing: 0.3px;
}

.ge76-brand-name span { color: var(--ge76-accent); }

.ge76-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ge76-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s;
  line-height: 1;
}
.ge76-btn:active { transform: scale(0.95); }

.ge76-btn-login {
  background: transparent;
  color: var(--ge76-light);
  border: 1px solid var(--ge76-primary);
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem;
}

.ge76-btn-register {
  background: linear-gradient(135deg, #E8B14A 0%, #C98A2C 100%);
  color: #1B1306;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(232, 177, 74, 0.35);
}

.ge76-menu-toggle {
  background: transparent;
  border: none;
  color: var(--ge76-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  display: inline-flex;
  align-items: center;
}

/* ============== Mobile Slide Menu ============== */
.ge76-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.ge76-menu-overlay.ge76-show {
  opacity: 1;
  visibility: visible;
}

.ge76-mobile-menu {
  position: fixed;
  top: 0;
  right: -78%;
  width: 76%;
  max-width: 320px;
  height: 100%;
  background: var(--ge76-bg-alt);
  z-index: 9999;
  transition: right 0.28s ease;
  padding: 1.8rem 1.4rem;
  overflow-y: auto;
  border-left: 1px solid var(--ge76-border);
}
.ge76-mobile-menu.ge76-menu-open { right: 0; }

.ge76-mobile-menu h3 {
  font-size: 1.4rem;
  color: var(--ge76-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.4rem 0 0.8rem;
}
.ge76-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid var(--ge76-border);
  color: var(--ge76-light);
  font-size: 1.45rem;
  font-weight: 500;
}
.ge76-mobile-menu a:active { color: var(--ge76-accent); }

.ge76-menu-close {
  background: transparent;
  border: none;
  color: var(--ge76-light);
  font-size: 2.2rem;
  float: right;
  cursor: pointer;
}

/* ============== Main / Sections ============== */
.ge76-main {
  padding-top: calc(var(--ge76-header-h) + 8px);
  padding-bottom: calc(var(--ge76-bottom-h) + 24px);
}

.ge76-section {
  margin: 2rem 0;
}

.ge76-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ge76-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ge76-section-title i { color: var(--ge76-accent); }

.ge76-lead {
  color: var(--ge76-text-muted);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ============== Hero Carousel ============== */
.ge76-hero {
  position: relative;
  border-radius: var(--ge76-radius);
  overflow: hidden;
  box-shadow: var(--ge76-shadow);
  margin: 1rem 0;
}
.ge76-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.ge76-slide.ge76-active { display: block; }
.ge76-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.ge76-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(13,17,23,0.92) 100%);
}
.ge76-slide-caption h2 {
  font-size: 1.7rem;
  color: var(--ge76-accent);
  font-weight: 800;
}
.ge76-slide-caption p {
  color: var(--ge76-light);
  font-size: 1.3rem;
}

.ge76-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.6rem 0;
}
.ge76-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ge76-primary-dark);
  cursor: pointer;
}
.ge76-dot.ge76-dot-active { background: var(--ge76-accent); }

/* ============== Promo CTA Bar ============== */
.ge76-cta {
  background: linear-gradient(135deg, #1B2230 0%, #11161F 100%);
  border: 1px solid var(--ge76-border);
  border-radius: var(--ge76-radius);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.ge76-cta-text {
  flex: 1;
  font-size: 1.35rem;
  color: var(--ge76-light);
}
.ge76-cta-btn {
  background: linear-gradient(135deg, #E8B14A, #C98A2C);
  color: #1B1306;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}

/* ============== Game Grid ============== */
.ge76-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.ge76-game-card {
  background: var(--ge76-bg-alt);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--ge76-border);
  transition: transform 0.15s ease, border-color 0.2s;
  text-align: center;
}
.ge76-game-card:active {
  transform: scale(0.96);
  border-color: var(--ge76-accent);
}
.ge76-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ge76-game-name {
  font-size: 1.15rem;
  color: var(--ge76-light);
  padding: 0.5rem 0.4rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============== Category Highlights ============== */
.ge76-cat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.ge76-cat-item {
  background: var(--ge76-bg-alt);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--ge76-border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}
.ge76-cat-item:active { border-color: var(--ge76-accent); }
.ge76-cat-item i {
  font-size: 2rem;
  color: var(--ge76-accent);
}
.ge76-cat-item h4 {
  font-size: 1.35rem;
  color: var(--ge76-light);
  font-weight: 700;
}
.ge76-cat-item p {
  font-size: 1.15rem;
  color: var(--ge76-text-muted);
}

/* ============== Info Cards / Features ============== */
.ge76-card {
  background: var(--ge76-bg-alt);
  border: 1px solid var(--ge76-border);
  border-radius: var(--ge76-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.ge76-card h3 {
  font-size: 1.5rem;
  color: var(--ge76-accent);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.ge76-card p {
  color: var(--ge76-light);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.ge76-card ul {
  padding-left: 1.6rem;
  color: var(--ge76-light);
  font-size: 1.3rem;
}
.ge76-card li { margin-bottom: 0.3rem; }

/* ============== RTP Table ============== */
.ge76-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
}
.ge76-rtp-table th,
.ge76-rtp-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--ge76-border);
  text-align: left;
}
.ge76-rtp-table th {
  color: var(--ge76-accent);
  font-weight: 700;
}
.ge76-rtp-table td { color: var(--ge76-light); }
.ge76-rtp-high { color: var(--ge76-success); font-weight: 700; }

/* ============== Winners Showcase ============== */
.ge76-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.4rem;
  border-bottom: 1px solid var(--ge76-border);
}
.ge76-winner-item img {
  width: 36px; height: 36px;
  border-radius: 50%;
}
.ge76-winner-info { flex: 1; }
.ge76-winner-info strong { color: var(--ge76-light); font-size: 1.3rem; }
.ge76-winner-info span { color: var(--ge76-text-muted); font-size: 1.15rem; display: block; }
.ge76-winner-amount {
  color: var(--ge76-success);
  font-weight: 800;
  font-size: 1.3rem;
}

/* ============== Testimonials ============== */
.ge76-testimonial {
  background: var(--ge76-bg-alt);
  border-left: 3px solid var(--ge76-accent);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.ge76-testimonial p { color: var(--ge76-light); font-size: 1.3rem; font-style: italic; }
.ge76-testimonial .ge76-author {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: var(--ge76-accent);
  font-weight: 700;
}

/* ============== Payment Methods ============== */
.ge76-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ge76-pay-chip {
  background: var(--ge76-bg-soft);
  border: 1px solid var(--ge76-border);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--ge76-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============== FAQ Accordion ============== */
.ge76-faq-item {
  background: var(--ge76-bg-alt);
  border: 1px solid var(--ge76-border);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.ge76-faq-q {
  padding: 1rem;
  font-size: 1.35rem;
  color: var(--ge76-light);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ge76-faq-q .ge76-icon { color: var(--ge76-accent); transition: transform 0.2s; }
.ge76-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1rem;
  color: var(--ge76-text-muted);
  font-size: 1.3rem;
}
.ge76-faq-open .ge76-faq-a {
  max-height: 320px;
  padding: 0 1rem 1rem;
}
.ge76-faq-open .ge76-icon { transform: rotate(45deg); }

/* ============== App Download CTA ============== */
.ge76-app-cta {
  background: radial-gradient(circle at 30% 20%, #2A2D3A 0%, #11161F 70%);
  border: 1px solid var(--ge76-border);
  border-radius: var(--ge76-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.2rem 0;
}
.ge76-app-cta h3 {
  font-size: 1.7rem;
  color: var(--ge76-accent);
  margin-bottom: 0.5rem;
}
.ge76-app-cta p { color: var(--ge76-light); font-size: 1.3rem; margin-bottom: 1rem; }
.ge76-app-btns {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ge76-app-btn {
  background: var(--ge76-bg-soft);
  border: 1px solid var(--ge76-border);
  color: var(--ge76-light);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============== Footer ============== */
.ge76-footer {
  background: var(--ge76-bg-alt);
  border-top: 1px solid var(--ge76-border);
  padding: 1.6rem 1.4rem calc(var(--ge76-bottom-h) + 1.6rem);
  margin-top: 1.5rem;
}
.ge76-footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ge76-accent);
  margin-bottom: 0.4rem;
}
.ge76-footer-desc {
  color: var(--ge76-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.7rem;
}
.ge76-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ge76-footer-links a {
  font-size: 1.2rem;
  color: var(--ge76-light);
  background: var(--ge76-bg-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--ge76-border);
}
.ge76-footer-links a:active { color: var(--ge76-accent); }
.ge76-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ge76-footer-promos button {
  flex: 1 1 45%;
  background: linear-gradient(135deg, #E8B14A, #C98A2C);
  color: #1B1306;
  border: none;
  border-radius: 8px;
  padding: 0.7rem;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
}
.ge76-copyright {
  color: var(--ge76-text-muted);
  font-size: 1.15rem;
  border-top: 1px solid var(--ge76-border);
  padding-top: 0.8rem;
  text-align: center;
}

/* ============== Bottom Navigation ============== */
.ge76-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--ge76-bottom-h);
  background: linear-gradient(180deg, #11161F 0%, #0B0F16 100%);
  border-top: 1px solid var(--ge76-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.5);
}
.ge76-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--ge76-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s, transform 0.18s;
  position: relative;
}
.ge76-bottom-nav-btn:active { transform: scale(0.92); }
.ge76-bottom-nav-btn i,
.ge76-bottom-nav-btn span.material-symbols-outlined {
  font-size: 22px;
}
.ge76-bottom-nav-btn .ge76-nav-label {
  font-size: 1.05rem;
  font-weight: 600;
}
.ge76-bottom-nav-btn.ge76-nav-active {
  color: var(--ge76-accent);
}
.ge76-bottom-nav-btn.ge76-nav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--ge76-accent);
  border-radius: 0 0 4px 4px;
}
.ge76-nav-promo {
  color: var(--ge76-accent);
}

/* Back-to-top floating button */
.ge76-top-btn {
  position: fixed;
  right: 1.2rem;
  bottom: calc(var(--ge76-bottom-h) + 1.2rem);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ge76-accent);
  color: #1B1306;
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 999;
}
.ge76-top-btn.ge76-top-show {
  opacity: 0.95;
  visibility: visible;
}

/* ============== Desktop layout ============== */
@media (min-width: 769px) {
  .ge76-bottom-nav { display: none; }
  .ge76-menu-toggle { display: none; }
  body { max-width: 760px; }
  .ge76-grid { grid-template-columns: repeat(5, 1fr); }
  .ge76-footer { padding-bottom: 1.6rem; }
  .ge76-main { padding-bottom: 2rem; }
}
