/* ============================================================
 * rr88 bet - style-1779.css
 * Mobile-first design. Root font 62.5% (1rem = 10px).
 * Palette: #0A0A0A bg | #4DB6AC | #008B8B | #FFDFBA text | #20B2AA
 * All custom classes use the g790- prefix.
 * ============================================================ */

:root {
  --g790-bg: #0A0A0A;
  --g790-bg-2: #111817;
  --g790-bg-3: #16201f;
  --g790-primary: #4DB6AC;
  --g790-primary-2: #20B2AA;
  --g790-deep: #008B8B;
  --g790-text: #FFDFBA;
  --g790-text-soft: #d9c4a4;
  --g790-text-dim: #9aa39e;
  --g790-border: rgba(77, 182, 172, 0.18);
  --g790-gold: #FFDFBA;
  --g790-danger: #ff5a5f;
  --g790-radius: 12px;
  --g790-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(77, 182, 172, 0.10), transparent 60%), var(--g790-bg);
  color: var(--g790-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--g790-primary); text-decoration: none; }

.g790-container { width: 100%; padding: 0 1.2rem; }
.g790-wrapper { width: 100%; }

/* ===== Header ===== */
.g790-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g790-border);
}

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

.g790-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.g790-logo img { width: 2.8rem; height: 2.8rem; border-radius: 6px; }
.g790-logo-text {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--g790-text);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.g790-logo-text span { color: var(--g790-primary); }

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

.g790-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.g790-btn:active { transform: scale(0.96); }
.g790-btn-login {
  background: transparent;
  color: var(--g790-text);
  border: 1px solid var(--g790-primary);
}
.g790-btn-register {
  background: linear-gradient(135deg, var(--g790-primary), var(--g790-deep));
  color: #06201f;
  box-shadow: 0 4px 14px rgba(77, 182, 172, 0.35);
}

.g790-menu-btn {
  background: transparent;
  border: 1px solid var(--g790-border);
  color: var(--g790-text);
  width: 3.6rem; height: 3.6rem;
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Expandable nav menu (mobile drawer) ===== */
.g790-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.g790-backdrop-show { opacity: 1; pointer-events: auto; }

.g790-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: var(--g790-bg-2);
  border-left: 1px solid var(--g790-border);
  transform: translateX(105%);
  transition: transform 0.25s ease;
  z-index: 9999;
  padding: 6rem 1.6rem 2rem;
  overflow-y: auto;
}
.g790-menu-open { transform: translateX(0); }

.g790-mobile-menu h3 {
  color: var(--g790-primary);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 1.2rem 0 0.6rem;
  border-bottom: 1px solid var(--g790-border);
  padding-bottom: 0.4rem;
}
.g790-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--g790-text);
  border-bottom: 1px dashed rgba(255, 223, 186, 0.12);
  font-size: 1.4rem;
}
.g790-mobile-menu a:active { background: rgba(77, 182, 172, 0.08); }

.g790-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--g790-text);
  font-size: 2rem;
  cursor: pointer;
}

/* ===== Main layout ===== */
.g790-main { padding-top: 6.2rem; padding-bottom: 8rem; }

.g790-section { padding: 2.4rem 1.2rem; }
.g790-section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--g790-text);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.g790-section h2 span { color: var(--g790-primary); }
.g790-section h3 {
  font-size: 1.5rem;
  color: var(--g790-primary-2);
  margin: 1.2rem 0 0.4rem;
}
.g790-section p {
  color: var(--g790-text-soft);
  margin-bottom: 0.8rem;
}

.g790-h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.g790-h1 span { color: var(--g790-primary); }

/* ===== Hero carousel ===== */
.g790-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--g790-radius);
  margin: 0 1.2rem;
}
.g790-hero-track {
  display: flex;
  transition: transform 0.45s ease;
}
.g790-hero-slide {
  min-width: 100%;
  position: relative;
}
.g790-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.g790-hero-cap {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  padding: 2rem 1rem 0.6rem;
  border-radius: 10px;
}
.g790-hero-cap h3 { color: var(--g790-text); font-size: 1.6rem; margin-bottom: 0.4rem; }
.g790-hero-cap p { color: var(--g790-text-soft); font-size: 1.25rem; margin-bottom: 0.6rem; }

.g790-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--g790-border);
  color: var(--g790-text);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.g790-hero-prev { left: 0.6rem; }
.g790-hero-next { right: 0.6rem; }

.g790-hero-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 0;
}
.g790-hero-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 223, 186, 0.3);
  border: none; cursor: pointer;
}
.g790-dot-active { background: var(--g790-primary); width: 1.8rem; border-radius: 999px; }

/* ===== Promo banner CTA ===== */
.g790-cta {
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.18), rgba(0, 139, 139, 0.12));
  border: 1px solid var(--g790-border);
  border-radius: var(--g790-radius);
  padding: 1.4rem;
  margin: 1.2rem;
  text-align: center;
}
.g790-cta h3 { color: var(--g790-text); font-size: 1.5rem; margin-bottom: 0.4rem; }
.g790-cta p { color: var(--g790-text-soft); font-size: 1.25rem; margin-bottom: 0.8rem; }
.g790-cta .g790-btn { width: 100%; }

/* ===== Game grid ===== */
.g790-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 1.2rem 0.8rem;
  scrollbar-width: none;
}
.g790-filter-bar::-webkit-scrollbar { display: none; }
.g790-filter-tab {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--g790-bg-3);
  color: var(--g790-text-soft);
  font-size: 1.2rem;
  border: 1px solid var(--g790-border);
  cursor: pointer;
  white-space: nowrap;
}
.g790-filter-active {
  background: linear-gradient(135deg, var(--g790-primary), var(--g790-deep));
  color: #06201f;
  font-weight: 700;
}

.g790-cat-title {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.6rem 1.2rem 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--g790-text);
}
.g790-cat-title i { color: var(--g790-primary); }

.g790-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 0 1.2rem;
}
.g790-card {
  background: var(--g790-bg-2);
  border: 1px solid var(--g790-border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.g790-card:active { transform: scale(0.97); box-shadow: var(--g790-shadow); }
.g790-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e1614;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.g790-loaded { opacity: 1; }
.g790-card-name {
  font-size: 1.05rem;
  color: var(--g790-text);
  padding: 0.4rem 0.5rem 0.6rem;
  text-align: center;
  line-height: 1.25;
  min-height: 2.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g790-card-tag {
  position: absolute;
  top: 0.4rem; left: 0.4rem;
  background: rgba(0, 139, 139, 0.85);
  color: var(--g790-text);
  font-size: 0.9rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

/* ===== Info / feature blocks ===== */
.g790-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0 1.2rem;
}
.g790-feature {
  background: var(--g790-bg-2);
  border: 1px solid var(--g790-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.g790-feature i { font-size: 2.2rem; color: var(--g790-primary); margin-bottom: 0.4rem; }
.g790-feature h4 { font-size: 1.3rem; color: var(--g790-text); margin-bottom: 0.3rem; }
.g790-feature p { font-size: 1.1rem; color: var(--g790-text-dim); margin: 0; }

.g790-list { padding-left: 1.6rem; color: var(--g790-text-soft); margin: 0.4rem 0 0.8rem; }
.g790-list li { margin-bottom: 0.4rem; }

.g790-faq-item {
  background: var(--g790-bg-2);
  border: 1px solid var(--g790-border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.g790-faq-item h4 { color: var(--g790-primary); font-size: 1.25rem; margin-bottom: 0.3rem; }
.g790-faq-item p { color: var(--g790-text-soft); font-size: 1.2rem; margin: 0; }

.g790-testimonial {
  background: var(--g790-bg-2);
  border-left: 3px solid var(--g790-primary);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.g790-testimonial p { color: var(--g790-text-soft); font-style: italic; font-size: 1.2rem; }
.g790-testimonial span { color: var(--g790-primary); font-size: 1.1rem; font-weight: 700; }

.g790-winners {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 1.2rem;
  scrollbar-width: none;
}
.g790-winners::-webkit-scrollbar { display: none; }
.g790-winner {
  flex: 0 0 auto;
  background: var(--g790-bg-2);
  border: 1px solid var(--g790-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  min-width: 12rem;
}
.g790-winner .g790-amt { color: var(--g790-gold); font-weight: 800; font-size: 1.4rem; }
.g790-winner .g790-name { color: var(--g790-text); font-size: 1.1rem; }
.g790-winner .g790-game { color: var(--g790-text-dim); font-size: 1rem; }

.g790-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0 1.2rem; }
.g790-pay {
  background: var(--g790-bg-2);
  border: 1px solid var(--g790-border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 1.1rem;
  color: var(--g790-text-soft);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.g790-pay i { color: var(--g790-primary); }

.g790-cta-inline {
  color: var(--g790-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--g790-primary);
}
.g790-cta-strong {
  display: inline-block;
  background: linear-gradient(135deg, var(--g790-primary), var(--g790-deep));
  color: #06201f;
  font-weight: 800;
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
}

/* ===== Footer ===== */
.g790-footer {
  background: var(--g790-bg-2);
  border-top: 1px solid var(--g790-border);
  padding: 2rem 1.2rem 7rem;
  margin-top: 1.6rem;
}
.g790-footer h4 { color: var(--g790-primary); font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.g790-footer p { color: var(--g790-text-dim); font-size: 1.15rem; }
.g790-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.g790-footer-links a {
  font-size: 1.1rem;
  color: var(--g790-text-soft);
  background: var(--g790-bg-3);
  border: 1px solid var(--g790-border);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}
.g790-footer-copy {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--g790-text-dim);
  text-align: center;
}

/* ===== Bottom navigation ===== */
.g790-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6.2rem;
  background: linear-gradient(180deg, rgba(17, 24, 23, 0.96), rgba(10, 10, 10, 0.98));
  border-top: 1px solid var(--g790-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.g790-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--g790-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 5.6rem;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.g790-bottom-nav-btn i,
.g790-bottom-nav-btn .material-icons,
.g790-bottom-nav-btn ion-icon {
  font-size: 2.2rem;
}
.g790-bottom-nav-btn:active { transform: scale(0.9); }
.g790-bottom-nav-btn.g790-nav-promo { color: var(--g790-primary); }
.g790-bottom-nav-btn.g790-nav-promo i { filter: drop-shadow(0 0 6px rgba(77,182,172,0.6)); }
.g790-nav-active { color: var(--g790-text); }
.g790-nav-active i { color: var(--g790-gold); }

/* ===== Responsive: hide bottom nav on desktop ===== */
@media (min-width: 769px) {
  .g790-bottom-nav { display: none; }
  body { max-width: 430px; }
}

@media (max-width: 768px) {
  .g790-main { padding-bottom: 8rem; }
}

@media (max-width: 360px) {
  .g790-grid { grid-template-columns: repeat(2, 1fr); }
  .g790-btn-login { padding: 0 0.8rem; }
}
