/*!
 * jl26 style-4897.css
 * Mobile-first (max 430px) casino portal stylesheet.
 * All custom classes use the g971- prefix.
 * Palette: #FF8A80 coral | #FFFFBA cream | #141414 deep black | #E91E63 magenta | #B8860B dark gold
 * Comments are in English.
 */

:root {
  --g971-coral: #FF8A80;
  --g971-cream: #FFFFBA;
  --g971-black: #141414;
  --g971-magenta: #E91E63;
  --g971-gold: #B8860B;
  --g971-ink: #0d0d0d;
  --g971-charcoal: #1f1c1f;
  --g971-line: rgba(255, 244, 200, 0.12);
  --g971-text: #fdf6e3;
  --g971-muted: #b8a98a;
  --g971-primary: var(--g971-magenta);
  --g971-bg: var(--g971-black);
  --g971-radius: 14px;
  --g971-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --g971-maxw: 430px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 80% at 50% -10%, #2a141f 0%, var(--g971-black) 55%, #050505 100%);
  color: var(--g971-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g971-cream); text-decoration: none; }

.g971-wrapper {
  width: 100%;
  max-width: var(--g971-maxw);
  margin: 0 auto;
  padding: 0 14px;
}
.g971-container { padding: 22px 14px 8px; }

/* ---------- Header ---------- */
.g971-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(20, 20, 20, 0.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g971-line);
}
.g971-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  max-width: var(--g971-maxw);
  margin: 0 auto;
}
.g971-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
  color: var(--g971-cream);
  flex: 1;
}
.g971-logo img { width: 28px; height: 28px; border-radius: 6px; }
.g971-logo .g971-logo-accent { color: var(--g971-gold); }

.g971-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.g971-btn:active { transform: scale(0.96); }
.g971-btn-login {
  background: transparent;
  color: var(--g971-cream);
  border: 1px solid var(--g971-gold);
}
.g971-btn-register {
  background: linear-gradient(135deg, var(--g971-magenta), var(--g971-coral));
  color: #fff;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.45);
}

.g971-burger {
  width: 38px; height: 38px;
  border: 1px solid var(--g971-line);
  background: transparent;
  border-radius: 10px;
  color: var(--g971-cream);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.g971-burger i { font-size: 18px; }

/* ---------- Mobile menu ---------- */
.g971-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.g971-overlay-show { opacity: 1; visibility: visible; }

.g971-mobile-menu {
  position: fixed;
  top: 0; right: -86%;
  width: 82%; max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #1b1418, #0d0d0d);
  border-left: 1px solid var(--g971-line);
  padding: 70px 18px 40px;
  transform: translateX(0);
  transition: right .3s ease;
  z-index: 9999;
  overflow-y: auto;
}
.g971-menu-open { right: 0; }
.g971-menu-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--g971-line);
  background: transparent; color: var(--g971-cream);
  cursor: pointer;
}
.g971-mobile-menu a {
  display: block;
  padding: 13px 8px;
  border-bottom: 1px dashed var(--g971-line);
  color: var(--g971-cream);
  font-size: 1.45rem;
  font-weight: 600;
}
.g971-mobile-menu a i { color: var(--g971-gold); margin-right: 8px; }

/* ---------- Hero / Carousel ---------- */
.g971-hero { padding: 14px 0 4px; }
.g971-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--g971-shadow);
  border: 1px solid var(--g971-line);
}
.g971-carousel-viewport { overflow: hidden; }
.g971-carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.g971-carousel-slide {
  min-width: 100%;
  position: relative;
}
.g971-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.g971-carousel-caption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: linear-gradient(120deg, rgba(20,20,20,.85), rgba(233,30,99,.6));
  padding: 8px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.g971-carousel-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 6px;
}
.g971-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
}
.g971-dot-active { background: var(--g971-gold); width: 18px; border-radius: 4px; }

/* ---------- Section primitives ---------- */
.g971-section {
  padding: 18px 0 6px;
}
.g971-section-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.g971-section-head .g971-icon-pill {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--g971-gold), #6e4a07);
  display: inline-flex; align-items: center; justify-content: center;
  color: #141414;
  font-size: 16px;
}
.g971-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--g971-cream);
  margin: 0;
  flex: 1;
}
.g971-section-title small {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--g971-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.g971-link-more {
  color: var(--g971-coral);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- Game grid ---------- */
.g971-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g971-card {
  background: linear-gradient(180deg, #1c1718, #0e0c0e);
  border: 1px solid var(--g971-line);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.g971-card:active { transform: scale(0.96); }
.g971-card:hover { border-color: var(--g971-gold); }
.g971-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}
.g971-card-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--g971-cream);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g971-card-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--g971-magenta);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.g971-card-tag.g971-hot { background: linear-gradient(135deg, #ff5252, var(--g971-magenta)); }
.g971-card-tag.g971-new { background: var(--g971-gold); color: #141414; }

/* ---------- Feature / promo blocks ---------- */
.g971-banner {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #2a0e22, #0d0d0d 70%);
  border: 1px solid rgba(184, 134, 11, 0.35);
  display: flex; flex-direction: column; gap: 10px;
}
.g971-banner h3 {
  margin: 0; font-size: 1.7rem; color: var(--g971-gold);
}
.g971-banner p { margin: 0; color: var(--g971-cream); font-size: 1.35rem; }
.g971-banner-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--g971-gold), #7a5a08);
  color: #141414;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.g971-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.g971-stat {
  background: linear-gradient(180deg, #1c1718, #0e0c0e);
  border: 1px solid var(--g971-line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.g971-stat .g971-stat-num {
  font-size: 2.2rem; font-weight: 800; color: var(--g971-coral);
}
.g971-stat .g971-stat-label {
  font-size: 1.15rem; color: var(--g971-muted);
}

.g971-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.g971-pill {
  background: rgba(255, 255, 186, 0.08);
  border: 1px solid var(--g971-line);
  color: var(--g971-cream);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
}

.g971-list { list-style: none; padding: 0; margin: 0; }
.g971-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--g971-line);
  font-size: 1.35rem;
}
.g971-list li i { color: var(--g971-gold); margin-right: 8px; }

/* ---------- Testimonials ---------- */
.g971-testi {
  background: linear-gradient(180deg, #1c1718, #0e0c0e);
  border: 1px solid var(--g971-line);
  border-left: 3px solid var(--g971-coral);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.g971-testi p { margin: 0 0 6px; font-size: 1.3rem; }
.g971-testi .g971-testi-by {
  font-size: 1.15rem; color: var(--g971-gold); font-weight: 700;
}

/* ---------- FAQ ---------- */
.g971-faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--g971-line);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.g971-faq-q {
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--g971-cream);
  font-size: 1.4rem;
}
.g971-faq-q .g971-faq-ico { transition: transform .2s ease; color: var(--g971-coral); }
.g971-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 14px;
  color: var(--g971-muted);
  font-size: 1.3rem;
}
.g971-faq-open .g971-faq-q .g971-faq-ico { transform: rotate(45deg); }
.g971-faq-open .g971-faq-a { max-height: 320px; padding: 0 14px 12px; }

/* ---------- Winners ---------- */
.g971-winners {
  background: linear-gradient(135deg, #20140c, #0d0d0d);
  border: 1px solid var(--g971-line);
  border-radius: 12px;
  padding: 8px 12px;
}
.g971-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed var(--g971-line);
  font-size: 1.25rem;
}
.g971-winner-row:last-child { border-bottom: none; }
.g971-winner-amount { color: var(--g971-coral); font-weight: 800; }

/* ---------- SEO text ---------- */
.g971-prose {
  color: var(--g971-muted);
  font-size: 1.35rem;
  line-height: 1.6;
}
.g971-prose strong { color: var(--g971-cream); }
.g971-prose a { color: var(--g971-coral); font-weight: 700; border-bottom: 1px dotted var(--g971-coral); }

/* ---------- Footer ---------- */
.g971-footer {
  margin-top: 24px;
  border-top: 1px solid var(--g971-line);
  background: #0a0a0a;
  padding: 22px 0 110px;
}
.g971-footer-brand {
  color: var(--g971-cream);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.g971-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.g971-footer-promos button, .g971-footer-promos a {
  background: linear-gradient(135deg, var(--g971-magenta), var(--g971-coral));
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.g971-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin: 12px 0;
}
.g971-footer-links a {
  font-size: 1.2rem;
  color: var(--g971-muted);
}
.g971-footer-copy {
  font-size: 1.15rem;
  color: #5a5141;
  text-align: center;
  margin-top: 12px;
}

/* ---------- Bottom nav ---------- */
.g971-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, #1a1417, #070707);
  border-top: 1px solid var(--g971-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.g971-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  background: transparent;
  border: none;
  color: var(--g971-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px;
  transition: color .15s ease, transform .15s ease;
}
.g971-bottom-nav-btn i { font-size: 20px; color: var(--g971-muted); transition: color .15s ease; }
.g971-bottom-nav-btn:active { transform: translateY(-2px) scale(0.95); }
.g971-bottom-nav-btn.g971-nav-active i { color: var(--g971-coral); }
.g971-nav-active { color: var(--g971-coral); }
.g971-nav-promo i { color: var(--g971-gold) !important; }
.g971-nav-promo { color: var(--g971-gold); }

/* ---------- Back to top ---------- */
.g971-to-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--g971-gold);
  color: #141414;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 999;
  box-shadow: var(--g971-shadow);
}
.g971-to-top-show { opacity: 1; visibility: visible; }

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

/* ---------- App download CTA ---------- */
.g971-app-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.g971-app-cta a, .g971-app-cta button {
  flex: 1;
  min-width: 130px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  border: 1px solid var(--g971-line);
  cursor: pointer;
}
.g971-app-android { background: linear-gradient(135deg, #2e7d32, #1b5e20); color: #fff; }
.g971-app-ios { background: linear-gradient(135deg, #455a64, #263238); color: #fff; }

/* ---------- Payment row ---------- */
.g971-pay-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.g971-pay-row .g971-pay {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--g971-line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--g971-cream);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .g971-bottom-nav { display: none; }
  .g971-footer { padding-bottom: 30px; }
  body { background: radial-gradient(80% 60% at 50% -10%, #321624 0%, var(--g971-black) 60%); }
}
@media (max-width: 768px) {
  .g971-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .g971-grid { grid-template-columns: repeat(2, 1fr); }
}
