/* mh88.homes - Core stylesheet
   All custom classes use the wc1df- prefix.
   Color palette: #87CEEB | #4169E1 | #F0F8FF | #2D2D2D
   Mobile-first, max-width 430px. Root font 62.5% (1rem = 10px). */

:root {
  --wc1df-primary: #4169E1;
  --wc1df-light: #87CEEB;
  --wc1df-bg-light: #F0F8FF;
  --wc1df-bg-dark: #2D2D2D;
  --wc1df-text: #F0F8FF;
  --wc1df-text-dark: #2D2D2D;
  --wc1df-accent: #FFB300;
  --wc1df-danger: #E53935;
  --wc1df-success: #2E7D32;
  --wc1df-card: #ffffff;
  --wc1df-border: rgba(65, 105, 225, 0.18);
  --wc1df-shadow: 0 4px 14px rgba(45, 45, 45, 0.18);
  --wc1df-radius: 14px;
  --wc1df-header-h: 56px;
  --wc1df-nav-h: 60px;
}

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

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

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

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

/* ===== Header ===== */
.wc1df-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--wc1df-header-h);
  background: linear-gradient(135deg, #2D2D2D 0%, #1a1f3a 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(45,45,45,0.3);
}

.wc1df-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--wc1df-text);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
}
.wc1df-logo img { width: 28px; height: 28px; border-radius: 6px; }
.wc1df-logo span { background: linear-gradient(90deg, #87CEEB, #F0F8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wc1df-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.wc1df-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 40px;
}
.wc1df-btn:active { transform: scale(0.96); }

.wc1df-btn-register {
  background: linear-gradient(135deg, #FFB300, #FF8F00);
  color: #2D2D2D;
  box-shadow: 0 2px 6px rgba(255,179,0,0.4);
}
.wc1df-btn-login {
  background: linear-gradient(135deg, #4169E1, #87CEEB);
  color: #fff;
  box-shadow: 0 2px 6px rgba(65,105,225,0.4);
}

.wc1df-menu-btn {
  background: transparent;
  border: none;
  color: var(--wc1df-text);
  font-size: 2rem;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.wc1df-menu-btn:hover { background: rgba(135,206,235,0.15); }

/* ===== Mobile menu (slide-down) ===== */
.wc1df-mobile-menu {
  position: fixed;
  top: var(--wc1df-header-h);
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: #2D2D2D;
  border-top: 1px solid rgba(135,206,235,0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.wc1df-mobile-menu.wc1df-menu-open { max-height: 80vh; overflow-y: auto; }
.wc1df-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.3rem 1.6rem;
  color: var(--wc1df-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(135,206,235,0.1);
}
.wc1df-mobile-menu a:hover { background: rgba(65,105,225,0.18); text-decoration: none; }
.wc1df-mobile-menu a i { width: 22px; text-align: center; color: var(--wc1df-light); }

/* ===== Main / layout ===== */
main { padding-top: calc(var(--wc1df-header-h) + 8px); padding-bottom: 1rem; }
.wc1df-container { width: 100%; padding: 0 1.2rem; }
.wc1df-section { padding: 2rem 0; }
.wc1df-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wc1df-primary);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.wc1df-section-title i { color: var(--wc1df-accent); }

/* ===== Hero / Carousel ===== */
.wc1df-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--wc1df-radius);
  overflow: hidden;
  box-shadow: var(--wc1df-shadow);
  margin-bottom: 1.5rem;
}
.wc1df-slides { position: relative; width: 100%; height: 180px; }
.wc1df-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.wc1df-slide img { width: 100%; height: 100%; object-fit: cover; }
.wc1df-slide.wc1df-slide-active { opacity: 1; }
.wc1df-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(45,45,45,0.85));
  color: #fff;
  padding: 1.5rem 1.2rem 0.9rem;
  font-size: 1.4rem;
  font-weight: 600;
}
.wc1df-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 5;
}
.wc1df-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
}
.wc1df-dot.wc1df-dot-active { background: var(--wc1df-accent); width: 22px; border-radius: 4px; }

/* ===== Filter chips ===== */
.wc1df-filter-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.wc1df-filter-row::-webkit-scrollbar { display: none; }
.wc1df-filter-chip {
  flex: 0 0 auto;
  padding: 0.7rem 1.3rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--wc1df-border);
  color: var(--wc1df-text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.wc1df-filter-chip.wc1df-chip-active {
  background: var(--wc1df-primary);
  color: #fff;
  border-color: var(--wc1df-primary);
}

/* ===== Games grid ===== */
.wc1df-games-section { margin-bottom: 1.8rem; }
.wc1df-cat-head {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wc1df-light);
}
.wc1df-cat-head h2 { font-size: 1.6rem; color: var(--wc1df-primary); }
.wc1df-cat-head .wc1df-cat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #4169E1, #87CEEB);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
}

.wc1df-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.wc1df-game-card {
  background: var(--wc1df-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45,45,45,0.1);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.wc1df-game-card:active { transform: scale(0.95); }
.wc1df-game-card:hover { box-shadow: var(--wc1df-shadow); }
.wc1df-game-img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.wc1df-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wc1df-text-dark);
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / feature cards ===== */
.wc1df-card {
  background: var(--wc1df-card);
  border-radius: var(--wc1df-radius);
  padding: 1.6rem;
  box-shadow: var(--wc1df-shadow);
  margin-bottom: 1.2rem;
}
.wc1df-card h3 { font-size: 1.5rem; color: var(--wc1df-primary); margin-bottom: 0.8rem; }
.wc1df-card p { font-size: 1.35rem; color: #444; margin-bottom: 0.6rem; }
.wc1df-card ul { padding-left: 1.6rem; }
.wc1df-card li { font-size: 1.3rem; margin-bottom: 0.4rem; color: #444; }

.wc1df-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.wc1df-feature {
  background: linear-gradient(135deg, #fff, #F0F8FF);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--wc1df-border);
}
.wc1df-feature i { font-size: 2.4rem; color: var(--wc1df-primary); margin-bottom: 0.4rem; }
.wc1df-feature h4 { font-size: 1.3rem; color: var(--wc1df-text-dark); margin-bottom: 0.2rem; }
.wc1df-feature p { font-size: 1.15rem; color: #666; }

/* ===== Promo CTA banner ===== */
.wc1df-cta {
  background: linear-gradient(135deg, #4169E1 0%, #2D2D2D 100%);
  border-radius: var(--wc1df-radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  margin: 1.5rem 0;
  color: #fff;
}
.wc1df-cta h3 { font-size: 1.7rem; margin-bottom: 0.5rem; color: var(--wc1df-light); }
.wc1df-cta p { font-size: 1.3rem; margin-bottom: 1rem; color: #F0F8FF; }
.wc1df-cta .wc1df-btn { font-size: 1.4rem; padding: 1rem 2rem; }

/* ===== Testimonials ===== */
.wc1df-testimonials { display: grid; gap: 0.8rem; }
.wc1df-testimonial {
  background: #fff;
  border-left: 4px solid var(--wc1df-accent);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(45,45,45,0.08);
}
.wc1df-testimonial .wc1df-stars { color: #FFB300; margin-bottom: 0.3rem; font-size: 1.2rem; }
.wc1df-testimonial p { font-size: 1.3rem; color: #333; font-style: italic; }
.wc1df-testimonial .wc1df-author { font-size: 1.15rem; color: var(--wc1df-primary); font-weight: 700; margin-top: 0.3rem; }

/* ===== Payment methods ===== */
.wc1df-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.wc1df-pay {
  background: #fff;
  border: 1px solid var(--wc1df-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--wc1df-text-dark);
  display: flex; align-items: center; gap: 0.4rem;
}

/* ===== Winners showcase ===== */
.wc1df-winners { display: grid; gap: 0.6rem; }
.wc1df-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, #fff, #F0F8FF);
  border-radius: 10px; padding: 0.9rem 1.2rem;
  border: 1px solid var(--wc1df-border);
}
.wc1df-winner .wc1df-wname { font-weight: 700; color: var(--wc1df-text-dark); font-size: 1.3rem; }
.wc1df-winner .wc1df-wgame { font-size: 1.15rem; color: #666; }
.wc1df-winner .wc1df-wamt { font-weight: 800; color: var(--wc1df-success); font-size: 1.4rem; }

/* ===== RTP table ===== */
.wc1df-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.wc1df-rtp-table th, .wc1df-rtp-table td { padding: 0.7rem 0.5rem; text-align: left; border-bottom: 1px solid var(--wc1df-border); }
.wc1df-rtp-table th { background: var(--wc1df-primary); color: #fff; font-size: 1.2rem; }
.wc1df-rtp-table td.wc1df-rtp-val { color: var(--wc1df-success); font-weight: 700; }

/* ===== Back to top ===== */
.wc1df-top-btn {
  position: fixed;
  bottom: calc(var(--wc1df-nav-h) + 14px);
  right: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wc1df-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 900;
  box-shadow: var(--wc1df-shadow);
}
.wc1df-top-btn.wc1df-top-visible { opacity: 1; pointer-events: auto; }
.wc1df-top-btn:active { transform: scale(0.9); }

/* ===== Footer ===== */
.wc1df-footer {
  background: #2D2D2D;
  color: var(--wc1df-text);
  padding: 2rem 1.2rem 1rem;
  margin-top: 2rem;
}
.wc1df-footer .wc1df-foot-brand { font-size: 1.35rem; color: #ccc; margin-bottom: 1.2rem; line-height: 1.7rem; }
.wc1df-footer .wc1df-foot-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem;
}
.wc1df-footer .wc1df-foot-promo .wc1df-btn { font-size: 1.2rem; padding: 0.6rem 1rem; }
.wc1df-footer .wc1df-foot-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  margin-bottom: 1.2rem;
}
.wc1df-footer .wc1df-foot-links a { color: var(--wc1df-light); font-size: 1.2rem; }
.wc1df-footer .wc1df-foot-copy { font-size: 1.1rem; color: #888; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; text-align: center; }

/* ===== Mobile bottom nav ===== */
.wc1df-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--wc1df-nav-h);
  background: linear-gradient(180deg, #2D2D2D, #1a1f3a);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(45,45,45,0.3);
  border-top: 2px solid var(--wc1df-primary);
}
.wc1df-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.05rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  padding: 4px 2px;
  transition: color 0.2s ease, transform 0.15s ease;
}
.wc1df-nav-btn i, .wc1df-nav-btn .material-icons-outlined,
.wc1df-nav-btn .ion { font-size: 22px; }
.wc1df-nav-btn:active { transform: scale(0.92); }
.wc1df-nav-btn:hover { color: var(--wc1df-light); }
.wc1df-nav-btn.wc1df-nav-active { color: var(--wc1df-accent); }
.wc1df-nav-btn.wc1df-nav-promo { color: var(--wc1df-light); }
.wc1df-nav-btn.wc1df-nav-promo i { color: var(--wc1df-accent); }

/* ===== Desktop: hide bottom nav, show top menu inline ===== */
@media (min-width: 769px) {
  .wc1df-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--wc1df-nav-h) + 16px); }
}

/* ===== Utility ===== */
.wc1df-text-center { text-align: center; }
.wc1df-mt-1 { margin-top: 1rem; }
.wc1df-mb-1 { margin-bottom: 1rem; }
.wc1df-seo-text { font-size: 1.3rem; color: #444; line-height: 1.7rem; }
.wc1df-seo-text a { font-weight: 700; }
.wc1df-promo-link { color: var(--wc1df-primary); font-weight: 700; }
