/* =========================================================
 * hit club 1 - Core Stylesheet
 * Prefix: v6d8-
 * Palette: #E6E6FA | #5D5D5D | #333333 | #ECF0F1 | #CC99FF | #EEEEEE
 * Mobile-first, max-width 430px, rem units (root 62.5%)
 * ========================================================= */

:root {
  --v6d8-primary: #CC99FF;
  --v6d8-bg: #333333;
  --v6d8-bg-dark: #2a2a2a;
  --v6d8-text: #ECF0F1;
  --v6d8-muted: #E6E6FA;
  --v6d8-grey: #5D5D5D;
  --v6d8-light: #EEEEEE;
  --v6d8-accent: #CC99FF;
  --v6d8-card: #3c3c3c;
  --v6d8-shadow: 0 2px 10px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--v6d8-bg);
  color: var(--v6d8-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

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

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

/* ---------- Header ---------- */
.v6d8-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #2a2a2a, #333333 60%, #3c2a4a);
  border-bottom: 2px solid var(--v6d8-primary);
  box-shadow: var(--v6d8-shadow);
}
.v6d8-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; min-height: 5.2rem;
}
.v6d8-logo { display: flex; align-items: center; gap: .6rem; }
.v6d8-logo img { width: 3rem; height: 3rem; border-radius: .6rem; }
.v6d8-logo-text {
  font-size: 1.6rem; font-weight: 800; color: var(--v6d8-primary);
  letter-spacing: .3px;
}
.v6d8-header-actions { display: flex; align-items: center; gap: .5rem; }

.v6d8-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; border: none; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; border-radius: 2rem;
  padding: .7rem 1.3rem; min-height: 4rem; min-width: 4rem;
  transition: transform .15s, background .2s, box-shadow .2s;
  color: #fff;
}
.v6d8-btn:active { transform: scale(.96); }
.v6d8-btn-login {
  background: transparent; border: 2px solid var(--v6d8-primary); color: var(--v6d8-primary);
}
.v6d8-btn-register {
  background: linear-gradient(135deg, var(--v6d8-primary), #a870d8);
  box-shadow: 0 2px 8px rgba(204,153,255,.4);
}
.v6d8-btn-register:hover { box-shadow: 0 4px 14px rgba(204,153,255,.6); }

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

/* ---------- Expandable Navigation ---------- */
.v6d8-mobile-nav {
  position: fixed; top: 5.2rem; left: 0; right: 0; z-index: 9999;
  max-height: 0; overflow: hidden;
  background: #262626; transition: max-height .3s ease;
  border-bottom: 2px solid var(--v6d8-primary);
}
.v6d8-mobile-nav.v6d8-menu-open { max-height: 60rem; }
.v6d8-mobile-nav-inner {
  max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
}
.v6d8-mobile-nav a {
  display: block; padding: 1rem 1rem; border-radius: .8rem;
  background: #333; color: var(--v6d8-text); font-size: 1.3rem;
  border: 1px solid #444; transition: background .2s;
}
.v6d8-mobile-nav a:hover, .v6d8-mobile-nav a:active {
  background: var(--v6d8-primary); color: #1a1a1a;
}

/* ---------- Main ---------- */
.v6d8-main { padding-top: 6rem; padding-bottom: 8rem; }

/* ---------- Carousel ---------- */
.v6d8-carousel {
  position: relative; border-radius: 1.2rem; overflow: hidden;
  margin: 1rem 0 1.5rem; box-shadow: var(--v6d8-shadow);
}
.v6d8-carousel-viewport { overflow: hidden; }
.v6d8-carousel-track { display: flex; transition: transform .5s ease; }
.v6d8-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.v6d8-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.v6d8-carousel-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.55); padding: .8rem 1rem; border-radius: .8rem;
  font-weight: 700; color: #fff; font-size: 1.4rem;
}

/* ---------- Section ---------- */
.v6d8-section { margin: 2rem 0; }
.v6d8-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--v6d8-primary);
  margin-bottom: 1rem; padding-left: .8rem; border-left: 4px solid var(--v6d8-primary);
}
.v6d8-subtitle { font-size: 1.5rem; color: var(--v6d8-muted); margin: 1rem 0 .6rem; font-weight: 700; }
.v6d8-text { margin-bottom: 1rem; color: var(--v6d8-light); }
.v6d8-link {
  color: var(--v6d8-primary); font-weight: 700; text-decoration: underline;
}

/* ---------- Game grid ---------- */
.v6d8-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.v6d8-card {
  background: var(--v6d8-card); border-radius: 1rem; overflow: hidden;
  border: 1px solid #4a4a4a; cursor: pointer; transition: transform .15s, border-color .2s;
  text-align: center;
}
.v6d8-card:active { transform: scale(.97); border-color: var(--v6d8-primary); }
.v6d8-card img { width: 100%; height: 7.5rem; object-fit: cover; }
.v6d8-card-name {
  font-size: 1.1rem; padding: .5rem .3rem; color: var(--v6d8-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Feature / module cards ---------- */
.v6d8-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.v6d8-feat {
  background: var(--v6d8-card); padding: 1.2rem; border-radius: 1rem;
  border: 1px solid #4a4a4a;
}
.v6d8-feat .material-icons, .v6d8-feat .bi, .v6d8-feat ion-icon {
  color: var(--v6d8-primary); font-size: 2.4rem;
}
.v6d8-feat h3 { font-size: 1.4rem; margin: .6rem 0 .4rem; color: var(--v6d8-primary); }
.v6d8-feat p { font-size: 1.2rem; color: var(--v6d8-light); }

/* ---------- Promo CTA ---------- */
.v6d8-cta {
  background: linear-gradient(135deg, #3c2a4a, var(--v6d8-primary));
  border-radius: 1.2rem; padding: 1.6rem; text-align: center; margin: 1.5rem 0;
  color: #fff; box-shadow: var(--v6d8-shadow);
}
.v6d8-cta h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.v6d8-cta p { font-size: 1.3rem; margin-bottom: 1rem; color: #fff; }
.v6d8-cta .v6d8-btn { font-size: 1.5rem; padding: .9rem 2rem; }

/* ---------- Testimonials ---------- */
.v6d8-quote {
  background: var(--v6d8-card); border-left: 3px solid var(--v6d8-primary);
  padding: 1rem 1.2rem; border-radius: .6rem; margin-bottom: .8rem;
}
.v6d8-quote p { font-size: 1.25rem; color: var(--v6d8-light); font-style: italic; }
.v6d8-quote span { display: block; margin-top: .4rem; font-size: 1.1rem; color: var(--v6d8-primary); font-weight: 700; }

/* ---------- Payment / app ---------- */
.v6d8-payrow { display: flex; flex-wrap: wrap; gap: .6rem; }
.v6d8-pay {
  background: var(--v6d8-card); padding: .6rem 1rem; border-radius: 2rem;
  border: 1px solid #4a4a4a; font-size: 1.2rem; color: var(--v6d8-text);
}

/* ---------- Footer ---------- */
.v6d8-footer {
  background: #222; padding: 2rem 0 1.5rem; border-top: 2px solid var(--v6d8-primary);
  margin-top: 2rem;
}
.v6d8-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v6d8-footer-brand { font-size: 1.3rem; color: var(--v6d8-light); margin-bottom: 1rem; }
.v6d8-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem;
}
.v6d8-footer-links a { font-size: 1.2rem; color: var(--v6d8-muted); padding: .3rem 0; }
.v6d8-footer-links a:hover { color: var(--v6d8-primary); }
.v6d8-footer-promo {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem;
}
.v6d8-footer-promo .v6d8-btn { font-size: 1.2rem; padding: .6rem 1rem; min-height: 3.6rem; }
.v6d8-copyright { font-size: 1.1rem; color: var(--v6d8-grey); text-align: center; padding-top: 1rem; border-top: 1px solid #333; }

/* ---------- Bottom Nav ---------- */
.v6d8-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: #1f1f1f; border-top: 2px solid var(--v6d8-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -2px 10px rgba(0,0,0,.4);
}
.v6d8-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v6d8-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; font-size: 1.1rem; cursor: pointer; transition: color .2s, transform .15s;
  text-decoration: none;
}
.v6d8-bottomnav-btn:active { transform: scale(.92); }
.v6d8-bottomnav-btn .material-icons,
.v6d8-bottomnav-btn ion-icon,
.v6d8-bottomnav-btn i { font-size: 2.4rem; }
.v6d8-bottomnav-btn.v6d8-nav-active { color: var(--v6d8-primary); }
.v6d8-bottomnav-btn.v6d8-nav-active i,
.v6d8-bottomnav-btn.v6d8-nav-active .material-icons,
.v6d8-bottomnav-btn.v6d8-nav-active ion-icon { color: var(--v6d8-primary); }
.v6d8-bottomnav-label { font-size: 1rem; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v6d8-bottomnav { display: none; }
  .v6d8-header-inner, .v6d8-mobile-nav-inner, .v6d8-footer-inner, .v6d8-container {
    max-width: 760px;
  }
}
@media (max-width: 768px) {
  .v6d8-main { padding-bottom: 8rem; }
}

/* ---------- Utility ---------- */
.v6d8-center { text-align: center; }
.v6d8-mt1 { margin-top: 1rem; }
.v6d8-mt2 { margin-top: 2rem; }
.v6d8-hidden { display: none; }
