/* ==========================================================================
   hit 88 - Core base stylesheet
   All custom classes use prefix "wcce8-" to avoid collisions.
   Palette: #008000 | #2E8B57 | #6495ED | #B0E0E6 | #2D2D2D
   Mobile-first; root font 62.5% so 1rem = 10px.
   ========================================================================== */

:root {
  --wcce8-primary: #008000;
  --wcce8-secondary: #2E8B57;
  --wcce8-accent: #6495ED;
  --wcce8-light: #B0E0E6;
  --wcce8-dark: #2D2D2D;
  --wcce8-bg: #14361f;
  --wcce8-bg-deep: #0e2616;
  --wcce8-text: #f3fbf5;
  --wcce8-muted: #c3d6c9;
  --wcce8-gold: #ffd35c;
  --wcce8-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  --wcce8-radius: 14px;
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: linear-gradient(160deg, var(--wcce8-bg-deep) 0%, var(--wcce8-bg) 60%, #0b1f12 100%);
  color: var(--wcce8-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--wcce8-light); text-decoration: none; }
a:hover, a:focus { color: #fff; text-decoration: underline; }

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

/* ===== Header ===== */
.wcce8-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 80, 0, 0.96), rgba(20, 54, 31, 0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(176, 224, 230, 0.18);
}
.wcce8-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  min-height: 5.6rem;
}
.wcce8-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.wcce8-logo img { width: 30px; height: 30px; border-radius: 8px; }
.wcce8-logo-text { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: 0.04em; }
.wcce8-logo-text span { color: var(--wcce8-gold); }

.wcce8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  min-height: 40px;
  text-align: center;
}
.wcce8-btn:focus-visible { outline: 3px solid var(--wcce8-light); outline-offset: 2px; }
.wcce8-btn:hover { transform: translateY(-1px); text-decoration: none; }
.wcce8-btn:active { transform: scale(0.97); }
.wcce8-btn-primary {
  background: linear-gradient(135deg, var(--wcce8-gold), #ffb347);
  color: #2a1f00;
  box-shadow: 0 4px 14px rgba(255, 211, 92, 0.45);
}
.wcce8-btn-secondary {
  background: var(--wcce8-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(100, 149, 237, 0.4);
}
.wcce8-btn-ghost {
  background: transparent;
  color: var(--wcce8-text);
  border: 1px solid rgba(176, 224, 230, 0.5);
}
.wcce8-btn-block { width: 100%; }
.wcce8-btn-sm { padding: 0.6rem 1rem; font-size: 1.15rem; min-height: 34px; }

.wcce8-header-actions { display: flex; gap: 0.55rem; align-items: center; }
.wcce8-menu-btn {
  background: transparent;
  border: 1px solid rgba(176, 224, 230, 0.45);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile expandable nav menu ===== */
.wcce8-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 320px);
  background: linear-gradient(180deg, #0c2216, #06140c);
  z-index: 9999;
  transform: translateX(110%);
  transition: transform 0.32s ease;
  padding: 7rem 1.4rem 2rem;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.55);
}
.wcce8-mobile-menu.wcce8-menu-open { transform: translateX(0); }
.wcce8-mobile-menu a {
  display: block;
  padding: 1.1rem 1rem;
  color: var(--wcce8-text);
  border-bottom: 1px solid rgba(176, 224, 230, 0.12);
  font-size: 1.4rem;
  font-weight: 600;
}
.wcce8-mobile-menu a:hover { background: rgba(46, 139, 87, 0.25); text-decoration: none; }
.wcce8-mobile-menu h4 { color: var(--wcce8-gold); margin: 1.4rem 0 0.6rem; font-size: 1.25rem; letter-spacing: 0.04em; }

.wcce8-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.wcce8-overlay.wcce8-menu-open { opacity: 1; pointer-events: auto; }

/* ===== Main / sections ===== */
main { padding-bottom: 90px; }
.wcce8-section { padding: 2rem 1.4rem; }
.wcce8-section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  color: #fff;
}
.wcce8-section h2 span { color: var(--wcce8-gold); }
.wcce8-section h3 { font-size: 1.35rem; margin: 1.2rem 0 0.5rem; color: var(--wcce8-light); }
.wcce8-section p { color: var(--wcce8-muted); margin-bottom: 0.8rem; font-size: 1.25rem; line-height: 1.6; }

/* ===== Hero / Carousel ===== */
.wcce8-carousel {
  position: relative;
  border-radius: var(--wcce8-radius);
  overflow: hidden;
  box-shadow: var(--wcce8-shadow);
}
.wcce8-carousel-track { position: relative; }
.wcce8-carousel-slide {
  position: relative;
  display: none;
}
.wcce8-carousel-slide.wcce8-slide-active { display: block; }
.wcce8-carousel-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wcce8-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem 1.6rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), rgba(0,0,0,0));
}
.wcce8-carousel-caption h2 { color: #fff; font-size: 1.55rem; margin: 0 0 0.3rem; }
.wcce8-carousel-caption p { color: var(--wcce8-light); font-size: 1.15rem; margin: 0; }

.wcce8-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.wcce8-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
}
.wcce8-carousel-dot.wcce8-dot-active { background: var(--wcce8-gold); width: 20px; border-radius: 4px; }

/* ===== Hero CTA strip ===== */
.wcce8-hero-cta {
  display: flex; gap: 0.6rem;
  padding: 1rem 1.4rem 0;
}
.wcce8-hero-cta .wcce8-btn { flex: 1; }

/* ===== Filter tabs ===== */
.wcce8-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 1rem 1.4rem 0.4rem;
  scrollbar-width: none;
}
.wcce8-filter-bar::-webkit-scrollbar { display: none; }
.wcce8-filter-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(176, 224, 230, 0.12);
  color: var(--wcce8-text);
  font-size: 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.wcce8-filter-tab.wcce8-filter-tab-active {
  background: var(--wcce8-primary);
  border-color: var(--wcce8-gold);
}

/* ===== Game grid ===== */
.wcce8-game-section { margin-top: 1.2rem; }
.wcce8-game-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0 1.4rem;
  color: #fff; font-size: 1.45rem; font-weight: 800;
  margin-bottom: 0.8rem;
}
.wcce8-game-section-title i { color: var(--wcce8-gold); }

.wcce8-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 0 1.4rem;
}
.wcce8-game-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(176, 224, 230, 0.14);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.wcce8-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 128, 0, 0.35);
  text-decoration: none;
}
.wcce8-game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #06140c;
}
.wcce8-game-card-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.05rem;
  color: var(--wcce8-text);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Feature / info cards ===== */
.wcce8-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.wcce8-card {
  background: linear-gradient(160deg, rgba(46,139,87,0.18), rgba(100,149,237,0.10));
  border: 1px solid rgba(176, 224, 230, 0.18);
  border-radius: var(--wcce8-radius);
  padding: 1.2rem;
}
.wcce8-card i { font-size: 2rem; color: var(--wcce8-gold); }
.wcce8-card h3 { font-size: 1.3rem; margin: 0.6rem 0 0.3rem; color: #fff; }
.wcce8-card p { color: var(--wcce8-muted); font-size: 1.15rem; margin: 0; }

/* ===== Promo link inline (text-style affiliate) ===== */
.wcce8-promo-link {
  color: var(--wcce8-gold);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--wcce8-gold);
}
.wcce8-promo-link:hover { color: #ffe7a3; text-decoration: none; }

/* ===== Testimonials / winners ===== */
.wcce8-list { list-style: none; }
.wcce8-list li {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
}
.wcce8-list li b { color: var(--wcce8-gold); }

/* ===== Payment methods strip ===== */
.wcce8-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.wcce8-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(176, 224, 230, 0.14);
  color: #fff;
  font-size: 1.1rem;
  border: 1px solid rgba(176, 224, 230, 0.25);
}

/* ===== Footer ===== */
.wcce8-footer {
  background: #06140c;
  border-top: 1px solid rgba(176, 224, 230, 0.18);
  padding: 2rem 1.4rem 6.5rem;
  color: var(--wcce8-muted);
}
.wcce8-footer h4 { color: var(--wcce8-gold); font-size: 1.3rem; margin-bottom: 0.6rem; }
.wcce8-footer p { font-size: 1.15rem; margin-bottom: 0.8rem; }
.wcce8-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  margin: 1rem 0;
}
.wcce8-footer-links a { color: var(--wcce8-text); font-size: 1.15rem; }
.wcce8-footer-buttons {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1rem 0;
}
.wcce8-footer-buttons .wcce8-btn { flex: 1 1 auto; }
.wcce8-copyright { font-size: 1.05rem; color: var(--wcce8-muted); margin-top: 1rem; }

/* ===== Bottom navigation (mobile only) ===== */
.wcce8-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 70, 0, 0.98), #06140c);
  border-top: 1px solid rgba(255, 211, 92, 0.35);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45);
}
.wcce8-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--wcce8-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
  text-decoration: none;
  padding: 0;
}
.wcce8-bottom-nav-item i,
.wcce8-bottom-nav-item .material-icons,
.wcce8-bottom-nav-item ion-icon { font-size: 24px; }
.wcce8-bottom-nav-item ion-icon { --ionicon-stroke-width: 36px; }
.wcce8-bottom-nav-item:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.wcce8-bottom-nav-item:active { transform: scale(0.9); }
.wcce8-bottom-nav-item.wcce8-nav-active { color: var(--wcce8-gold); }
.wcce8-bottom-nav-item.wcce8-nav-active::after {
  content: ''; display: block; width: 22px; height: 3px;
  background: var(--wcce8-gold); border-radius: 2px; margin-top: 1px;
}
.wcce8-bottom-nav-badge {
  position: relative;
}
.wcce8-bottom-nav-badge::before {
  content: 'HOT';
  position: absolute;
  top: 4px; right: 6px;
  background: #ff4d4d;
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 4px;
  border-radius: 6px;
  font-weight: 700;
}

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .wcce8-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .wcce8-grid { grid-template-columns: repeat(5, 1fr); }
  .wcce8-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Small screens tightening ===== */
@media (max-width: 360px) {
  .wcce8-grid { grid-template-columns: repeat(2, 1fr); }
  .wcce8-logo-text { font-size: 1.4rem; }
}
