/* ===========================================================
 * hit club pro - core stylesheet
 * Class prefix    : v4f8-
 * Palette         : #00B8D4 | #48D1CC | #0E1621 | #BBBBBB
 * Mobile-first    : max-width 430px, root font 62.5%
 * All comments in English.
 * =========================================================== */

:root {
  --v4f8-primary: #00B8D4;
  --v4f8-accent: #48D1CC;
  --v4f8-bg: #0E1621;
  --v4f8-bg-alt: #142337;
  --v4f8-bg-card: #1a2c44;
  --v4f8-text: #BBBBBB;
  --v4f8-text-light: #f3f8fb;
  --v4f8-border: rgba(72, 209, 204, 0.22);
  --v4f8-gold: #ffd24a;
  --v4f8-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --v4f8-radius: 12px;
  --v4f8-header-h: 56px;
  --v4f8-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #16314a 0%, var(--v4f8-bg) 55%);
  color: var(--v4f8-text-light);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { color: var(--v4f8-text-light); line-height: 1.3; margin: 0 0 1rem; }
h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1.2rem; }

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

/* ===================== Header ===================== */
.v4f8-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--v4f8-header-h);
  background: linear-gradient(90deg, #0b1726 0%, #16314a 100%);
  border-bottom: 1px solid var(--v4f8-border);
  z-index: 1000;
  display: flex; align-items: center;
}
.v4f8-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.v4f8-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--v4f8-text-light); font-weight: 800; font-size: 1.6rem; }
.v4f8-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v4f8-logo span b { color: var(--v4f8-primary); }

.v4f8-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v4f8-menu-btn {
  background: transparent; border: 1px solid var(--v4f8-border);
  color: var(--v4f8-text-light); width: 38px; height: 38px; border-radius: 8px;
  font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.v4f8-btn {
  border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; padding: 0.7rem 1.2rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 38px; line-height: 1;
}
.v4f8-btn:active { transform: scale(0.96); }
.v4f8-btn-login { background: transparent; color: var(--v4f8-accent); border: 1px solid var(--v4f8-accent); }
.v4f8-btn-register {
  background: linear-gradient(90deg, var(--v4f8-primary), var(--v4f8-accent));
  color: #06212b; box-shadow: 0 3px 10px rgba(0, 184, 212, 0.35);
}
.v4f8-btn-promo {
  background: linear-gradient(90deg, var(--v4f8-gold), #ffae42);
  color: #2a1500; font-weight: 800; padding: 0.9rem 1.4rem; font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(255, 210, 74, 0.35);
  display: inline-block;
}

/* ===================== Mobile Menu ===================== */
.v4f8-mobile-menu {
  position: fixed; top: var(--v4f8-header-h); left: 0; right: 0;
  background: #0b1726; border-bottom: 1px solid var(--v4f8-border);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  z-index: 9999; padding: 0 1.4rem;
}
.v4f8-mobile-menu.v4f8-menu-open { max-height: 520px; padding-bottom: 1rem; }
.v4f8-mobile-menu a {
  display: block; padding: 1rem 0.4rem; border-bottom: 1px solid rgba(72,209,204,0.12);
  color: var(--v4f8-text-light); font-size: 1.4rem;
}
.v4f8-mobile-menu a:active { color: var(--v4f8-primary); }
.v4f8-mobile-menu .v4f8-menu-promo {
  color: var(--v4f8-gold); font-weight: 800;
}

/* ===================== Main ===================== */
.v4f8-main { padding-top: calc(var(--v4f8-header-h) + 1rem); padding-bottom: 1rem; }
section { margin-bottom: 2.2rem; }

/* ===================== Hero / Carousel ===================== */
.v4f8-hero { position: relative; border-radius: var(--v4f8-radius); overflow: hidden; box-shadow: var(--v4f8-shadow); }
.v4f8-slides { position: relative; }
.v4f8-slide {
  display: none; position: relative; cursor: pointer;
}
.v4f8-slide.v4f8-slide-active { display: block; }
.v4f8-slide img { width: 100%; height: 200px; object-fit: cover; }
.v4f8-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; background: linear-gradient(180deg, transparent, rgba(11,23,38,0.92));
}
.v4f8-slide-overlay h2 { font-size: 1.7rem; margin: 0 0 0.3rem; color: #fff; }
.v4f8-slide-overlay p { margin: 0; font-size: 1.2rem; color: var(--v4f8-text); }
.v4f8-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.6rem 0; }
.v4f8-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; }
.v4f8-dot.v4f8-dot-active { background: var(--v4f8-primary); }

/* ===================== Section heading ===================== */
.v4f8-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.9rem; color: var(--v4f8-text-light); margin-bottom: 1rem;
}
.v4f8-section-title .v4f8-bar { width: 4px; height: 20px; background: var(--v4f8-primary); border-radius: 3px; }
.v4f8-section-title .v4f8-more { margin-left: auto; font-size: 1.2rem; color: var(--v4f8-accent); font-weight: 600; }

/* ===================== Game grid ===================== */
.v4f8-game-block { margin-bottom: 2rem; }
.v4f8-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.v4f8-game-card {
  background: var(--v4f8-bg-card); border: 1px solid var(--v4f8-border);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: center; padding: 0.4rem;
}
.v4f8-game-card:active { transform: scale(0.95); }
.v4f8-game-card img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.v4f8-game-card .v4f8-game-name {
  font-size: 1.05rem; color: var(--v4f8-text-light);
  margin: 0.4rem 0 0.2rem; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v4f8-game-card .v4f8-game-type { font-size: 0.95rem; color: var(--v4f8-accent); }
.v4f8-cat-label {
  display: inline-block; font-size: 1.1rem; color: var(--v4f8-primary);
  font-weight: 700; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===================== Promo banner ===================== */
.v4f8-promo-banner {
  background: linear-gradient(135deg, #08313d, #164863);
  border: 1px solid var(--v4f8-border); border-radius: var(--v4f8-radius);
  padding: 1.4rem; text-align: center; box-shadow: var(--v4f8-shadow);
}
.v4f8-promo-banner h3 { color: var(--v4f8-gold); font-size: 1.8rem; margin: 0 0 0.5rem; }
.v4f8-promo-banner p { color: var(--v4f8-text); font-size: 1.3rem; margin: 0 0 1rem; }

/* ===================== Feature / info cards ===================== */
.v4f8-card {
  background: var(--v4f8-bg-card); border: 1px solid var(--v4f8-border);
  border-radius: var(--v4f8-radius); padding: 1.4rem; margin-bottom: 1.2rem;
}
.v4f8-card h3 { color: var(--v4f8-primary); margin-bottom: 0.6rem; }
.v4f8-card p { color: var(--v4f8-text); font-size: 1.35rem; margin: 0; }
.v4f8-card .v4f8-inline-link { color: var(--v4f8-gold); font-weight: 700; }

.v4f8-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.v4f8-feature-item {
  background: var(--v4f8-bg-alt); border-radius: 10px; padding: 1rem;
  border: 1px solid var(--v4f8-border); text-align: center;
}
.v4f8-feature-item i, .v4f8-feature-item .material-icons-outlined {
  color: var(--v4f8-primary); font-size: 2.2rem; margin-bottom: 0.4rem;
}
.v4f8-feature-item h4 { font-size: 1.3rem; color: var(--v4f8-text-light); margin: 0 0 0.3rem; }
.v4f8-feature-item p { font-size: 1.1rem; color: var(--v4f8-text); margin: 0; }

/* ===================== RTP table ===================== */
.v4f8-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v4f8-table th, .v4f8-table td { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--v4f8-border); text-align: left; }
.v4f8-table th { color: var(--v4f8-primary); font-size: 1.15rem; }
.v4f8-table td .v4f8-rtp-bar { height: 6px; background: #2a3f5a; border-radius: 4px; overflow: hidden; }
.v4f8-table td .v4f8-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--v4f8-primary), var(--v4f8-accent)); }

/* ===================== Testimonials ===================== */
.v4f8-testimonial {
  background: var(--v4f8-bg-card); border-radius: 10px; padding: 1rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--v4f8-gold);
}
.v4f8-testimonial .v4f8-stars { color: var(--v4f8-gold); font-size: 1.2rem; margin-bottom: 0.3rem; }
.v4f8-testimonial p { font-size: 1.3rem; color: var(--v4f8-text-light); margin: 0 0 0.4rem; }
.v4f8-testimonial .v4f8-author { font-size: 1.1rem; color: var(--v4f8-accent); }

/* ===================== Winners ===================== */
.v4f8-winner-row {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--v4f8-bg-alt); border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 0.5rem;
}
.v4f8-winner-row .v4f8-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--v4f8-primary);
  color: #06212b; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}
.v4f8-winner-row .v4f8-winner-info { flex: 1; }
.v4f8-winner-row .v4f8-winner-name { font-size: 1.25rem; color: var(--v4f8-text-light); }
.v4f8-winner-row .v4f8-winner-game { font-size: 1.05rem; color: var(--v4f8-text); }
.v4f8-winner-row .v4f8-winner-amount { color: var(--v4f8-gold); font-weight: 800; font-size: 1.35rem; }

/* ===================== Payment ===================== */
.v4f8-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v4f8-pay-chip {
  background: var(--v4f8-bg-alt); border: 1px solid var(--v4f8-border);
  border-radius: 8px; padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--v4f8-text-light);
  display: flex; align-items: center; gap: 0.4rem;
}
.v4f8-pay-chip i { color: var(--v4f8-primary); }

/* ===================== FAQ ===================== */
.v4f8-faq-item {
  background: var(--v4f8-bg-card); border: 1px solid var(--v4f8-border);
  border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 0.7rem;
}
.v4f8-faq-item h4 { font-size: 1.35rem; color: var(--v4f8-accent); margin: 0 0 0.4rem; }
.v4f8-faq-item p { font-size: 1.25rem; color: var(--v4f8-text); margin: 0; }

/* ===================== App download CTA ===================== */
.v4f8-app-cta {
  background: linear-gradient(135deg, #0a3a48, #155a72);
  border-radius: var(--v4f8-radius); padding: 1.4rem; text-align: center;
  border: 1px solid var(--v4f8-border);
}
.v4f8-app-cta h3 { color: var(--v4f8-gold); margin-bottom: 0.4rem; }
.v4f8-app-cta p { color: var(--v4f8-text-light); margin-bottom: 1rem; }
.v4f8-app-buttons { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.v4f8-app-buttons .v4f8-btn { background: #fff; color: #0E1621; }

/* ===================== Achievements / tricks ===================== */
.v4f8-step {
  display: flex; gap: 0.9rem; margin-bottom: 0.9rem;
  background: var(--v4f8-bg-alt); border-radius: 10px; padding: 0.9rem;
}
.v4f8-step-num {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--v4f8-primary); color: #06212b; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.v4f8-step-body h4 { font-size: 1.35rem; color: var(--v4f8-text-light); margin: 0 0 0.3rem; }
.v4f8-step-body p { font-size: 1.2rem; color: var(--v4f8-text); margin: 0; }

/* ===================== Category highlights ===================== */
.v4f8-cat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.v4f8-cat-card {
  background: var(--v4f8-bg-card); border: 1px solid var(--v4f8-border);
  border-radius: 10px; padding: 1rem; text-align: center; cursor: pointer;
}
.v4f8-cat-card:active { transform: scale(0.96); }
.v4f8-cat-card i { color: var(--v4f8-primary); font-size: 2.4rem; }
.v4f8-cat-card h4 { font-size: 1.35rem; color: var(--v4f8-text-light); margin: 0.4rem 0 0.2rem; }
.v4f8-cat-card p { font-size: 1.1rem; color: var(--v4f8-text); margin: 0; }

/* ===================== Footer ===================== */
.v4f8-footer {
  background: #08121d; border-top: 1px solid var(--v4f8-border);
  padding: 2rem 1.4rem; margin-top: 1rem;
}
.v4f8-footer .v4f8-footer-brand { color: var(--v4f8-text); font-size: 1.25rem; margin-bottom: 1rem; }
.v4f8-footer .v4f8-footer-brand b { color: var(--v4f8-primary); }
.v4f8-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.v4f8-footer-promos .v4f8-btn { font-size: 1.2rem; padding: 0.6rem 1rem; }
.v4f8-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0.8rem; margin-bottom: 1.2rem; }
.v4f8-footer-links a { font-size: 1.15rem; color: var(--v4f8-text); }
.v4f8-footer-links a:hover { color: var(--v4f8-primary); }
.v4f8-footer-copy { font-size: 1.1rem; color: var(--v4f8-text); border-top: 1px solid var(--v4f8-border); padding-top: 1rem; }

/* ===================== Bottom nav ===================== */
.v4f8-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--v4f8-bottomnav-h);
  background: linear-gradient(90deg, #0b1726, #122b40);
  border-top: 1px solid var(--v4f8-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding: 0.2rem 0;
}
.v4f8-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v4f8-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  font-size: 1rem; cursor: pointer; transition: color .18s ease, transform .18s ease;
  text-decoration: none;
}
.v4f8-bottomnav-btn:active { transform: scale(0.92); }
.v4f8-bottomnav-btn i,
.v4f8-bottomnav-btn .material-icons-outlined,
.v4f8-bottomnav-btn .ionicon { font-size: 24px; }
.v4f8-bottomnav-btn span { font-size: 1rem; line-height: 1; }
.v4f8-bottomnav-btn.v4f8-bottomnav-active { color: var(--v4f8-primary); }
.v4f8-bottomnav-btn.v4f8-bottomnav-active i { color: var(--v4f8-primary); }
.v4f8-bottomnav-btn.v4f8-nav-promo { color: var(--v4f8-gold); }
.v4f8-bottomnav-btn.v4f8-nav-promo i { color: var(--v4f8-gold); }
.v4f8-bottomnav-badge {
  position: absolute; top: 6px; right: 22%;
  background: #ff4d6d; color: #fff; font-size: 0.9rem;
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.v4f8-bottomnav-btn { position: relative; }

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

/* ===================== Back to top ===================== */
.v4f8-backtop {
  position: fixed; right: 1rem; bottom: calc(var(--v4f8-bottomnav-h) + 0.8rem);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--v4f8-primary); color: #06212b; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  z-index: 999; box-shadow: var(--v4f8-shadow);
}

/* ===================== Desktop: hide bottom nav, widen layout ===================== */
@media (min-width: 769px) {
  .v4f8-bottomnav { display: none; }
  .v4f8-container, .v4f8-wrapper, .v4f8-header-inner, .v4f8-footer { max-width: 720px; }
  .v4f8-grid { grid-template-columns: repeat(6, 1fr); }
  .v4f8-feature-grid, .v4f8-cat-list { grid-template-columns: repeat(4, 1fr); }
  .v4f8-footer-links { grid-template-columns: repeat(3, 1fr); }
  .v4f8-slide img { height: 320px; }
}

/* ===================== Mobile bottom padding ===================== */
@media (max-width: 768px) {
  .v4f8-main { padding-bottom: calc(var(--v4f8-bottomnav-h) + 1.2rem); }
  .v4f8-footer { padding-bottom: calc(var(--v4f8-bottomnav-h) + 1.2rem); }
}
