/* ============================================================
   game 789 club - theme-c649.css
   All custom classes use g494- prefix
   Palette: #FF1493 | #FFFACD | #DEB887 | #1C2833 | #C71585
   Mobile-first, max-width 430px
   ============================================================ */

:root {
  --g494-primary: #FF1493;
  --g494-secondary: #C71585;
  --g494-accent: #DEB887;
  --g494-light: #FFFACD;
  --g494-bg: #1C2833;
  --g494-bg-soft: #2a3b4d;
  --g494-text: #FFFACD;
  --g494-text-dim: #c7d1da;
  --g494-border: rgba(255, 20, 147, 0.25);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--g494-bg);
  color: var(--g494-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g494-light); text-decoration: none; }

.g494-wrapper { max-width: 430px; margin: 0 auto; position: relative; }

/* ===== Header ===== */
.g494-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1C2833 0%, #2a0a1f 100%);
  border-bottom: 2px solid var(--g494-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.g494-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 5.6rem;
}
.g494-logo {
  display: flex; align-items: center; gap: 0.6rem; color: var(--g494-light);
}
.g494-logo img { width: 3rem; height: 3rem; border-radius: 0.5rem; }
.g494-logo span {
  font-size: 1.6rem; font-weight: 800; color: var(--g494-primary);
  letter-spacing: 0.3px;
}
.g494-logo small { display:block; font-size: 1rem; color: var(--g494-accent); }

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

.g494-menu-btn {
  background: transparent; border: 0; color: var(--g494-light);
  font-size: 2rem; padding: 0.4rem 0.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.g494-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.7rem 1.2rem; border-radius: 2.5rem;
  font-weight: 700; font-size: 1.3rem; cursor: pointer;
  border: 0; min-height: 4rem; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.g494-btn:active { transform: scale(0.96); }
.g494-btn-login {
  background: transparent; color: var(--g494-light);
  border: 1.5px solid var(--g494-accent);
}
.g494-btn-register {
  background: linear-gradient(90deg, var(--g494-primary), var(--g494-secondary));
  color: #fff; box-shadow: 0 3px 10px rgba(255, 20, 147, 0.45);
}
.g494-btn-cta {
  background: linear-gradient(90deg, var(--g494-primary), var(--g494-secondary));
  color: #fff; padding: 1rem 1.8rem; font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.5);
}
.g494-link-text {
  color: var(--g494-primary); font-weight: 700;
  border-bottom: 1px dashed var(--g494-accent);
}

/* ===== Mobile Menu ===== */
.g494-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; z-index: 9999;
  background: #141c25; border-left: 2px solid var(--g494-primary);
  padding: 6rem 1.5rem 2rem; transition: right 0.28s ease;
  overflow-y: auto;
}
.g494-mobile-menu.g494-open { right: 0; }
.g494-mobile-menu a {
  display: block; padding: 1.1rem 1rem; color: var(--g494-light);
  border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1.4rem;
}
.g494-mobile-menu a:hover { color: var(--g494-primary); background: rgba(255,20,147,0.08); }
.g494-menu-title {
  font-size: 1.2rem; color: var(--g494-accent); text-transform: uppercase;
  letter-spacing: 1px; margin: 1.2rem 0 0.4rem; font-weight: 700;
}
.g494-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; display: none;
}
.g494-overlay.g494-open { display: block; }

/* ===== Main ===== */
.g494-main { padding-top: 6rem; padding-bottom: 8rem; }
@media (min-width: 769px) {
  .g494-main { padding-bottom: 2rem; }
}

/* ===== Carousel ===== */
.g494-carousel {
  position: relative; margin: 1rem 0 1.5rem; border-radius: 1rem;
  overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.g494-carousel-viewport { overflow: hidden; }
.g494-carousel-track { display: flex; transition: transform 0.5s ease; }
.g494-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.g494-carousel-slide img { width: 100%; height: auto; }
.g494-carousel-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  font-size: 1.5rem; font-weight: 800;
}
.g494-carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem; padding: 0.6rem 0;
}
.g494-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; border: 0;
}
.g494-carousel-dot.g494-active { background: var(--g494-primary); }

/* ===== Section ===== */
.g494-section { padding: 1.5rem 1rem; }
.g494-section-title {
  font-size: 1.8rem; color: var(--g494-light); margin-bottom: 0.8rem;
  border-left: 4px solid var(--g494-primary); padding-left: 0.8rem;
}
.g494-section-title small {
  display: block; font-size: 1.2rem; color: var(--g494-accent); font-weight: 400;
}
.g494-lead { color: var(--g494-text-dim); font-size: 1.35rem; line-height: 1.6rem; }

/* ===== Filter ===== */
.g494-filter {
  display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 1rem 1rem;
}
.g494-filter-tab {
  flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 2rem;
  background: var(--g494-bg-soft); color: var(--g494-text-dim);
  font-size: 1.2rem; border: 1px solid var(--g494-border); cursor: pointer;
}
.g494-filter-tab.g494-active {
  background: var(--g494-primary); color: #fff; border-color: var(--g494-primary);
}

/* ===== Game Grid ===== */
.g494-game-group { margin-bottom: 1.8rem; }
.g494-group-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; color: var(--g494-primary); margin: 0 1rem 0.8rem;
  text-transform: capitalize;
}
.g494-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
  padding: 0 1rem;
}
.g494-card {
  background: var(--g494-bg-soft); border-radius: 0.8rem; overflow: hidden;
  border: 1px solid var(--g494-border); cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.g494-card:active { transform: scale(0.94); border-color: var(--g494-primary); }
.g494-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g494-card-name {
  font-size: 0.95rem; text-align: center; padding: 0.3rem 0.2rem;
  color: var(--g494-text); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Features / cards ===== */
.g494-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
  padding: 0 1rem;
}
.g494-feature {
  background: var(--g494-bg-soft); border-radius: 0.8rem; padding: 1rem;
  border-left: 3px solid var(--g494-primary);
}
.g494-feature i { color: var(--g494-primary); font-size: 2rem; }
.g494-feature h3 { font-size: 1.3rem; margin: 0.4rem 0; color: var(--g494-light); }
.g494-feature p { font-size: 1.15rem; color: var(--g494-text-dim); }

/* ===== RTP table ===== */
.g494-rtp {
  width: 100%; border-collapse: collapse; padding: 0 1rem;
}
.g494-rtp th, .g494-rtp td {
  padding: 0.6rem 0.4rem; text-align: left; font-size: 1.15rem;
  border-bottom: 1px solid var(--g494-border);
}
.g494-rtp th { color: var(--g494-accent); }
.g494-rtp td b { color: var(--g494-primary); }

/* ===== Winners ticker ===== */
.g494-winners {
  background: var(--g494-bg-soft); border-radius: 0.6rem;
  padding: 0.6rem 1rem; margin: 0 1rem; overflow: hidden;
}
.g494-winners li {
  list-style: none; padding: 0.4rem 0; font-size: 1.2rem;
  color: var(--g494-text-dim);
}
.g494-winners li b { color: var(--g494-primary); }

/* ===== Testimonials ===== */
.g494-testi {
  background: var(--g494-bg-soft); border-radius: 0.8rem;
  padding: 1rem; margin: 0.5rem 1rem;
  border: 1px solid var(--g494-border);
}
.g494-testi p { font-size: 1.2rem; color: var(--g494-text-dim); font-style: italic; }
.g494-testi b { color: var(--g494-accent); display: block; margin-top: 0.4rem; }

/* ===== Payment row ===== */
.g494-pay {
  display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1rem;
}
.g494-pay span {
  background: var(--g494-bg-soft); padding: 0.5rem 0.9rem; border-radius: 0.5rem;
  font-size: 1.1rem; color: var(--g494-light); border: 1px solid var(--g494-border);
}

/* ===== FAQ ===== */
.g494-faq { padding: 0 1rem; }
.g494-faq item, .g494-faq-item {
  background: var(--g494-bg-soft); border-radius: 0.6rem;
  padding: 0.8rem 1rem; margin-bottom: 0.6rem;
  border-left: 3px solid var(--g494-primary);
}
.g494-faq-item b { color: var(--g494-light); display: block; font-size: 1.25rem; }
.g494-faq-item p { color: var(--g494-text-dim); font-size: 1.15rem; margin-top: 0.3rem; }

/* ===== CTA band ===== */
.g494-cta-band {
  margin: 1.5rem 1rem; padding: 1.4rem 1rem; border-radius: 1rem;
  background: linear-gradient(135deg, var(--g494-primary), var(--g494-secondary));
  text-align: center; color: #fff;
}
.g494-cta-band h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.g494-cta-band p { font-size: 1.2rem; margin-bottom: 1rem; }

/* ===== Footer ===== */
.g494-footer {
  background: #0f1620; padding: 2rem 1rem 1rem; margin-top: 2rem;
  border-top: 2px solid var(--g494-primary);
}
.g494-footer-brand {
  color: var(--g494-text-dim); font-size: 1.15rem; line-height: 1.6rem; margin-bottom: 1rem;
}
.g494-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1rem;
}
.g494-footer-links a {
  font-size: 1.1rem; color: var(--g494-text-dim);
}
.g494-footer-links a:hover { color: var(--g494-primary); }
.g494-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.g494-footer-promo button {
  flex: 0 0 auto; padding: 0.6rem 1.1rem; border-radius: 2rem;
  background: var(--g494-primary); color: #fff; border: 0; font-size: 1.15rem;
  cursor: pointer; font-weight: 700;
}
.g494-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem;
  font-size: 1rem; color: #6c7a89; text-align: center;
}

/* ===== Mobile Bottom Nav ===== */
.g494-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: #0f1620; border-top: 2px solid var(--g494-primary);
  display: flex; justify-content: space-around; align-items: stretch;
}
.g494-bottom-nav a, .g494-bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--g494-text-dim); background: transparent; border: 0;
  text-decoration: none; font-size: 1rem; cursor: pointer; min-width: 60px; min-height: 60px;
  transition: color 0.15s, transform 0.15s;
}
.g494-bottom-nav a:active, .g494-bottom-nav button:active { transform: scale(0.92); }
.g494-bottom-nav .g494-nav-icon { font-size: 2.2rem; line-height: 1; }
.g494-bottom-nav .material-icons.g494-nav-icon,
.g494-bottom-nav .bi.g494-nav-icon { font-size: 2.2rem; }
.g494-bottom-nav .g494-nav-label { font-size: 1rem; }
.g494-bottom-nav a:hover, .g494-bottom-nav button:hover { color: var(--g494-primary); }
.g494-bottom-nav .g494-active-nav { color: var(--g494-primary); }
.g494-nav-badge {
  position: absolute; top: 0.6rem; right: 1.6rem; background: var(--g494-secondary);
  color: #fff; font-size: 0.8rem; border-radius: 1rem; padding: 0 0.4rem; min-width: 1.4rem;
  text-align: center;
}
.g494-nav-item { position: relative; }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .g494-bottom-nav { display: none; }
  .g494-main { padding-bottom: 2rem; }
}

/* Desktop header actions always visible */
@media (min-width: 769px) {
  .g494-wrapper { max-width: 960px; }
  .g494-grid { grid-template-columns: repeat(8, 1fr); }
  .g494-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Utilities */
.g494-hidden { display: none; }
.g494-text-center { text-align: center; }
.g494-mt1 { margin-top: 1rem; }
.g494-mb1 { margin-bottom: 1rem; }
