/*!
 * h14.click - Core base stylesheet
 * Class prefix: v867-
 * Palette: #FFF8DC #141414 #808080 #FFE135 #48D1CC #EEE8AA
 * Mobile-first, max-width 430px design baseline.
 */

:root {
  --v867-cream: #FFF8DC;
  --v867-dark: #141414;
  --v867-gray: #808080;
  --v867-yellow: #FFE135;
  --v867-teal: #48D1CC;
  --v867-light: #EEE8AA;
  --v867-primary: #FFE135;
  --v867-bg: #141414;
  --v867-text: #FFF8DC;
  --v867-radius: 14px;
  --v867-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --v867-header-h: 56px;
  --v867-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--v867-bg);
  color: var(--v867-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--v867-teal); text-decoration: none; }
a:hover { color: var(--v867-yellow); }
img { max-width: 100%; display: block; }

/* ============ Layout ============ */
.v867-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}
.v867-wrapper { width: 100%; }
.v867-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 248, 220, 0.07);
}
.v867-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--v867-yellow);
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.v867-section-sub {
  font-size: 1.25rem;
  color: var(--v867-gray);
  margin: 0 0 14px;
}
.v867-h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--v867-cream);
  margin: 0 0 8px;
}
.v867-text-muted { color: var(--v867-gray); }
.v867-highlight { color: var(--v867-yellow); font-weight: 700; }
.v867-teal-text { color: var(--v867-teal); font-weight: 700; }

/* ============ Header ============ */
.v867-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v867-header-h);
  background: linear-gradient(90deg, #1a1a1a 0%, #0d0d0d 100%);
  border-bottom: 2px solid var(--v867-yellow);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.v867-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v867-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--v867-cream);
  font-weight: 900;
  font-size: 1.7rem;
}
.v867-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v867-logo .v867-logo-mark { color: var(--v867-yellow); }
.v867-menu-btn {
  background: transparent;
  border: 1px solid rgba(255, 225, 53, 0.4);
  color: var(--v867-yellow);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.v867-header-actions { margin-left: auto; display: flex; gap: 6px; }

/* ============ Buttons ============ */
.v867-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.v867-btn:active { transform: scale(0.96); }
.v867-btn-primary { background: var(--v867-yellow); color: var(--v867-dark); box-shadow: 0 4px 14px rgba(255, 225, 53, 0.3); }
.v867-btn-primary:hover { filter: brightness(1.08); color: var(--v867-dark); }
.v867-btn-secondary { background: var(--v867-teal); color: #06251f; box-shadow: 0 4px 14px rgba(72, 209, 204, 0.28); }
.v867-btn-secondary:hover { filter: brightness(1.08); color: #06251f; }
.v867-btn-ghost { background: transparent; color: var(--v867-cream); border: 1px solid rgba(255, 248, 220, 0.35); }
.v867-btn-block { width: 100%; }
.v867-btn-lg { padding: 14px 24px; font-size: 1.55rem; min-height: 48px; }

/* ============ Mobile menu ============ */
#pro867-mobile-menu {
  position: fixed;
  top: var(--v867-header-h);
  left: 0; right: 0;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 225, 53, 0.25);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  z-index: 9999;
}
#pro867-mobile-menu.v867-menu-open { max-height: 520px; }
.v867-mobile-menu-inner { padding: 10px 14px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v867-mobile-menu-inner a {
  color: var(--v867-cream);
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 248, 220, 0.05);
  font-size: 1.3rem;
  display: flex; align-items: center; gap: 8px;
}
.v867-mobile-menu-inner a:hover { background: rgba(255, 225, 53, 0.14); color: var(--v867-yellow); }
.v867-mobile-menu-inner a i { color: var(--v867-teal); font-size: 1.5rem; }

/* ============ Hero / Carousel ============ */
.v867-main { padding-top: calc(var(--v867-header-h) + 8px); }
.v867-carousel {
  position: relative;
  border-radius: var(--v867-radius);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--v867-shadow);
}
.v867-slide {
  display: none;
  position: relative;
}
.v867-slide.v867-slide-active { display: block; }
.v867-slide img { width: 100%; height: 190px; object-fit: cover; }
.v867-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.v867-slide-title { color: var(--v867-yellow); font-weight: 900; font-size: 1.6rem; margin: 0 0 4px; }
.v867-slide-desc { color: var(--v867-cream); font-size: 1.2rem; margin: 0 0 8px; }
.v867-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 5px;
}
.v867-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.45);
  cursor: pointer;
  border: none; padding: 0;
}
.v867-dot.v867-dot-active { background: var(--v867-yellow); width: 20px; border-radius: 4px; }

/* ============ Game grid ============ */
.v867-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.v867-card {
  background: linear-gradient(160deg, #1c1c1c 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 225, 53, 0.12);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
}
.v867-card:hover { transform: translateY(-2px); border-color: var(--v867-yellow); }
.v867-card img { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; }
.v867-card-name {
  display: block;
  margin-top: 5px;
  font-size: 1.05rem;
  color: var(--v867-cream);
  font-weight: 600;
  line-height: 1.2;
  min-height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.v867-cat-tag {
  display: inline-block;
  font-size: 1.05rem;
  color: var(--v867-dark);
  background: var(--v867-yellow);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

/* ============ Feature / info cards ============ */
.v867-feature-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.v867-feature {
  background: rgba(255, 248, 220, 0.04);
  border-left: 4px solid var(--v867-teal);
  padding: 12px 14px;
  border-radius: 10px;
}
.v867-feature h3 { margin: 0 0 4px; font-size: 1.4rem; color: var(--v867-yellow); }
.v867-feature p { margin: 0; font-size: 1.18rem; color: var(--v867-cream); }

/* ============ SEO long text ============ */
.v867-prose { font-size: 1.28rem; color: var(--v867-cream); line-height: 1.65; }
.v867-prose h2 { color: var(--v867-yellow); font-size: 1.6rem; margin: 18px 0 6px; }
.v867-prose h3 { color: var(--v867-teal); font-size: 1.4rem; margin: 14px 0 4px; }
.v867-prose p { margin: 0 0 10px; }
.v867-prose ul { padding-left: 18px; margin: 0 0 10px; }
.v867-prose li { margin-bottom: 5px; }
.v867-prose strong { color: var(--v867-light); }

/* ============ FAQ ============ */
.v867-faq-item {
  background: rgba(255, 248, 220, 0.04);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 225, 53, 0.1);
}
.v867-faq-q { font-weight: 800; color: var(--v867-yellow); font-size: 1.25rem; margin-bottom: 4px; }
.v867-faq-a { color: var(--v867-cream); font-size: 1.18rem; line-height: 1.55; }

/* ============ Testimonial / winner ============ */
.v867-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v867-tile {
  background: linear-gradient(160deg, #202020 0%, #111 100%);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.v867-tile .v867-tile-name { color: var(--v867-cream); font-weight: 700; font-size: 1.15rem; }
.v867-tile .v867-tile-amt { color: var(--v867-yellow); font-weight: 900; font-size: 1.4rem; }
.v867-tile .v867-tile-game { color: var(--v867-teal); font-size: 1.05rem; }

/* ============ Payment pills ============ */
.v867-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.v867-pill {
  background: rgba(255, 248, 220, 0.06);
  border: 1px solid rgba(72, 209, 204, 0.3);
  color: var(--v867-cream);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ============ Footer ============ */
.v867-footer {
  background: #0a0a0a;
  border-top: 2px solid var(--v867-yellow);
  padding: 22px 0 calc(var(--v867-bottomnav-h) + 22px);
  margin-top: 18px;
}
.v867-footer h4 { color: var(--v867-yellow); font-size: 1.4rem; margin: 12px 0 6px; }
.v867-footer p { color: var(--v867-cream); font-size: 1.2rem; line-height: 1.55; }
.v867-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0;
}
.v867-footer-links a {
  color: var(--v867-cream);
  font-size: 1.18rem;
  padding: 5px 0;
}
.v867-footer-links a:hover { color: var(--v867-teal); }
.v867-footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.v867-copy { color: var(--v867-gray); font-size: 1.1rem; margin-top: 14px; border-top: 1px solid rgba(255, 248, 220, 0.08); padding-top: 12px; }

/* ============ Bottom nav ============ */
.v867-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--v867-bottomnav-h);
  background: linear-gradient(90deg, #161616 0%, #0b0b0b 100%);
  border-top: 2px solid var(--v867-yellow);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.v867-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v867-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 2px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.v867-bottomnav-btn:active { transform: scale(0.92); }
.v867-bottomnav-btn i,
.v867-bottomnav-btn .material-icons-outlined,
.v867-bottomnav-btn .ion { font-size: 22px; }
.v867-bottomnav-btn .v867-bn-label { font-size: 1rem; opacity: 0.92; }
.v867-bottomnav-active { color: var(--v867-yellow); }
.v867-bottomnav-active .material-icons-outlined,
.v867-bottomnav-active i { color: var(--v867-yellow); }
.v867-bottomnav-promo {
  position: relative;
  color: var(--v867-teal);
}
.v867-bottomnav-promo::before {
  content: "";
  position: absolute;
  top: -2px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--v867-yellow);
  border-radius: 0 0 6px 6px;
}

/* ============ Toast ============ */
.v867-toast {
  position: fixed;
  bottom: calc(var(--v867-bottomnav-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--v867-yellow);
  color: var(--v867-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10000;
  box-shadow: var(--v867-shadow);
  pointer-events: none;
}
.v867-toast.v867-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Banner / promo strip ============ */
.v867-strip {
  background: linear-gradient(90deg, #48D1CC 0%, #EEE8AA 100%);
  color: var(--v867-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.v867-strip-text { font-weight: 800; font-size: 1.25rem; }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .v867-bottomnav { display: none; }
  .v867-container { max-width: 960px; }
  .v867-grid { grid-template-columns: repeat(6, 1fr); }
  .v867-footer-links { grid-template-columns: repeat(3, 1fr); }
  .v867-footer { padding-bottom: 28px; }
  .v867-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .v867-tiles { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .v867-main { padding-bottom: calc(var(--v867-bottomnav-h) + 14px); }
}

@media (max-width: 360px) {
  .v867-grid { grid-template-columns: repeat(2, 1fr); }
  .v867-card img { height: 90px; }
}
