/*
 * big win login - Core Stylesheet
 * Mobile-first casino portal design (max-width 430px base).
 * All custom classes use the g929- prefix.
 * Palette: #0097A7 primary | #1B263B deep bg | #ADB5BD muted | #AD1457 accent
 */

:root {
  --g929-primary: #0097A7;
  --g929-bg: #1B263B;
  --g929-bg-deep: #131c2c;
  --g929-muted: #ADB5BD;
  --g929-accent: #AD1457;
  --g929-accent-soft: #c2185b;
  --g929-text: #f3f6f8;
  --g929-text-dim: #c7d0d8;
  --g929-card: #22304a;
  --g929-card-hover: #2a3b5a;
  --g929-border: rgba(173, 181, 189, 0.18);
  --g929-gold: #ffcf5c;
  --g929-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --g929-radius: 14px;
  --g929-radius-sm: 10px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

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

img { max-width: 100%; display: block; }
a { color: var(--g929-primary); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.8rem; line-height: 1.25; color: var(--g929-text); }

.g929-wrapper { max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; }
.g929-container { padding: 0 1.4rem; width: 100%; }

/* ===== Header ===== */
.g929-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1B263B 0%, #131c2c 100%);
  border-bottom: 1px solid var(--g929-border);
  box-shadow: var(--g929-shadow);
}
.g929-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.2rem; min-height: 56px;
}
.g929-brand { display: flex; align-items: center; gap: 0.7rem; }
.g929-brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.g929-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--g929-primary), var(--g929-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g929-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g929-menu-btn {
  background: transparent; border: none; color: var(--g929-text);
  font-size: 2.0rem; cursor: pointer; padding: 4px 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
}
.g929-btn {
  border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; padding: 0.7rem 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  min-height: 36px; display: inline-flex; align-items: center; gap: 0.4rem;
}
.g929-btn-login {
  background: transparent; color: var(--g929-text);
  border: 1px solid var(--g929-primary); padding: 0.6rem 1.0rem;
}
.g929-btn-register {
  background: linear-gradient(135deg, var(--g929-accent), var(--g929-accent-soft));
  color: #fff; box-shadow: 0 4px 14px rgba(173, 20, 87, 0.4);
}
.g929-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.g929-btn:active { transform: scale(0.97); }

/* ===== Mobile Menu ===== */
.g929-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: var(--g929-bg-deep); border-bottom: 1px solid var(--g929-border);
  max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
  box-shadow: var(--g929-shadow);
}
.g929-mobile-menu.g929-active { max-height: 460px; }
.g929-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 0.6rem 1.2rem 1.2rem; }
.g929-mobile-menu a {
  display: block; padding: 1.0rem 0.6rem; color: var(--g929-text-dim);
  border-bottom: 1px solid var(--g929-border); font-size: 1.5rem; font-weight: 600;
}
.g929-mobile-menu a:hover, .g929-mobile-menu a:focus { color: var(--g929-primary); }
.g929-mobile-menu a i { margin-right: 0.8rem; color: var(--g929-gold); width: 22px; text-align: center; }

/* ===== Hero Carousel ===== */
.g929-hero { margin-top: 56px; }
.g929-carousel {
  position: relative; width: 100%; border-radius: 0 0 18px 18px; overflow: hidden;
  background: var(--g929-bg-deep);
}
.g929-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.g929-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.g929-carousel-slide.g929-active { opacity: 1; position: relative; }
.g929-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g929-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1.4rem; right: 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff; padding-top: 2rem;
}
.g929-carousel-caption h2 { font-size: 1.9rem; margin: 0 0 0.3rem; color: #fff; }
.g929-carousel-caption p { font-size: 1.3rem; margin: 0; color: var(--g929-text-dim); }
.g929-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.g929-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; padding: 0;
}
.g929-carousel-dot.g929-active { background: var(--g929-gold); width: 22px; border-radius: 4px; }

/* ===== Sections ===== */
.g929-section { padding: 2.2rem 0; }
.g929-section-title {
  font-size: 2.0rem; font-weight: 800; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.g929-section-title i { color: var(--g929-gold); font-size: 2.0rem; }
.g929-section-sub { color: var(--g929-text-dim); margin-bottom: 1.4rem; font-size: 1.35rem; }

/* ===== H1 Title Block ===== */
.g929-h1-block { padding: 1.6rem 0 0.4rem; text-align: center; }
.g929-h1-block h1 {
  font-size: 2.4rem; font-weight: 900; line-height: 1.2;
  background: linear-gradient(90deg, var(--g929-gold), var(--g929-primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g929-h1-block .g929-tagline { color: var(--g929-text-dim); font-size: 1.35rem; margin-top: 0.6rem; }

/* ===== Game Grid ===== */
.g929-cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.8rem 0 1.0rem;
}
.g929-cat-header h3 {
  font-size: 1.7rem; font-weight: 800; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.g929-cat-header .g929-cat-icon { color: var(--g929-gold); }
.g929-cat-more {
  font-size: 1.25rem; color: var(--g929-primary); font-weight: 700; cursor: pointer;
}
.g929-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.g929-game-card {
  background: var(--g929-card); border: 1px solid var(--g929-border);
  border-radius: var(--g929-radius-sm); padding: 0.6rem; text-align: center;
  cursor: pointer; transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.g929-game-card:hover { transform: translateY(-2px); border-color: var(--g929-primary); }
.g929-game-card:active { transform: scale(0.96); }
.g929-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; background: #0f1622;
}
.g929-game-card .g929-game-name {
  font-size: 1.15rem; color: var(--g929-text); font-weight: 600;
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  width: 100%;
}

/* ===== Promo / CTA Bar ===== */
.g929-cta-bar {
  background: linear-gradient(135deg, var(--g929-accent), var(--g929-accent-soft));
  border-radius: var(--g929-radius); padding: 1.4rem; margin: 1.6rem 0;
  text-align: center; color: #fff; box-shadow: var(--g929-shadow);
}
.g929-cta-bar h3 { color: #fff; font-size: 1.8rem; margin: 0 0 0.4rem; }
.g929-cta-bar p { margin: 0 0 1.0rem; font-size: 1.3rem; color: rgba(255,255,255,0.9); }
.g929-cta-btn {
  background: var(--g929-gold); color: #1B263B; border: none; cursor: pointer;
  font-weight: 800; font-size: 1.4rem; padding: 1.0rem 2.2rem; border-radius: 999px;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.g929-cta-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.g929-cta-btn:active { transform: scale(0.97); }
.g929-text-link {
  color: var(--g929-primary); font-weight: 700; cursor: pointer; border-bottom: 1px dashed var(--g929-primary);
}

/* ===== Info Cards ===== */
.g929-card {
  background: var(--g929-card); border: 1px solid var(--g929-border);
  border-radius: var(--g929-radius); padding: 1.4rem; margin-bottom: 1.2rem;
}
.g929-card h3 { font-size: 1.7rem; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.g929-card h3 i { color: var(--g929-primary); }
.g929-card p { color: var(--g929-text-dim); font-size: 1.35rem; line-height: 1.6; margin: 0 0 0.6rem; }
.g929-card ul { margin: 0; padding-left: 1.6rem; color: var(--g929-text-dim); font-size: 1.3rem; }
.g929-card li { margin-bottom: 0.5rem; line-height: 1.5; }
.g929-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g929-feature-item {
  background: var(--g929-bg-deep); border-radius: var(--g929-radius-sm);
  padding: 1.0rem; text-align: center;
}
.g929-feature-item i { font-size: 2.4rem; color: var(--g929-gold); margin-bottom: 0.4rem; }
.g929-feature-item .g929-feature-title { font-size: 1.3rem; font-weight: 700; }
.g929-feature-item .g929-feature-desc { font-size: 1.1rem; color: var(--g929-text-dim); margin-top: 0.2rem; }

/* ===== RTP / Stats compact ===== */
.g929-rtp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0; border-bottom: 1px solid var(--g929-border); font-size: 1.3rem;
}
.g929-rtp-row:last-child { border-bottom: none; }
.g929-rtp-row .g929-rtp-name { font-weight: 600; }
.g929-rtp-row .g929-rtp-bar {
  flex: 1; height: 8px; margin: 0 0.8rem; border-radius: 4px;
  background: rgba(173,181,189,0.18); overflow: hidden;
}
.g929-rtp-row .g929-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--g929-primary), var(--g929-gold)); }
.g929-rtp-row .g929-rtp-val { color: var(--g929-gold); font-weight: 800; }

/* ===== Testimonials ===== */
.g929-testimonial {
  background: var(--g929-card); border-left: 3px solid var(--g929-primary);
  border-radius: var(--g929-radius-sm); padding: 1.0rem 1.2rem; margin-bottom: 0.8rem;
}
.g929-testimonial .g929-quote { font-size: 1.3rem; color: var(--g929-text-dim); font-style: italic; }
.g929-testimonial .g929-author { font-size: 1.2rem; color: var(--g929-gold); margin-top: 0.4rem; font-weight: 700; }

/* ===== Winners ===== */
.g929-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem; background: var(--g929-card);
  border-radius: var(--g929-radius-sm); margin-bottom: 0.6rem;
}
.g929-winner .g929-winner-info { display: flex; align-items: center; gap: 0.7rem; }
.g929-winner .g929-winner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--g929-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.g929-winner .g929-winner-name { font-size: 1.25rem; font-weight: 700; }
.g929-winner .g929-winner-game { font-size: 1.1rem; color: var(--g929-text-dim); }
.g929-winner .g929-winner-amount { color: var(--g929-gold); font-weight: 800; font-size: 1.3rem; }

/* ===== Payment ===== */
.g929-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.g929-pay-item {
  background: var(--g929-bg-deep); border-radius: 8px; padding: 0.7rem 0.4rem;
  text-align: center; font-size: 1.0rem; color: var(--g929-text-dim);
}
.g929-pay-item i { font-size: 2.0rem; color: var(--g929-primary); display: block; margin-bottom: 0.2rem; }

/* ===== App Download ===== */
.g929-app-cta {
  background: linear-gradient(135deg, #0097A7, #006978);
  border-radius: var(--g929-radius); padding: 1.4rem; text-align: center; margin: 1.4rem 0;
}
.g929-app-cta h3 { color: #fff; font-size: 1.8rem; margin: 0 0 0.4rem; }
.g929-app-cta p { color: rgba(255,255,255,0.9); font-size: 1.3rem; margin: 0 0 1.0rem; }
.g929-app-cta .g929-app-btns { display: flex; gap: 0.6rem; justify-content: center; }
.g929-app-btn {
  background: #1B263B; color: #fff; border: none; cursor: pointer;
  padding: 0.8rem 1.2rem; border-radius: 8px; font-weight: 700; font-size: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ===== Reveal animation ===== */
.g929-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.g929-reveal.g929-visible { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */
.g929-footer {
  background: var(--g929-bg-deep); border-top: 1px solid var(--g929-border);
  padding: 2.0rem 0 6.0rem; margin-top: 1.6rem;
}
.g929-footer-brand { color: var(--g929-text-dim); font-size: 1.3rem; line-height: 1.6; margin-bottom: 1.2rem; }
.g929-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.0rem; margin-bottom: 1.2rem; }
.g929-footer-links a { color: var(--g929-text-dim); font-size: 1.25rem; }
.g929-footer-links a:hover { color: var(--g929-primary); }
.g929-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem;
}
.g929-footer-promo .g929-btn { font-size: 1.2rem; padding: 0.6rem 1.0rem; }
.g929-footer-copy { font-size: 1.15rem; color: var(--g929-muted); text-align: center; border-top: 1px solid var(--g929-border); padding-top: 1.0rem; }

/* ===== Bottom Navigation ===== */
.g929-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #22304a, #131c2c);
  border-top: 1px solid var(--g929-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.g929-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--g929-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; padding: 4px 2px; transition: color 0.18s ease, transform 0.18s ease;
}
.g929-bottom-nav-btn i { font-size: 22px; }
.g929-bottom-nav-btn .ion { font-size: 24px; }
.g929-bottom-nav-btn .g929-nav-label { font-size: 1.0rem; font-weight: 600; }
.g929-bottom-nav-btn:hover { color: var(--g929-primary); }
.g929-bottom-nav-btn:active { transform: scale(0.92); }
.g929-bottom-nav-btn.g929-current { color: var(--g929-gold); }
.g929-bottom-nav-btn.g929-current i { filter: drop-shadow(0 0 6px rgba(255,207,92,0.6)); }
.g929-nav-badge {
  position: absolute; top: 6px; right: 50%; margin-right: -22px;
  background: var(--g929-accent); color: #fff; font-size: 0.9rem;
  border-radius: 999px; padding: 0 5px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .g929-bottom-nav { display: none; }
  .g929-wrapper { max-width: 960px; box-shadow: var(--g929-shadow); }
  .g929-header-inner { max-width: 960px; }
  .g929-mobile-menu-inner { max-width: 960px; }
  .g929-game-grid { grid-template-columns: repeat(5, 1fr); }
  .g929-pay-grid { grid-template-columns: repeat(7, 1fr); }
}

@media (max-width: 768px) {
  main.g929-main { padding-bottom: 80px; }
}
