/* as88 website core stylesheet - base files module */
/* All custom classes use ge0b- prefix for namespace isolation */
/* Comments in English per project convention */

:root {
  --ge0b-bg: #1A1A2E;
  --ge0b-bg-alt: #14142b;
  --ge0b-bg-deep: #0f0f1f;
  --ge0b-text: #D8BFD8;
  --ge0b-text-bright: #F2E6F2;
  --ge0b-text-muted: #A89BB8;
  --ge0b-primary: #D8BFD8;
  --ge0b-accent: #C9A0DC;
  --ge0b-gold: #E8C547;
  --ge0b-cta: #B794D4;
  --ge0b-cta-hover: #d4a8e8;
  --ge0b-card: #25254a;
  --ge0b-card-hover: #2d2d57;
  --ge0b-border: #3a3a5c;
  --ge0b-success: #6BCB77;
  --ge0b-danger: #FF6B6B;
  --ge0b-radius: 10px;
  --ge0b-radius-sm: 6px;
}

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

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(--ge0b-bg);
  color: var(--ge0b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

.ge0b-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: var(--ge0b-bg);
}

/* Header */
.ge0b-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(26,26,46,0.98), rgba(20,20,43,0.95));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ge0b-border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.ge0b-header-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,0.5); }

.ge0b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.6rem;
}

.ge0b-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.ge0b-logo-img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.ge0b-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ge0b-text-bright);
  letter-spacing: 0.5px;
}
.ge0b-logo-text span { color: var(--ge0b-gold); }

.ge0b-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.ge0b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: var(--ge0b-radius-sm);
  padding: 0.7rem 1.1rem;
  min-height: 38px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}
.ge0b-btn:active { transform: scale(0.96); }

.ge0b-btn-login {
  background: transparent;
  color: var(--ge0b-text-bright);
  border: 1px solid var(--ge0b-border);
}
.ge0b-btn-login:hover { background: var(--ge0b-card); }

.ge0b-btn-register {
  background: linear-gradient(135deg, var(--ge0b-cta), var(--ge0b-accent));
  color: #1A1A2E;
  box-shadow: 0 3px 10px rgba(183,148,212,0.35);
}
.ge0b-btn-register:hover { background: linear-gradient(135deg, var(--ge0b-cta-hover), var(--ge0b-accent)); }

.ge0b-menu-btn {
  background: transparent;
  border: 1px solid var(--ge0b-border);
  color: var(--ge0b-text-bright);
  width: 38px; height: 38px;
  border-radius: var(--ge0b-radius-sm);
  cursor: pointer;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile expandable menu */
.ge0b-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--ge0b-bg-alt);
  border-bottom: 1px solid var(--ge0b-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.ge0b-menu-open { max-height: 520px; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.ge0b-mobile-menu ul { list-style: none; padding: 0.6rem 0; }
.ge0b-mobile-menu li a {
  display: block;
  padding: 1.1rem 1.4rem;
  color: var(--ge0b-text-bright);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(58,58,92,0.4);
  transition: background 0.15s, padding-left 0.15s;
}
.ge0b-mobile-menu li a:hover, .ge0b-mobile-menu li a:active {
  background: var(--ge0b-card);
  padding-left: 1.8rem;
  color: var(--ge0b-gold);
}
.ge0b-mobile-menu li a i { width: 22px; color: var(--ge0b-accent); }

/* Main content */
.ge0b-main { padding-top: 60px; }
@media (max-width: 768px) {
  .ge0b-main { padding-bottom: 84px; }
}

.ge0b-container { padding: 1.2rem 1rem; }

/* Carousel */
.ge0b-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.ge0b-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.ge0b-slide-active { opacity: 1; }
.ge0b-slide img { width: 100%; height: 100%; object-fit: cover; }
.ge0b-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,31,0.72), rgba(15,15,31,0.12));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}
.ge0b-slide-title { font-size: 1.8rem; font-weight: 800; color: var(--ge0b-text-bright); margin-bottom: 0.3rem; }
.ge0b-slide-sub { font-size: 1.2rem; color: var(--ge0b-primary); margin-bottom: 0.6rem; }
.ge0b-slide-cta {
  align-self: flex-start;
  background: var(--ge0b-gold);
  color: #1A1A2E;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}
.ge0b-dots {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.ge0b-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(216,191,216,0.4);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  border: none;
}
.ge0b-dot-active { background: var(--ge0b-gold); width: 20px; border-radius: 4px; }

/* Section headings */
.ge0b-section { padding: 1.4rem 1rem; }
.ge0b-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ge0b-text-bright);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ge0b-section-title i, .ge0b-section-title .material-icons-outlined { color: var(--ge0b-gold); font-size: 2rem; }
.ge0b-section-title .ge0b-more {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--ge0b-accent);
  text-decoration: none;
  font-weight: 600;
}

/* H1 hero */
.ge0b-hero { padding: 1.2rem 1rem 0.4rem; }
.ge0b-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ge0b-text-bright);
  line-height: 2.6rem;
  margin-bottom: 0.5rem;
}
.ge0b-h1 span { color: var(--ge0b-gold); }
.ge0b-hero-sub { font-size: 1.3rem; color: var(--ge0b-text-muted); margin-bottom: 0.8rem; }

/* Category label */
.ge0b-cat-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ge0b-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--ge0b-accent);
}

/* Game grid */
.ge0b-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.ge0b-game-card {
  background: var(--ge0b-card);
  border-radius: var(--ge0b-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  text-align: center;
  text-decoration: none;
  display: block;
  border: 1px solid transparent;
}
.ge0b-game-card:hover, .ge0b-game-card:active {
  transform: translateY(-3px);
  background: var(--ge0b-card-hover);
  border-color: var(--ge0b-accent);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.ge0b-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.ge0b-game-name {
  font-size: 1.1rem;
  color: var(--ge0b-text);
  padding: 0.4rem 0.3rem 0.5rem;
  line-height: 1.3rem;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Generic card */
.ge0b-card {
  background: var(--ge0b-card);
  border-radius: var(--ge0b-radius);
  padding: 1.2rem;
  border: 1px solid var(--ge0b-border);
  margin-bottom: 1rem;
}
.ge0b-card h3 { color: var(--ge0b-text-bright); font-size: 1.5rem; margin-bottom: 0.6rem; }
.ge0b-card p { color: var(--ge0b-text); font-size: 1.3rem; line-height: 1.7rem; margin-bottom: 0.5rem; }
.ge0b-card p:last-child { margin-bottom: 0; }

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

/* CTA button full width */
.ge0b-cta-full {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--ge0b-cta), var(--ge0b-accent));
  color: #1A1A2E;
  text-align: center;
  padding: 1.1rem;
  border-radius: var(--ge0b-radius);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  margin: 1rem 0;
  box-shadow: 0 4px 14px rgba(183,148,212,0.4);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.ge0b-cta-full:active { transform: scale(0.98); }

/* FAQ */
.ge0b-faq-item {
  background: var(--ge0b-card);
  border-radius: var(--ge0b-radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--ge0b-accent);
}
.ge0b-faq-q { font-weight: 700; color: var(--ge0b-text-bright); font-size: 1.35rem; margin-bottom: 0.4rem; }
.ge0b-faq-a { color: var(--ge0b-text); font-size: 1.25rem; line-height: 1.6rem; }

/* RTP compact table */
.ge0b-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--ge0b-border);
  font-size: 1.25rem;
  gap: 0.6rem;
}
.ge0b-rtp-row:last-child { border-bottom: none; }
.ge0b-rtp-name { color: var(--ge0b-text-bright); font-weight: 600; flex: 1; }
.ge0b-rtp-bar {
  flex-basis: 64px;
  height: 6px;
  background: var(--ge0b-bg-deep);
  border-radius: 3px;
  overflow: hidden;
}
.ge0b-rtp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--ge0b-accent), var(--ge0b-gold)); }
.ge0b-rtp-val { color: var(--ge0b-gold); font-weight: 800; min-width: 52px; text-align: right; }

/* Winners showcase */
.ge0b-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: var(--ge0b-card);
  border-radius: var(--ge0b-radius-sm);
  margin-bottom: 0.6rem;
}
.ge0b-winner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ge0b-cta), var(--ge0b-gold));
  display: flex; align-items: center; justify-content: center;
  color: #1A1A2E; font-weight: 800; font-size: 1.3rem; flex-shrink: 0;
}
.ge0b-winner-info { flex: 1; min-width: 0; }
.ge0b-winner-name { font-size: 1.25rem; color: var(--ge0b-text-bright); font-weight: 600; }
.ge0b-winner-game { font-size: 1.1rem; color: var(--ge0b-text-muted); }
.ge0b-winner-amount { font-size: 1.3rem; color: var(--ge0b-gold); font-weight: 800; flex-shrink: 0; }

/* App download CTA */
.ge0b-app-cta {
  background: linear-gradient(135deg, #2d2d57, #3a2d5c);
  border-radius: var(--ge0b-radius);
  padding: 1.3rem;
  text-align: center;
  border: 1px solid var(--ge0b-accent);
}
.ge0b-app-cta h3 { color: var(--ge0b-text-bright); font-size: 1.6rem; margin-bottom: 0.4rem; }
.ge0b-app-cta p { color: var(--ge0b-text); font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.6rem; }
.ge0b-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.ge0b-app-btn {
  background: var(--ge0b-text-bright);
  color: #1A1A2E;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.ge0b-app-btn:active { transform: scale(0.96); }

/* Feature list */
.ge0b-feature-list { list-style: none; }
.ge0b-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(58,58,92,0.4);
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--ge0b-text);
}
.ge0b-feature-list li:last-child { border-bottom: none; }
.ge0b-feature-list i,
.ge0b-feature-list .material-icons,
.ge0b-feature-list .material-icons-outlined,
.ge0b-feature-list ion-icon { color: var(--ge0b-gold); font-size: 1.6rem; margin-top: 0.1rem; flex-shrink: 0; }

/* Help page additions */
.ge0b-page-hero {
  padding: 1.6rem 1rem 0.8rem;
  background: radial-gradient(circle at top right, rgba(201,160,220,0.2), transparent 55%);
}
.ge0b-kicker { color: var(--ge0b-gold); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.08rem; text-transform: uppercase; margin-bottom: 0.4rem; }
.ge0b-breadcrumb { font-size: 1.15rem; color: var(--ge0b-text-muted); margin: 0.6rem 0 0; }
.ge0b-breadcrumb a { color: var(--ge0b-accent); text-decoration: none; }
.ge0b-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 0.8rem; }
.ge0b-stat-card { background: var(--ge0b-card); border: 1px solid var(--ge0b-border); border-radius: var(--ge0b-radius-sm); padding: 1rem; }
.ge0b-stat-card strong { display: block; color: var(--ge0b-gold); font-size: 1.7rem; margin-bottom: 0.3rem; }
.ge0b-stat-card span { color: var(--ge0b-text); font-size: 1.15rem; line-height: 1.5rem; }
.ge0b-step { display: flex; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid rgba(58,58,92,0.45); }
.ge0b-step:last-child { border-bottom: none; }
.ge0b-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ge0b-gold); color: #1A1A2E; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ge0b-step-body h3 { color: var(--ge0b-text-bright); font-size: 1.35rem; margin-bottom: 0.3rem; }
.ge0b-step-body p { font-size: 1.25rem; line-height: 1.65rem; color: var(--ge0b-text); }
.ge0b-note { border-left: 3px solid var(--ge0b-gold); background: rgba(232,197,71,0.08); padding: 1rem; border-radius: 0 var(--ge0b-radius-sm) var(--ge0b-radius-sm) 0; font-size: 1.25rem; line-height: 1.7rem; }
@media (max-width: 360px) { .ge0b-mini-grid { grid-template-columns: 1fr; } }

/* Footer */
.ge0b-footer {
  background: var(--ge0b-bg-deep);
  border-top: 1px solid var(--ge0b-border);
  padding: 1.6rem 1rem 2rem;
  margin-top: 1.5rem;
}
.ge0b-footer-brand { color: var(--ge0b-text); font-size: 1.2rem; line-height: 1.6rem; margin-bottom: 1rem; }
.ge0b-footer-brand strong { color: var(--ge0b-gold); }
.ge0b-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.ge0b-footer-promos .ge0b-btn { font-size: 1.2rem; padding: 0.6rem 0.9rem; }
.ge0b-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 1rem; padding-top: 0.8rem;
  border-top: 1px solid var(--ge0b-border);
}
.ge0b-footer-links a {
  color: var(--ge0b-text-muted); text-decoration: none; font-size: 1.15rem;
}
.ge0b-footer-links a:hover { color: var(--ge0b-accent); }
.ge0b-footer-copy {
  color: var(--ge0b-text-muted); font-size: 1.1rem; text-align: center;
  padding-top: 0.8rem; border-top: 1px solid var(--ge0b-border);
}

/* Bottom navigation - fixed mobile */
.ge0b-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, var(--ge0b-bg-alt), var(--ge0b-bg-deep));
  border-top: 1px solid var(--ge0b-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
.ge0b-bottomnav-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: 2px;
  color: var(--ge0b-text-muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  transition: color 0.2s, transform 0.18s;
  position: relative;
}
.ge0b-bottomnav-btn i,
.ge0b-bottomnav-btn .material-icons-outlined,
.ge0b-bottomnav-btn .ion { font-size: 22px; }
.ge0b-bottomnav-btn:active { transform: scale(0.92); }
.ge0b-bottomnav-btn:hover { color: var(--ge0b-accent); }
.ge0b-bottomnav-active { color: var(--ge0b-gold) !important; }
.ge0b-bottomnav-active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 3px;
  background: var(--ge0b-gold);
  border-radius: 0 0 3px 3px;
}
.ge0b-bottomnav-badge {
  position: absolute;
  top: 6px; right: 14px;
  background: var(--ge0b-danger);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Desktop: hide bottom nav, widen wrapper slightly */
@media (min-width: 769px) {
  .ge0b-bottomnav { display: none; }
  .ge0b-wrapper { max-width: 480px; }
  .ge0b-header, .ge0b-mobile-menu { max-width: 480px; }
}

/* Reveal animation */
.ge0b-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.ge0b-revealed { opacity: 1; transform: translateY(0); }

/* Utilities */
.ge0b-text-center { text-align: center; }
.ge0b-mt-1 { margin-top: 1rem; }
.ge0b-mb-1 { margin-bottom: 1rem; }
