/* ============================================================
   1x bet ph - Core Base Stylesheet
   Class prefix: wcd62-
   Color palette: #2F2F2F | #FFC0CB | #34495E | #CED4DA | #778899 | #36454F
   Mobile-first, max-width 430px reference.
   ============================================================ */

:root {
  --wcd62-bg: #2F2F2F;
  --wcd62-bg-deep: #1f1f1f;
  --wcd62-bg-soft: #36454F;
  --wcd62-primary: #FFC0CB;
  --wcd62-accent: #34495E;
  --wcd62-muted: #778899;
  --wcd62-line: #CED4DA;
  --wcd62-text: #CED4DA;
  --wcd62-text-strong: #ffffff;
  --wcd62-gold: #f5c97a;
  --wcd62-green: #4caf7a;
  --wcd62-red: #e0556b;
  --wcd62-radius: 14px;
  --wcd62-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  --wcd62-header-h: 60px;
  --wcd62-bnav-h: 62px;
}

/* ---- Base reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', sans-serif;
  background: var(--wcd62-bg);
  color: var(--wcd62-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--wcd62-primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--wcd62-text-strong); line-height: 1.35; }

/* ---- Layout helpers ---- */
.wcd62-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.wcd62-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.wcd62-main { flex: 1; padding-top: var(--wcd62-header-h); padding-bottom: calc(var(--wcd62-bnav-h) + 1.6rem); }
.wcd62-section { padding: 2.2rem 0; }
.wcd62-section-title { font-size: 1.9rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.wcd62-section-title i { color: var(--wcd62-primary); }
.wcd62-lead { color: var(--wcd62-line); font-size: 1.4rem; margin-bottom: 1.2rem; }
.wcd62-divider { height: 1px; background: rgba(206, 212, 218, 0.16); margin: 1.6rem 0; border: none; }
.wcd62-tag { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(255, 192, 203, 0.16); color: var(--wcd62-primary); font-size: 1.1rem; font-weight: 600; }

/* ---- Header ---- */
.wcd62-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wcd62-header-h);
  background: linear-gradient(135deg, #1f1f1f 0%, #36454F 100%);
  border-bottom: 1px solid rgba(255, 192, 203, 0.18);
  transition: box-shadow 0.3s ease;
}
.wcd62-header-scrolled { box-shadow: var(--wcd62-shadow); }
.wcd62-header-inner { max-width: 430px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; }
.wcd62-brand { display: flex; align-items: center; gap: 0.6rem; }
.wcd62-brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 192, 203, 0.4); }
.wcd62-brand-name { color: var(--wcd62-text-strong); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.4px; }
.wcd62-brand-name span { color: var(--wcd62-primary); }
.wcd62-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.wcd62-burger { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--wcd62-primary); font-size: 1.9rem; border-radius: 8px; }
.wcd62-burger:hover { background: rgba(255, 192, 203, 0.12); }

/* ---- Buttons ---- */
.wcd62-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 1.3rem; min-height: 38px; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.wcd62-btn:active { transform: scale(0.96); }
.wcd62-btn-primary { background: linear-gradient(135deg, #FFC0CB 0%, #f08aa3 100%); color: #1f1f1f; box-shadow: 0 6px 16px rgba(255, 192, 203, 0.32); }
.wcd62-btn-outline { background: transparent; color: var(--wcd62-primary); border: 1.5px solid var(--wcd62-primary); }
.wcd62-btn-block { width: 100%; }
.wcd62-btn-lg { padding: 1rem 1.4rem; font-size: 1.5rem; min-height: 48px; }

/* ---- Mobile menu drawer ---- */
#wcd62-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; z-index: 9999;
  background: var(--wcd62-bg-deep); padding: 2rem 1.4rem; transition: right 0.3s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4); overflow-y: auto;
}
#wcd62-mobile-menu.wcd62-menu-open { right: 0; }
.wcd62-menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.wcd62-menu-backdrop.wcd62-menu-open { opacity: 1; pointer-events: auto; }
.wcd62-menu-title { color: var(--wcd62-primary); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.wcd62-menu-list li { border-bottom: 1px solid rgba(206, 212, 218, 0.12); }
.wcd62-menu-list a { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 0.4rem; color: var(--wcd62-text); font-size: 1.35rem; font-weight: 600; }
.wcd62-menu-list a i { color: var(--wcd62-primary); width: 22px; text-align: center; }
.wcd62-menu-list a:hover { color: var(--wcd62-primary); padding-left: 0.8rem; }
.wcd62-menu-close { position: absolute; top: 1rem; right: 1rem; color: var(--wcd62-primary); font-size: 1.8rem; }

/* ---- Hero / Carousel ---- */
.wcd62-hero { position: relative; }
.wcd62-carousel { position: relative; overflow: hidden; border-radius: var(--wcd62-radius); box-shadow: var(--wcd62-shadow); }
.wcd62-carousel-track { display: flex; transition: transform 0.5s ease; }
.wcd62-carousel-slide { position: relative; min-width: 100%; }
.wcd62-carousel-slide img { width: 100%; height: 200px; object-fit: cover; filter: brightness(0.78); }
.wcd62-slide-caption { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; }
.wcd62-slide-caption h2 { color: #fff; font-size: 1.9rem; text-shadow: 0 2px 8px rgba(0,0,0,0.6); margin-bottom: 0.4rem; }
.wcd62-slide-caption p { color: var(--wcd62-line); font-size: 1.25rem; margin-bottom: 0.8rem; }
.wcd62-carousel-dot-row { position: absolute; bottom: 0.6rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.4rem; }
.wcd62-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: background 0.2s ease; }
.wcd62-carousel-dot.wcd62-dot-active { background: var(--wcd62-primary); }
.wcd62-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.wcd62-carousel-arrow:hover { background: rgba(0,0,0,0.7); }
.wcd62-carousel-prev { left: 0.6rem; }
.wcd62-carousel-next { right: 0.6rem; }

/* ---- Hero CTA strip ---- */
.wcd62-cta-strip { display: flex; gap: 0.6rem; margin-top: 1rem; }

/* ---- Game chips / filter ---- */
.wcd62-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.6rem 0 1rem; scrollbar-width: none; }
.wcd62-chips::-webkit-scrollbar { display: none; }
.wcd62-chip { flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 999px; background: var(--wcd62-bg-soft); color: var(--wcd62-line); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.wcd62-chip.wcd62-chip-active { background: var(--wcd62-primary); color: #1f1f1f; }

/* ---- Game rail ---- */
.wcd62-game-rail { margin-bottom: 1.8rem; }
.wcd62-rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.wcd62-rail-head h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 0.5rem; }
.wcd62-rail-head h2 i { color: var(--wcd62-primary); }
.wcd62-rail-more { color: var(--wcd62-primary); font-size: 1.2rem; font-weight: 600; }
.wcd62-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.wcd62-card { background: var(--wcd62-bg-soft); border-radius: 12px; overflow: hidden; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid rgba(206, 212, 218, 0.08); }
.wcd62-card:active { transform: scale(0.97); }
.wcd62-card:hover { box-shadow: var(--wcd62-shadow); border-color: rgba(255, 192, 203, 0.4); }
.wcd62-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #000; }
.wcd62-card-body { padding: 0.45rem 0.5rem 0.6rem; }
.wcd62-card-name { font-size: 1.15rem; color: var(--wcd62-text-strong); font-weight: 600; text-align: center; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcd62-badge { position: absolute; top: 0.4rem; left: 0.4rem; background: var(--wcd62-red); color: #fff; font-size: 0.95rem; padding: 0.15rem 0.45rem; border-radius: 6px; font-weight: 700; }
.wcd62-badge-gold { background: var(--wcd62-gold); color: #1f1f1f; }

/* ---- Featured game block ---- */
.wcd62-featured { background: linear-gradient(135deg, #34495E 0%, #2F2F2F 100%); border-radius: var(--wcd62-radius); padding: 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--wcd62-shadow); margin-bottom: 1.4rem; }
.wcd62-featured img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.wcd62-featured-info h3 { font-size: 1.6rem; margin-bottom: 0.3rem; color: var(--wcd62-primary); }
.wcd62-featured-info p { font-size: 1.2rem; color: var(--wcd62-line); margin-bottom: 0.6rem; }

/* ---- Info / content cards ---- */
.wcd62-info-card { background: var(--wcd62-bg-soft); border-radius: var(--wcd62-radius); padding: 1.3rem; margin-bottom: 1.2rem; border-left: 4px solid var(--wcd62-primary); }
.wcd62-info-card h3 { font-size: 1.55rem; margin-bottom: 0.6rem; color: var(--wcd62-text-strong); }
.wcd62-info-card p { color: var(--wcd62-line); font-size: 1.3rem; margin-bottom: 0.6rem; }
.wcd62-info-card ul { padding-left: 1.4rem; }
.wcd62-info-card li { list-style: disc; color: var(--wcd62-line); font-size: 1.25rem; margin-bottom: 0.3rem; }

/* ---- Steps list ---- */
.wcd62-steps { counter-reset: step; }
.wcd62-step { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px dashed rgba(206, 212, 218, 0.16); }
.wcd62-step-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--wcd62-primary); color: #1f1f1f; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.wcd62-step-body h4 { font-size: 1.35rem; margin-bottom: 0.2rem; color: var(--wcd62-text-strong); }
.wcd62-step-body p { font-size: 1.2rem; color: var(--wcd62-line); }

/* ---- FAQ accordion ---- */
.wcd62-faq-item { background: var(--wcd62-bg-soft); border-radius: 10px; margin-bottom: 0.7rem; overflow: hidden; border: 1px solid rgba(206, 212, 218, 0.08); }
.wcd62-faq-q { padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--wcd62-text-strong); font-size: 1.3rem; }
.wcd62-faq-q i { color: var(--wcd62-primary); transition: transform 0.2s ease; }
.wcd62-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.1rem; color: var(--wcd62-line); font-size: 1.2rem; }
.wcd62-faq-item.wcd62-faq-open .wcd62-faq-a { max-height: 320px; padding-bottom: 1rem; }
.wcd62-faq-item.wcd62-faq-open .wcd62-faq-q i { transform: rotate(45deg); }

/* ---- RTP compact table ---- */
.wcd62-rtp-table { width: 100%; border-collapse: collapse; background: var(--wcd62-bg-soft); border-radius: 10px; overflow: hidden; }
.wcd62-rtp-table th, .wcd62-rtp-table td { padding: 0.7rem 0.8rem; text-align: left; font-size: 1.2rem; border-bottom: 1px solid rgba(206, 212, 218, 0.1); }
.wcd62-rtp-table th { background: var(--wcd62-accent); color: var(--wcd62-primary); font-weight: 700; }
.wcd62-rtp-table td:last-child { color: var(--wcd62-green); font-weight: 700; }

/* ---- Testimonials ---- */
.wcd62-testimonials { display: grid; gap: 0.8rem; }
.wcd62-testimonial { background: var(--wcd62-bg-soft); border-radius: 12px; padding: 1rem 1.1rem; border-left: 3px solid var(--wcd62-gold); }
.wcd62-testimonial p { font-size: 1.2rem; color: var(--wcd62-line); font-style: italic; margin-bottom: 0.4rem; }
.wcd62-testimonial cite { color: var(--wcd62-primary); font-weight: 700; font-size: 1.15rem; font-style: normal; }

/* ---- Winners strip ---- */
.wcd62-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.wcd62-winner { background: var(--wcd62-bg-soft); border-radius: 10px; padding: 0.7rem 0.8rem; }
.wcd62-winner-name { color: var(--wcd62-gold); font-weight: 700; font-size: 1.2rem; }
.wcd62-winner-game { color: var(--wcd62-line); font-size: 1.1rem; margin: 0.15rem 0; }
.wcd62-winner-amount { color: var(--wcd62-green); font-weight: 800; font-size: 1.3rem; }

/* ---- Payment methods ---- */
.wcd62-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.wcd62-pay { background: var(--wcd62-bg-soft); border-radius: 10px; padding: 0.7rem 0.4rem; text-align: center; }
.wcd62-pay i { color: var(--wcd62-primary); font-size: 1.8rem; }
.wcd62-pay span { display: block; margin-top: 0.3rem; font-size: 1.05rem; color: var(--wcd62-line); }

/* ---- Achievements ---- */
.wcd62-ach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.wcd62-ach { background: var(--wcd62-bg-soft); border-radius: 12px; padding: 1rem; text-align: center; border: 1px solid rgba(255, 192, 203, 0.18); }
.wcd62-ach i { font-size: 2.2rem; color: var(--wcd62-gold); }
.wcd62-ach h4 { margin: 0.4rem 0 0.2rem; font-size: 1.3rem; color: var(--wcd62-text-strong); }
.wcd62-ach p { font-size: 1.15rem; color: var(--wcd62-line); }

/* ---- App download CTA ---- */
.wcd62-app-cta { background: linear-gradient(135deg, #34495E 0%, #FFC0CB 220%); border-radius: var(--wcd62-radius); padding: 1.3rem; text-align: center; box-shadow: var(--wcd62-shadow); }
.wcd62-app-cta h3 { font-size: 1.7rem; color: var(--wcd62-text-strong); margin-bottom: 0.4rem; }
.wcd62-app-cta p { color: var(--wcd62-line); font-size: 1.25rem; margin-bottom: 1rem; }
.wcd62-app-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ---- Tricks / tips ---- */
.wcd62-trick { display: flex; gap: 0.8rem; padding: 0.8rem; background: var(--wcd62-bg-soft); border-radius: 10px; margin-bottom: 0.6rem; }
.wcd62-trick i { color: var(--wcd62-primary); font-size: 1.6rem; flex-shrink: 0; }
.wcd62-trick p { font-size: 1.2rem; color: var(--wcd62-line); }
.wcd62-trick b { color: var(--wcd62-text-strong); }

/* ---- Category highlights ---- */
.wcd62-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.wcd62-cat-tile { position: relative; border-radius: 12px; overflow: hidden; height: 110px; display: flex; align-items: flex-end; padding: 0.7rem; background: var(--wcd62-accent); }
.wcd62-cat-tile i { position: absolute; right: 0.6rem; top: 0.6rem; font-size: 2rem; color: rgba(255, 192, 203, 0.7); }
.wcd62-cat-tile span { font-weight: 800; color: #fff; font-size: 1.35rem; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* ---- Inline SEO link styles ---- */
.wcd62-seo p { color: var(--wcd62-line); font-size: 1.3rem; margin-bottom: 0.8rem; }
.wcd62-seo a { color: var(--wcd62-primary); font-weight: 600; border-bottom: 1px dashed rgba(255, 192, 203, 0.5); }
.wcd62-seo h2, .wcd62-seo h3 { margin: 1.2rem 0 0.5rem; }

/* ---- Footer ---- */
.wcd62-footer { background: var(--wcd62-bg-deep); padding: 2rem 0 calc(var(--wcd62-bnav-h) + 1.5rem); border-top: 1px solid rgba(255, 192, 203, 0.18); margin-top: 1.5rem; }
.wcd62-footer-brand { color: var(--wcd62-line); font-size: 1.25rem; margin-bottom: 1rem; }
.wcd62-footer-brand b { color: var(--wcd62-primary); }
.wcd62-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0.8rem; margin-bottom: 1rem; }
.wcd62-footer-links a { color: var(--wcd62-line); font-size: 1.2rem; }
.wcd62-footer-links a:hover { color: var(--wcd62-primary); }
.wcd62-footer-promos { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.wcd62-footer-copy { color: var(--wcd62-muted); font-size: 1.1rem; border-top: 1px solid rgba(206, 212, 218, 0.1); padding-top: 1rem; text-align: center; }

/* ---- Back to top ---- */
#wcd62-to-top { position: fixed; right: 1.2rem; bottom: calc(var(--wcd62-bnav-h) + 1rem); z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: var(--wcd62-primary); color: #1f1f1f; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; box-shadow: var(--wcd62-shadow); }
#wcd62-to-top.wcd62-to-top-show { opacity: 1; pointer-events: auto; }
#wcd62-to-top:active { transform: scale(0.92); }

/* ---- Mobile bottom navigation ---- */
.wcd62-bnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: var(--wcd62-bnav-h); background: linear-gradient(180deg, #1f1f1f 0%, #2F2F2F 100%); border-top: 1px solid rgba(255, 192, 203, 0.2); display: flex; justify-content: space-around; align-items: stretch; padding: 0.3rem 0; }
.wcd62-bnav-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; color: var(--wcd62-line); min-width: 60px; min-height: 56px; position: relative; transition: color 0.2s ease, transform 0.2s ease; }
.wcd62-bnav-btn i { font-size: 2rem; line-height: 1; }
.wcd62-bnav-btn .material-icons, .wcd62-bnav-btn ion-icon { font-size: 2.2rem; }
.wcd62-bnav-btn span { font-size: 1.05rem; font-weight: 600; }
.wcd62-bnav-btn:active { transform: scale(0.9); }
.wcd62-bnav-btn.wcd62-bnav-active { color: var(--wcd62-primary); }
.wcd62-bnav-btn.wcd62-bnav-active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--wcd62-primary); }

/* ---- Reveal animation ---- */
.wcd62-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.wcd62-reveal.wcd62-revealed { opacity: 1; transform: translateY(0); }

/* ---- Desktop: hide bottom nav and show wide layout ---- */
@media (min-width: 769px) {
  .wcd62-bnav { display: none; }
  .wcd62-main { padding-bottom: 1.6rem; }
  .wcd62-footer { padding-bottom: 2rem; }
  .wcd62-container { max-width: 760px; }
  .wcd62-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .wcd62-main { padding-bottom: calc(var(--wcd62-bnav-h) + 1.6rem); }
}

/* ---- Utility ---- */
.wcd62-text-center { text-align: center; }
.wcd62-mt-1 { margin-top: 0.6rem; }
.wcd62-mt-2 { margin-top: 1.2rem; }
.wcd62-mb-1 { margin-bottom: 0.6rem; }
.wcd62-mb-2 { margin-bottom: 1.2rem; }
.wcd62-hide-mobile { display: none; }
