/* ============================================================
 * TP8 - design-2829.css
 * All custom classes use the "g293-" prefix.
 * Palette: #F0F0F0 / #F5DEB3 / #A0522D / #0E1621 / #F4A460 / #FFB74D
 * Mobile-first. Root font 62.5%.
 * ============================================================ */

:root {
  --g293-bg: #0E1621;
  --g293-bg-soft: #14202f;
  --g293-bg-card: #1a2738;
  --g293-text: #F0F0F0;
  --g293-text-soft: #c7d2e0;
  --g293-primary: #FFB74D;
  --g293-secondary: #F4A460;
  --g293-accent: #A0522D;
  --g293-cream: #F5DEB3;
  --g293-gold: #FFD27A;
  --g293-border: rgba(244, 164, 96, 0.25);
  --g293-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1b2a3d 0%, var(--g293-bg) 55%);
  color: var(--g293-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(--g293-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------------------------------------------------------- */
/* Header                                                     */
/* ---------------------------------------------------------- */
.g293-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(14,22,33,0.96), rgba(20,32,47,0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g293-border);
}
.g293-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.g293-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--g293-text); text-decoration: none; }
.g293-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g293-logo b { font-size: 1.7rem; color: var(--g293-primary); letter-spacing: 0.5px; }

.g293-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g293-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  color: #1a1207;
  background: linear-gradient(135deg, var(--g293-primary), var(--g293-secondary));
  box-shadow: 0 4px 12px rgba(255,183,77,0.25);
}
.g293-btn:hover { transform: translateY(-1px); text-decoration: none; }
.g293-btn-ghost {
  background: transparent;
  color: var(--g293-text);
  border: 1px solid var(--g293-border);
  box-shadow: none;
}
.g293-btn-block { width: 100%; min-height: 44px; font-size: 1.5rem; }

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

/* Mobile drawer menu */
.g293-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--g293-bg-soft);
  z-index: 9999;
  padding: 7rem 1.6rem 2rem;
  transition: right .28s ease;
  border-left: 1px solid var(--g293-border);
  overflow-y: auto;
}
.g293-mobile-menu.g293-menu-open { right: 0; }
.g293-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(244,164,96,0.15);
  color: var(--g293-text);
  font-size: 1.5rem;
}
.g293-mobile-menu a:hover { color: var(--g293-primary); }
.g293-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.g293-mobile-menu.g293-menu-open ~ .g293-menu-overlay { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------- */
/* Hero / Carousel                                            */
/* ---------------------------------------------------------- */
.g293-hero {
  margin-top: 6.2rem;
  position: relative;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}
.g293-slides { position: relative; }
.g293-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.g293-slide.g293-slide-active { display: block; }
.g293-slide img { width: 100%; height: 220px; object-fit: cover; }
.g293-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(14,22,33,0.92));
}
.g293-slide-overlay h2 { margin: 0 0 0.4rem; font-size: 2rem; color: var(--g293-gold); }
.g293-slide-overlay p { margin: 0 0 0.8rem; font-size: 1.3rem; color: var(--g293-text-soft); }
.g293-dots { display: flex; gap: 0.6rem; padding: 0.8rem 1.4rem 1.2rem; }
.g293-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(240,240,240,0.3); cursor: pointer;
}
.g293-dot.g293-dot-active { background: var(--g293-primary); transform: scale(1.2); }

/* ---------------------------------------------------------- */
/* Sections                                                   */
/* ---------------------------------------------------------- */
.g293-section { padding: 2.4rem 0 1rem; }
.g293-section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.4rem;
  font-size: 1.9rem;
  color: var(--g293-cream);
}
.g293-section-title i { color: var(--g293-primary); font-size: 1.7rem; }
.g293-section-title small { font-size: 1.2rem; color: var(--g293-text-soft); font-weight: 400; }
.g293-divider { height: 1px; background: var(--g293-border); margin: 2rem 0; }

.g293-h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  color: var(--g293-gold);
  margin: 0 0 1rem;
}
.g293-lead { font-size: 1.4rem; color: var(--g293-text-soft); }

/* Game grid (compact) */
.g293-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.g293-card {
  background: var(--g293-bg-card);
  border-radius: 12px;
  padding: 0.6rem 0.5rem 0.7rem;
  text-align: center;
  border: 1px solid var(--g293-border);
  transition: transform .15s ease, border-color .15s ease;
  cursor: pointer;
}
.g293-card:hover { transform: translateY(-2px); border-color: var(--g293-primary); text-decoration: none; }
.g293-card img {
  width: 64px; height: 64px;
  border-radius: 12px;
  margin: 0 auto 0.4rem;
  object-fit: cover;
  background: #0b1119;
}
.g293-card-name {
  font-size: 1.15rem;
  color: var(--g293-text);
  line-height: 1.25;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RTP / stats */
.g293-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.8rem; }
.g293-stat {
  background: var(--g293-bg-card);
  border: 1px solid var(--g293-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.g293-stat b { display: block; font-size: 1.9rem; color: var(--g293-primary); }
.g293-stat span { font-size: 1.15rem; color: var(--g293-text-soft); }

/* Features / steps */
.g293-list { list-style: none; padding: 0; margin: 0; }
.g293-list li {
  padding: 1rem 1rem 1rem 3.4rem;
  background: var(--g293-bg-card);
  border-radius: 12px;
  border: 1px solid var(--g293-border);
  margin-bottom: 0.8rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--g293-text-soft);
}
.g293-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0.8rem; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--g293-primary), var(--g293-accent));
  color: #1a1207;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g293-list { counter-reset: step; }

/* FAQ */
.g293-faq-item {
  background: var(--g293-bg-card);
  border: 1px solid var(--g293-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.g293-faq-item h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: var(--g293-cream); }
.g293-faq-item p { margin: 0; font-size: 1.25rem; color: var(--g293-text-soft); }

/* Testimonials */
.g293-testi {
  background: var(--g293-bg-card);
  border-left: 3px solid var(--g293-primary);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.g293-testi b { color: var(--g293-gold); font-size: 1.3rem; }
.g293-testi .g293-stars { color: var(--g293-primary); font-size: 1.2rem; }
.g293-testi p { margin: 0.4rem 0 0; font-size: 1.25rem; color: var(--g293-text-soft); }

/* Winners ticker */
.g293-winner-group { display: none; }
.g293-winner-group.g293-winner-active { display: block; }
.g293-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g293-bg-card);
  border: 1px solid var(--g293-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.g293-winner b { color: var(--g293-gold); }
.g293-winner span { color: var(--g293-primary); }

/* Payment chips */
.g293-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g293-chip {
  background: var(--g293-bg-card);
  border: 1px solid var(--g293-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--g293-text-soft);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* Category highlight */
.g293-cat {
  background: linear-gradient(135deg, rgba(255,183,77,0.10), rgba(160,82,45,0.10));
  border: 1px solid var(--g293-border);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 0.9rem;
}
.g293-cat h3 { margin: 0 0 0.4rem; color: var(--g293-gold); font-size: 1.6rem; }
.g293-cat p { margin: 0; font-size: 1.25rem; color: var(--g293-text-soft); }

/* Promo CTA box */
.g293-cta {
  background: linear-gradient(135deg, var(--g293-accent), var(--g293-secondary));
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  color: #1a1207;
  margin: 1.5rem 0;
}
.g293-cta h3 { margin: 0 0 0.4rem; color: #1a1207; font-size: 1.8rem; }
.g293-cta p { margin: 0 0 1rem; color: #2a1a08; font-size: 1.3rem; }
.g293-cta .g293-btn { background: #0E1621; color: var(--g293-gold); }

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

/* Back-to-top */
.g293-totop {
  position: fixed;
  right: 14px; bottom: 86px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--g293-bg-card);
  border: 1px solid var(--g293-border);
  color: var(--g293-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 998;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Footer */
.g293-footer {
  background: #0a1119;
  border-top: 1px solid var(--g293-border);
  padding: 2rem 1.4rem 7rem;
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--g293-text-soft);
}
.g293-footer h3 { color: var(--g293-cream); font-size: 1.4rem; margin: 1.2rem 0 0.6rem; }
.g293-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
.g293-footer-links a { color: var(--g293-text-soft); font-size: 1.2rem; }
.g293-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.g293-copy { text-align: center; padding-top: 1.2rem; border-top: 1px solid var(--g293-border); font-size: 1.15rem; color: #6f7d8c; }

/* ---------------------------------------------------------- */
/* Bottom mobile nav                                          */
/* ---------------------------------------------------------- */
.g293-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #14202f, #0a1119);
  border-top: 1px solid var(--g293-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
  padding-bottom: env(safe-area-inset-bottom);
}
.g293-bottom-nav a {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--g293-text-soft);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.g293-bottom-nav a:active { transform: scale(0.92); }
.g293-bottom-nav a:hover { color: var(--g293-primary); text-decoration: none; }
.g293-bottom-nav a i,
.g293-bottom-nav a span.material-icons,
.g293-bottom-nav a ion-icon,
.g293-bottom-nav a .bi { font-size: 22px; line-height: 1; }
.g293-bottom-nav .g293-nav-active { color: var(--g293-primary); }
.g293-nav-badge {
  position: absolute;
  top: 6px; right: 22%;
  background: #ff5a5a; color: #fff;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0 4px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.g293-bottom-nav a { position: relative; }

/* ---------------------------------------------------------- */
/* Desktop: hide bottom nav, widen container                  */
/* ---------------------------------------------------------- */
@media (min-width: 769px) {
  .g293-bottom-nav { display: none; }
  .g293-header-inner, .g293-wrapper, .g293-footer { max-width: 760px; }
  .g293-grid { grid-template-columns: repeat(6, 1fr); }
  .g293-totop { bottom: 24px; }
}

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