/* ===========================================================
   QS68 Click - Core Stylesheet (layout-aee6.css)
   All custom classes use the v67d- prefix.
   Palette: #0C0C0C (bg) | #880E4F (brand) | #CED4DA (text)
   Mobile-first, max 430px viewport reference.
   =========================================================== */

:root {
  --v67d-bg: #0C0C0C;
  --v67d-bg-soft: #141414;
  --v67d-bg-card: #1b1b1d;
  --v67d-primary: #880E4F;
  --v67d-primary-soft: #b81e6a;
  --v67d-text: #CED4DA;
  --v67d-text-muted: #9aa1a8;
  --v67d-accent: #f5c518;
  --v67d-border: rgba(206, 212, 218, 0.12);
  --v67d-radius: 14px;
  --v67d-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --v67d-header-h: 56px;
  --v67d-bottomnav-h: 62px;
}

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

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

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--v67d-bg);
  color: var(--v67d-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v67d-text); text-decoration: none; }
ul { list-style: none; }

.v67d-container { width: 100%; padding: 0 14px; }
.v67d-wrapper { max-width: 430px; margin: 0 auto; padding: 0 14px; }

/* ---------- Header ---------- */
.v67d-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--v67d-header-h);
  background: linear-gradient(180deg, #0a0a0a 0%, #15050d 100%);
  border-bottom: 1px solid var(--v67d-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  max-width: 430px;
  margin: 0 auto;
}
.v67d-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.9rem; font-weight: 800; color: #fff;
  letter-spacing: 0.4px;
}
.v67d-logo .v67d-logo-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--v67d-primary), var(--v67d-primary-soft));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.6rem;
}
.v67d-logo small { color: var(--v67d-accent); font-size: 1.1rem; font-weight: 600; }

.v67d-header-actions { display: flex; align-items: center; gap: 6px; }

.v67d-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 1.3rem; font-weight: 700;
  border: none; border-radius: 20px;
  padding: 8px 14px; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 36px;
}
.v67d-btn:active { transform: scale(0.96); }
.v67d-btn-primary {
  background: linear-gradient(135deg, var(--v67d-primary), var(--v67d-primary-soft));
  color: #fff;
  box-shadow: 0 4px 12px rgba(136, 14, 79, 0.45);
}
.v67d-btn-ghost {
  background: transparent; color: var(--v67d-text);
  border: 1px solid var(--v67d-border);
}
.v67d-btn-accent {
  background: linear-gradient(135deg, #f5c518, #e09e00);
  color: #1a1a1a;
}
.v67d-btn-block { width: 100%; justify-content: center; padding: 12px; font-size: 1.5rem; }

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

/* ---------- Mobile Menu Drawer ---------- */
.v67d-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease;
}
.v67d-menu-backdrop.v67d-open { opacity: 1; visibility: visible; }

.v67d-mobile-menu {
  position: fixed; top: 0; right: -80%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--v67d-bg-soft);
  z-index: 9999; padding: 18px 16px;
  overflow-y: auto;
  transition: right 0.25s ease;
  border-left: 1px solid var(--v67d-border);
}
.v67d-mobile-menu.v67d-open { right: 0; }
.v67d-mobile-menu h3 {
  color: var(--v67d-accent); font-size: 1.4rem;
  margin: 14px 0 8px; text-transform: uppercase; letter-spacing: 0.6px;
}
.v67d-mobile-menu a {
  display: block; padding: 10px 8px;
  border-bottom: 1px solid var(--v67d-border);
  color: var(--v67d-text); font-size: 1.4rem;
}
.v67d-mobile-menu a:active { color: var(--v67d-primary-soft); }
.v67d-menu-close {
  background: transparent; border: none; color: var(--v67d-text);
  font-size: 2rem; cursor: pointer; float: right;
}

/* ---------- Main ---------- */
.v67d-main { padding-top: calc(var(--v67d-header-h) + 10px); }
@media (max-width: 768px) {
  .v67d-main { padding-bottom: calc(var(--v67d-bottomnav-h) + 16px); }
}

/* ---------- Hero Carousel ---------- */
.v67d-hero {
  margin: 12px 0 6px;
  border-radius: var(--v67d-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--v67d-shadow);
}
.v67d-hero-track {
  display: flex; transition: transform 0.5s ease;
}
.v67d-hero-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.v67d-hero-slide img { width: 100%; height: 180px; object-fit: cover; }
.v67d-hero-caption {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff; padding: 18px 10px 8px;
}
.v67d-hero-caption h2 { font-size: 1.7rem; font-weight: 800; }
.v67d-hero-caption p { font-size: 1.2rem; color: var(--v67d-text); }
.v67d-hero-dots {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px;
}
.v67d-hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.v67d-hero-dots span.v67d-active { background: var(--v67d-accent); width: 16px; border-radius: 4px; }

/* ---------- Section ---------- */
.v67d-section { padding: 18px 0; }
.v67d-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.v67d-section-title {
  font-size: 1.7rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.v67d-section-title::before {
  content: ""; width: 4px; height: 18px;
  background: var(--v67d-primary-soft); border-radius: 2px;
}
.v67d-section-more { color: var(--v67d-accent); font-size: 1.2rem; }

/* ---------- Category Pills ---------- */
.v67d-pills {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 6px; margin-bottom: 8px;
}
.v67d-pills::-webkit-scrollbar { display: none; }
.v67d-pill {
  flex: 0 0 auto;
  padding: 6px 14px; border-radius: 18px;
  background: var(--v67d-bg-card); color: var(--v67d-text);
  font-size: 1.25rem; font-weight: 600;
  border: 1px solid var(--v67d-border); white-space: nowrap;
}

/* ---------- Game Grid ---------- */
.v67d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v67d-card {
  background: var(--v67d-bg-card);
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--v67d-border);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.v67d-card:active { transform: scale(0.97); }
.v67d-card-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: #000;
}
.v67d-card-body { padding: 6px 8px; }
.v67d-card-title {
  font-size: 1.15rem; font-weight: 600; color: var(--v67d-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v67d-card-tag {
  display: inline-block; font-size: 1rem;
  color: var(--v67d-accent); margin-top: 2px;
}

/* ---------- Info / Feature Blocks ---------- */
.v67d-info-card {
  background: var(--v67d-bg-card);
  border-radius: var(--v67d-radius);
  padding: 14px;
  border: 1px solid var(--v67d-border);
  margin-bottom: 12px;
}
.v67d-info-card h3 {
  font-size: 1.5rem; color: #fff; margin-bottom: 8px;
}
.v67d-info-card p {
  font-size: 1.3rem; color: var(--v67d-text-muted); margin-bottom: 8px;
}
.v67d-info-card a {
  color: var(--v67d-primary-soft); font-weight: 600;
}

.v67d-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.v67d-feature {
  background: var(--v67d-bg-card);
  border-radius: 12px; padding: 12px;
  border: 1px solid var(--v67d-border);
  text-align: center;
}
.v67d-feature .v67d-feature-icon {
  font-size: 2.4rem; color: var(--v67d-accent); margin-bottom: 6px;
}
.v67d-feature h4 { font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.v67d-feature p { font-size: 1.15rem; color: var(--v67d-text-muted); }

/* ---------- Testimonials ---------- */
.v67d-testimonial {
  background: var(--v67d-bg-card); border-radius: 12px;
  padding: 12px; margin-bottom: 10px;
  border-left: 3px solid var(--v67d-primary);
}
.v67d-testimonial p { font-size: 1.25rem; color: var(--v67d-text); margin-bottom: 6px; }
.v67d-testimonial .v67d-stars { color: var(--v67d-accent); font-size: 1.2rem; }
.v67d-testimonial cite { font-size: 1.1rem; color: var(--v67d-text-muted); }

/* ---------- Payment / Winners ---------- */
.v67d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v67d-chip {
  background: var(--v67d-bg-card); padding: 8px 12px;
  border-radius: 20px; font-size: 1.15rem;
  border: 1px solid var(--v67d-border); display: inline-flex; gap: 4px; align-items: center;
}

.v67d-winner-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--v67d-border);
  font-size: 1.2rem;
}
.v67d-winner-list li span:last-child { color: var(--v67d-accent); font-weight: 700; }

/* ---------- Promo CTA ---------- */
.v67d-cta {
  background: linear-gradient(135deg, var(--v67d-primary), #4a0826);
  border-radius: var(--v67d-radius);
  padding: 16px; text-align: center; margin: 14px 0;
}
.v67d-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.v67d-cta p { color: #ffd1e1; font-size: 1.2rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.v67d-footer {
  background: #050505; padding: 20px 14px;
  border-top: 1px solid var(--v67d-border);
  margin-top: 16px;
}
.v67d-footer h4 { color: var(--v67d-accent); font-size: 1.3rem; margin-bottom: 8px; }
.v67d-footer p { font-size: 1.2rem; color: var(--v67d-text-muted); margin-bottom: 8px; }
.v67d-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.v67d-footer-links a {
  font-size: 1.15rem; color: var(--v67d-text);
  padding: 4px 8px; border: 1px solid var(--v67d-border); border-radius: 14px;
}
.v67d-footer-buttons {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0;
}
.v67d-copyright {
  text-align: center; font-size: 1.1rem; color: var(--v67d-text-muted);
  padding-top: 10px; border-top: 1px solid var(--v67d-border);
}

/* ---------- Bottom Nav ---------- */
.v67d-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--v67d-bottomnav-h);
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  border-top: 1px solid var(--v67d-border);
  display: flex; justify-content: space-around; align-items: stretch;
  max-width: 430px; margin: 0 auto;
}
.v67d-bottomnav a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--v67d-text-muted);
  font-size: 1rem; gap: 2px;
  transition: color 0.15s ease;
}
.v67d-bottomnav a .v67d-nav-icon { font-size: 2.1rem; line-height: 1; }
.v67d-bottomnav a.v67d-active { color: var(--v67d-accent); }
.v67d-bottomnav a:active { transform: scale(0.92); }
.v67d-bottomnav a.v67d-nav-promo { color: var(--v67d-primary-soft); }

@media (min-width: 769px) {
  .v67d-bottomnav { display: none; }
  body { max-width: 430px; }
}

/* ---------- Text link inline SEO ---------- */
.v67d-inline-link {
  color: var(--v67d-primary-soft);
  font-weight: 600;
  border-bottom: 1px dotted var(--v67d-primary-soft);
}

/* ---------- Utility ---------- */
.v67d-text-accent { color: var(--v67d-accent); }
.v67d-text-brand { color: var(--v67d-primary-soft); }
.v67d-mb-0 { margin-bottom: 0; }
.v67d-center { text-align: center; }
