/* Hit Club 2026 - Core theme styles
   All classes use w4919- prefix. CSS vars prefixed -w4919-.
   Mobile-first design, max-width 430px primary. */

:root {
  --w4919-primary: #FAFAD2;
  --w4919-bg: #0C0C0C;
  --w4919-text: #FAFAD2;
  --w4919-muted: #b8b8a0;
  --w4919-accent: #E8C547;
  --w4919-accent2: #C8A032;
  --w4919-card: #181818;
  --w4919-card-border: #2a2a2a;
  --w4919-danger: #E53935;
  --w4919-header-h: 5.4rem;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  background: var(--w4919-bg);
  color: var(--w4919-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--w4919-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.w4919-container { width: 100%; padding: 0 1.2rem; }
.w4919-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.w4919-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #161616 0%, #0C0C0C 100%);
  border-bottom: 1px solid var(--w4919-card-border);
  max-width: 430px;
  margin: 0 auto;
}
.w4919-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--w4919-header-h);
  padding: 0 1.2rem;
}
.w4919-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w4919-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.w4919-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--w4919-primary);
  letter-spacing: 0.04em;
}
.w4919-logo-text span { color: var(--w4919-accent); }
.w4919-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w4919-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 1.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
  min-height: 3.4rem;
}
.w4919-btn-login {
  background: transparent;
  color: var(--w4919-primary);
  border: 1px solid var(--w4919-accent);
}
.w4919-btn-register {
  background: linear-gradient(135deg, var(--w4919-accent), var(--w4919-accent2));
  color: #1a1a1a;
}
.w4919-btn:hover { transform: translateY(-1px); }
.w4919-menu-btn {
  background: transparent;
  border: none;
  color: var(--w4919-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
}

/* ===== Mobile expandable menu ===== */
.w4919-mobile-menu {
  position: fixed;
  top: var(--w4919-header-h);
  left: 0; right: 0;
  background: #111;
  border-bottom: 1px solid var(--w4919-card-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}
.w4919-mobile-menu.w4919-menu-open { max-height: 60rem; }
.w4919-mobile-menu ul { list-style: none; margin: 0; padding: 0.6rem 1.2rem; }
.w4919-mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.4rem;
  color: var(--w4919-text);
  font-size: 1.3rem;
  border-bottom: 1px solid #1f1f1f;
}
.w4919-mobile-menu li a i { color: var(--w4919-accent); width: 2rem; text-align: center; }

/* ===== Main content spacing ===== */
.w4919-main { padding-top: var(--w4919-header-h); }
@media (max-width: 768px) {
  .w4919-main { padding-bottom: 80px; }
}

/* ===== Carousel ===== */
.w4919-carousel {
  position: relative;
  margin: 1.2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
}
.w4919-slides { position: relative; height: 17rem; }
.w4919-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.w4919-slide.w4919-slide-active { opacity: 1; }
.w4919-slide img { width: 100%; height: 100%; object-fit: cover; }
.w4919-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}
.w4919-slide-overlay h2 { font-size: 1.6rem; margin: 0 0 0.4rem; color: var(--w4919-primary); }
.w4919-slide-overlay p { font-size: 1.2rem; margin: 0 0 0.6rem; color: #eee; }
.w4919-dots {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem;
}
.w4919-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(250,250,210,0.4); cursor: pointer;
}
.w4919-dot.w4919-dot-active { background: var(--w4919-accent); }

/* ===== Sections ===== */
.w4919-section { padding: 1.4rem 1.2rem; }
.w4919-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--w4919-primary);
  margin: 0 0 0.4rem;
}
.w4919-section h2 .w4919-hl { color: var(--w4919-accent); }
.w4919-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w4919-accent);
  margin: 1rem 0 0.4rem;
}
.w4919-section p {
  font-size: 1.2rem;
  color: #d9d9c0;
  margin: 0 0 0.6rem;
  line-height: 1.5rem;
}
.w4919-section-intro { color: var(--w4919-muted); font-size: 1.2rem; margin-bottom: 1rem; }

/* ===== Game grid ===== */
.w4919-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 0 0.6rem;
}
.w4919-cat-head h3 {
  font-size: 1.4rem; color: var(--w4919-accent); margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.w4919-cat-head span { font-size: 1.1rem; color: var(--w4919-muted); }
.w4919-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.w4919-game-card {
  background: var(--w4919-card);
  border: 1px solid var(--w4919-card-border);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.2s ease;
}
.w4919-game-card:hover { transform: translateY(-2px); border-color: var(--w4919-accent); }
.w4919-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w4919-game-name {
  font-size: 1rem;
  color: var(--w4919-text);
  padding: 0.4rem 0.4rem 0.5rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CTA ===== */
.w4919-cta {
  background: linear-gradient(135deg, #1a1a1a, #111);
  border: 1px solid var(--w4919-accent);
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  text-align: center;
  margin: 1.4rem 1.2rem;
}
.w4919-cta h3 { margin: 0 0 0.4rem; color: var(--w4919-primary); font-size: 1.5rem; }
.w4919-cta p { margin: 0 0 0.8rem; color: #d9d9c0; font-size: 1.2rem; }
.w4919-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w4919-accent), var(--w4919-accent2));
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 0.9rem 1.8rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
}
.w4919-pressed { transform: scale(0.96); }

/* ===== Feature / info cards ===== */
.w4919-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.w4919-card {
  background: var(--w4919-card);
  border: 1px solid var(--w4919-card-border);
  border-radius: 0.8rem;
  padding: 1rem;
}
.w4919-card .w4919-card-icon { font-size: 2rem; color: var(--w4919-accent); margin-bottom: 0.4rem; }
.w4919-card h4 { margin: 0 0 0.3rem; font-size: 1.25rem; color: var(--w4919-primary); }
.w4919-card p { margin: 0; font-size: 1.1rem; color: #cfcfb0; line-height: 1.4rem; }

/* ===== Testimonials ===== */
.w4919-testi {
  background: var(--w4919-card);
  border-left: 3px solid var(--w4919-accent);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.7rem;
}
.w4919-testi p { margin: 0 0 0.4rem; font-size: 1.15rem; color: #d9d9c0; }
.w4919-testi .w4919-testi-by { font-size: 1rem; color: var(--w4919-muted); }

/* ===== Winners ===== */
.w4919-winners {
  background: var(--w4919-card);
  border-radius: 0.8rem;
  padding: 0.6rem 1rem;
}
.w4919-winner {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid #1f1f1f;
  font-size: 1.1rem;
}
.w4919-winner:last-child { border-bottom: none; }
.w4919-winner .w4919-w-amount { color: var(--w4919-accent); font-weight: 700; }

/* ===== Payment ===== */
.w4919-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.w4919-pay span {
  background: #1c1c1c; border: 1px solid #2a2a2a;
  border-radius: 0.5rem; padding: 0.5rem 0.8rem;
  font-size: 1.1rem; color: #d9d9c0;
}

/* ===== Footer ===== */
.w4919-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--w4919-card-border);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.4rem;
}
.w4919-footer-about { font-size: 1.1rem; color: var(--w4919-muted); margin-bottom: 1rem; line-height: 1.5rem; }
.w4919-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.w4919-footer-links a { font-size: 1.1rem; color: #cfcfb0; }
.w4919-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.w4919-footer-promo .w4919-cta-btn { font-size: 1.1rem; padding: 0.6rem 1rem; }
.w4919-footer-copy { font-size: 1rem; color: #777; text-align: center; }

/* ===== Bottom nav ===== */
.w4919-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: #0a0a0a;
  border-top: 1px solid var(--w4919-card-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}
.w4919-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--w4919-muted);
  font-size: 1rem;
  cursor: pointer;
  gap: 0.1rem;
  transition: color 0.2s ease, transform 0.12s ease;
}
.w4919-bnav-btn i { font-size: 2rem; }
.w4919-bnav-btn .material-icons-outlined,
.w4919-bnav-btn .material-icons { font-size: 2.2rem; }
.w4919-bnav-btn:active { transform: scale(0.92); }
.w4919-bnav-active { color: var(--w4919-accent); }
.w4919-bnav-active i { color: var(--w4919-accent); }

@media (min-width: 769px) {
  .w4919-bnav { display: none; }
}
