/**
 * d9d9 game - style-9165.css
 * Mobile-first styles. All custom classes use the s916- prefix.
 * Palette: #4682B4 steel blue | #0000CD medium blue | #000080 navy
 *          #495057 graphite | #2E4057 deep slate
 */

:root {
  --s916-primary: #4682B4;
  --s916-accent: #0000CD;
  --s916-navy: #000080;
  --s916-graphite: #495057;
  --s916-slate: #2E4057;
  --s916-bg: #0b1220;
  --s916-bg-soft: #111a2e;
  --s916-card: #16223d;
  --s916-text: #f3f6fb;
  --s916-muted: #aab6cc;
  --s916-gold: #ffd24c;
  --s916-border: rgba(120, 160, 220, 0.18);
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1a2b50 0, var(--s916-bg) 60%);
  background-color: var(--s916-bg);
  color: var(--s916-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

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

.s916-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.s916-wrapper { padding-bottom: 2rem; }

/* ===== Header ===== */
.s916-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--s916-navy) 0%, var(--s916-slate) 100%);
  border-bottom: 1px solid var(--s916-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.s916-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s916-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.s916-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s916-logo-text {
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s916-logo-text span { color: var(--s916-gold); }

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

.s916-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.s916-btn:active { transform: scale(0.94); }

.s916-btn-login {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.s916-btn-register {
  background: linear-gradient(135deg, var(--s916-gold), #ff9b2e);
  color: #2a1500;
}

.s916-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
}

/* ===== Mobile expandable menu ===== */
.s916-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: var(--s916-bg-soft);
  border-top: 1px solid var(--s916-border);
}

.s916-mobile-menu.s916-open { max-height: 480px; }

.s916-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.2rem 0.8rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.s916-mobile-menu li { border-bottom: 1px solid var(--s916-border); }
.s916-mobile-menu li:last-child { border-bottom: none; }

.s916-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 0.4rem;
  color: var(--s916-text);
  font-size: 1.4rem;
}

.s916-mobile-menu a i { color: var(--s916-primary); width: 22px; text-align: center; }

/* ===== Main ===== */
main { padding-top: 64px; }

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

.s916-section { padding: 2rem 0 0.6rem; }

.s916-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s916-section-title i { color: var(--s916-gold); }

.s916-lead { color: var(--s916-muted); font-size: 1.4rem; }

/* ===== Hero carousel ===== */
.s916-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 1.4rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.s916-hero-track {
  display: flex;
  transition: transform 0.45s ease;
}

.s916-hero-slide {
  min-width: 100%;
  position: relative;
}

.s916-hero-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.s916-hero-caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 1.5rem 0.8rem 0.6rem;
  border-radius: 0 0 12px 12px;
}

.s916-hero-caption h2 { font-size: 1.7rem; margin: 0 0 0.2rem; }

.s916-hero-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.s916-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
}

.s916-hero-dot.s916-active { background: var(--s916-gold); width: 18px; border-radius: 4px; }

/* ===== Category chips ===== */
.s916-chips {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.s916-chip {
  flex: 0 0 auto;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--s916-card);
  color: var(--s916-text);
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid var(--s916-border);
  cursor: pointer;
}

.s916-chip.s916-active {
  background: linear-gradient(135deg, var(--s916-primary), var(--s916-accent));
  border-color: transparent;
}

/* ===== Game grid ===== */
.s916-game-section h3 {
  font-size: 1.5rem; color: #fff; margin: 1.4rem 0 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.s916-game-section h3 i { color: var(--s916-gold); }

.s916-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.s916-game-card {
  background: var(--s916-card);
  border: 1px solid var(--s916-border);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.s916-game-card:active {
  transform: translateY(2px);
  box-shadow: 0 4px 14px rgba(70,130,180,0.4);
}

.s916-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.s916-game-card span {
  display: block;
  font-size: 1.15rem;
  color: var(--s916-text);
  line-height: 1.25rem;
  height: 2.5rem;
  overflow: hidden;
}

/* ===== Cards / features ===== */
.s916-card {
  background: var(--s916-card);
  border: 1px solid var(--s916-border);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.s916-card h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.5rem;
}

.s916-card p { margin: 0 0 0.6rem; color: var(--s916-muted); font-size: 1.35rem; }

.s916-feature-list {
  list-style: none;
  padding: 0; margin: 0.6rem 0 0;
}

.s916-feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--s916-border);
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 1.35rem; color: var(--s916-text);
}

.s916-feature-list li i { color: var(--s916-gold); margin-top: 0.2rem; }

.s916-cta {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--s916-accent), var(--s916-navy));
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0.6rem 0;
  box-shadow: 0 6px 18px rgba(0,0,205,0.35);
}

.s916-text-link { color: var(--s916-gold); font-weight: 700; border-bottom: 1px dashed rgba(255,210,76,0.4); }

/* ===== RTP / data table ===== */
.s916-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--s916-border);
  font-size: 1.35rem;
}

.s916-rtp-row span:last-child { color: var(--s916-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.s916-testimonial {
  background: var(--s916-card);
  border-left: 3px solid var(--s916-primary);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.s916-testimonial p { margin: 0 0 0.4rem; font-size: 1.35rem; color: var(--s916-text); }
.s916-testimonial small { color: var(--s916-muted); }

/* ===== Winners ===== */
.s916-winner {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--s916-border);
  font-size: 1.3rem;
}
.s916-winner span:last-child { color: #5ff0a8; font-weight: 700; }

/* ===== Payment methods ===== */
.s916-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s916-pay-row span {
  background: var(--s916-card);
  border: 1px solid var(--s916-border);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  color: var(--s916-text);
}

/* ===== Footer ===== */
.s916-footer {
  background: linear-gradient(180deg, var(--s916-slate), var(--s916-navy));
  border-top: 1px solid var(--s916-border);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.s916-footer p { color: var(--s916-muted); font-size: 1.3rem; margin: 0 0 1rem; }

.s916-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.s916-footer-links a {
  color: var(--s916-text);
  font-size: 1.25rem;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
}

.s916-footer-copy {
  color: var(--s916-muted);
  font-size: 1.15rem;
  border-top: 1px solid var(--s916-border);
  padding-top: 1rem;
  text-align: center;
}

/* ===== Mobile bottom nav ===== */
.s916-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, var(--s916-slate), var(--s916-navy));
  border-top: 1px solid var(--s916-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}

.s916-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--s916-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.s916-bottom-nav-btn i,
.s916-bottom-nav-btn .material-icons {
  font-size: 22px;
}

.s916-bottom-nav-btn:active { transform: scale(0.9); }

.s916-bottom-nav-btn.s916-current,
.s916-bottom-nav-btn:hover { color: var(--s916-gold); }

.s916-bottom-nav-btn.is-promo { color: var(--s916-gold); }

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .s916-bottom-nav { display: none; }
  .s916-container { max-width: 760px; }
  .s916-grid { grid-template-columns: repeat(5, 1fr); }
  .s916-hero-slide img { height: 320px; }
}

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

/* ===== Help page helpers ===== */
.s916-card img { border-radius: 10px; margin: 0.4rem 0 0.8rem; }

.s916-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--s916-border);
}

.s916-step:last-child { border-bottom: none; }

.s916-step-num {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--s916-primary), var(--s916-accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}

.s916-step-body h3 { margin: 0 0 0.3rem; color: #fff; font-size: 1.45rem; }
.s916-step-body p { margin: 0; color: var(--s916-muted); font-size: 1.35rem; }

.s916-note {
  background: rgba(70, 130, 180, 0.12);
  border: 1px solid var(--s916-border);
  border-left: 3px solid var(--s916-gold);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.8rem 0;
  font-size: 1.35rem;
}

.s916-tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 0.2rem; }

.s916-tag {
  background: var(--s916-card);
  border: 1px solid var(--s916-border);
  color: var(--s916-muted);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.2rem;
}

.s916-check-list { list-style: none; padding: 0; margin: 0.6rem 0; }
.s916-check-list li { display: flex; gap: 0.6rem; padding: 0.45rem 0; font-size: 1.35rem; }
.s916-check-list li i { color: #5ff0a8; margin-top: 0.2rem; }
