/* ==========================================================
 * yy777 bet - design.css
 * All custom classes use the "wc983-" prefix.
 * Mobile-first: max-width 430px. Color palette: #FF9800 / #0E1621.
 * ========================================================== */

:root {
  --wc983-primary: #FF9800;
  --wc983-primary-dark: #E65100;
  --wc983-primary-soft: #FFB74D;
  --wc983-bg: #0E1621;
  --wc983-bg-2: #152033;
  --wc983-bg-3: #1E2C44;
  --wc983-text: #F5F7FA;
  --wc983-text-muted: #AAB4C5;
  --wc983-border: #2A3A57;
  --wc983-success: #2EC4B6;
  --wc983-danger: #FF5C7A;
  --wc983-gold: #FFD54F;
  --wc983-radius: 14px;
  --wc983-shadow: 0 6px 22px rgba(0,0,0,.35);
}

/* Root font: 62.5% -> 1rem = 10px */
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, var(--wc983-bg-2), var(--wc983-bg) 70%);
  color: var(--wc983-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wc983-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.wc983-wrapper { padding: 1rem 0; }

/* =========== Header =========== */
.wc983-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(14,22,33,.96), rgba(14,22,33,.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wc983-border);
}
.wc983-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.wc983-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--wc983-text);
  font-weight: 800;
  letter-spacing: .3px;
}
.wc983-brand img { width: 30px; height: 30px; border-radius: 7px; }
.wc983-brand-text { font-size: 1.55rem; line-height: 1; }
.wc983-brand-text span { color: var(--wc983-primary); }

.wc983-header-actions { display: flex; align-items: center; gap: .4rem; }
.wc983-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: none;
  border-radius: 9px;
  padding: .65rem .9rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  min-height: 36px;
}
.wc983-btn:active { transform: scale(.96); }
.wc983-btn-primary {
  background: linear-gradient(135deg, var(--wc983-primary), var(--wc983-primary-dark));
  color: #1a0c00;
  box-shadow: 0 4px 12px rgba(255,152,0,.35);
}
.wc983-btn-outline {
  background: transparent;
  color: var(--wc983-primary);
  border: 1.5px solid var(--wc983-primary);
}
.wc983-btn-ghost {
  background: var(--wc983-bg-3);
  color: var(--wc983-text);
}
.wc983-menu-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wc983-bg-3);
  border: none; border-radius: 9px;
  color: var(--wc983-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========== Mobile menu =========== */
.wc983-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s;
  z-index: 9998;
}
.wc983-backdrop-visible { opacity: 1; visibility: visible; }

.wc983-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--wc983-bg-2);
  z-index: 9999;
  padding: 4rem 1.5rem 2rem;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--wc983-border);
}
.wc983-menu-open { right: 0; }
.wc983-mobile-menu-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  background: transparent; border: none; color: var(--wc983-text);
  font-size: 1.8rem; cursor: pointer;
}
.wc983-mobile-menu a {
  display: block;
  padding: 1rem .6rem;
  color: var(--wc983-text);
  border-bottom: 1px solid var(--wc983-border);
  font-size: 1.4rem;
  font-weight: 600;
}
.wc983-mobile-menu a:hover { color: var(--wc983-primary); padding-left: 1rem; }

/* =========== Main padding =========== */
main { padding-top: 64px; }
@media (max-width: 768px) {
  main { padding-bottom: 86px; }
}

/* =========== Hero / Carousel =========== */
.wc983-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--wc983-radius);
  margin: 1rem 0;
  box-shadow: var(--wc983-shadow);
}
.wc983-carousel-track { display: flex; transition: transform .55s ease; }
.wc983-carousel-slide { min-width: 100%; position: relative; }
.wc983-carousel-slide img {
  width: 100%; height: 200px; object-fit: cover;
}
.wc983-carousel-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(14,22,33,.95), transparent);
}
.wc983-carousel-overlay h2 {
  margin: 0 0 .35rem;
  font-size: 1.8rem;
  color: var(--wc983-primary);
}
.wc983-carousel-overlay p { margin: 0; font-size: 1.25rem; color: var(--wc983-text-muted); }
.wc983-carousel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.wc983-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: none; }
.wc983-carousel-dot-active { background: var(--wc983-primary); width: 22px; border-radius: 6px; }

/* =========== Section =========== */
.wc983-section { padding: 1.4rem 0; }
.wc983-section-title {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.7rem; font-weight: 800; margin: 0 0 1rem;
  color: var(--wc983-text);
}
.wc983-section-title i { color: var(--wc983-primary); }
.wc983-section-title em { color: var(--wc983-primary); font-style: normal; }
.wc983-section-sub { color: var(--wc983-text-muted); font-size: 1.3rem; margin: -0.5rem 0 1rem; }

/* =========== Game grid =========== */
.wc983-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.wc983-game-card {
  background: var(--wc983-bg-2);
  border: 1px solid var(--wc983-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  opacity: 0; transform: translateY(8px);
}
.wc983-game-card:hover { transform: translateY(-3px); border-color: var(--wc983-primary); box-shadow: 0 8px 18px rgba(255,152,0,.18); }
.wc983-inview { opacity: 1; transform: translateY(0); transition: opacity .4s, transform .4s; }
.wc983-game-card img {
  width: 100%; height: 92px; object-fit: cover;
  background: #0a1320;
}
.wc983-game-name {
  padding: .4rem .35rem .55rem;
  font-size: 1.05rem;
  text-align: center;
  color: var(--wc983-text);
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* =========== Cards =========== */
.wc983-card { background: var(--wc983-bg-2); border: 1px solid var(--wc983-border); border-radius: var(--wc983-radius); padding: 1.1rem; margin-bottom: 1rem; }
.wc983-card h3 { margin: 0 0 .5rem; font-size: 1.45rem; color: var(--wc983-primary); }
.wc983-card p { margin: 0 0 .55rem; color: var(--wc983-text-muted); font-size: 1.3rem; }

.wc983-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.wc983-feature {
  background: var(--wc983-bg-2);
  border-radius: 12px;
  padding: .9rem .8rem;
  text-align: center;
  border: 1px solid var(--wc983-border);
}
.wc983-feature i { font-size: 2.2rem; color: var(--wc983-primary); margin-bottom: .35rem; }
.wc983-feature h4 { margin: 0 0 .25rem; font-size: 1.2rem; color: var(--wc983-text); }
.wc983-feature p { margin: 0; font-size: 1.1rem; color: var(--wc983-text-muted); }

/* =========== FAQ =========== */
.wc983-faq-item {
  background: var(--wc983-bg-2);
  border: 1px solid var(--wc983-border);
  border-radius: 10px;
  margin-bottom: .6rem;
  overflow: hidden;
}
.wc983-faq-q {
  padding: .9rem 1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1.3rem;
  color: var(--wc983-text);
}
.wc983-faq-q i { color: var(--wc983-primary); transition: transform .25s; }
.wc983-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1rem;
  color: var(--wc983-text-muted);
  font-size: 1.25rem;
}
.wc983-faq-open .wc983-faq-a { max-height: 500px; padding: 0 1rem 1rem; }
.wc983-faq-open .wc983-faq-q i { transform: rotate(45deg); }

/* =========== Promo / CTA =========== */
.wc983-cta {
  background: linear-gradient(135deg, var(--wc983-primary), var(--wc983-primary-dark));
  color: #1a0c00;
  border-radius: var(--wc983-radius);
  padding: 1.3rem;
  text-align: center;
  margin: 1.2rem 0;
  box-shadow: 0 8px 24px rgba(255,152,0,.35);
}
.wc983-cta h3 { margin: 0 0 .35rem; font-size: 1.7rem; color: #0E1621; }
.wc983-cta p { margin: 0 0 .9rem; color: #2b1700; font-size: 1.25rem; }
.wc983-cta .wc983-btn { background: #0E1621; color: var(--wc983-primary); }

.wc983-text-link {
  color: var(--wc983-primary);
  font-weight: 700;
  cursor: pointer;
}
.wc983-text-link:hover { text-decoration: underline; }

/* =========== Winners / Testimonials =========== */
.wc983-list { list-style: none; padding: 0; margin: 0; }
.wc983-list li {
  padding: .55rem 0;
  border-bottom: 1px dashed var(--wc983-border);
  font-size: 1.2rem;
  color: var(--wc983-text-muted);
  display: flex; justify-content: space-between; gap: .5rem;
}
.wc983-list li strong { color: var(--wc983-gold); }

.wc983-testimonial {
  background: var(--wc983-bg-2);
  border-left: 3px solid var(--wc983-primary);
  padding: .8rem 1rem;
  border-radius: 8px;
  margin-bottom: .6rem;
}
.wc983-testimonial p { margin: 0 0 .35rem; font-size: 1.25rem; color: var(--wc983-text); }
.wc983-testimonial cite { color: var(--wc983-primary); font-style: normal; font-weight: 700; font-size: 1.1rem; }

/* =========== Payment =========== */
.wc983-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.wc983-pay {
  background: var(--wc983-bg-2);
  border: 1px solid var(--wc983-border);
  border-radius: 8px;
  padding: .6rem .2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--wc983-text-muted);
}
.wc983-pay i { font-size: 1.8rem; color: var(--wc983-primary); display: block; margin-bottom: .2rem; }

/* =========== Stats =========== */
.wc983-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  text-align: center;
  margin: .8rem 0;
}
.wc983-stat-num {
  font-size: 1.8rem; font-weight: 800; color: var(--wc983-primary);
}
.wc983-stat-label { font-size: 1.05rem; color: var(--wc983-text-muted); }

/* =========== Footer =========== */
.wc983-footer {
  background: var(--wc983-bg-2);
  border-top: 1px solid var(--wc983-border);
  padding: 1.5rem 0 1rem;
  margin-top: 1.5rem;
}
.wc983-footer-links {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem;
  font-size: 1.15rem;
  margin: .6rem 0;
}
.wc983-footer-links a { color: var(--wc983-text-muted); }
.wc983-footer-links a:hover { color: var(--wc983-primary); }
.wc983-footer-copy {
  text-align: center; color: var(--wc983-text-muted);
  font-size: 1.1rem; padding-top: .8rem; border-top: 1px solid var(--wc983-border);
}

/* =========== Mobile bottom nav (hidden on desktop) =========== */
.wc983-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, var(--wc983-bg-2), var(--wc983-bg));
  border-top: 1px solid var(--wc983-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.45);
}
.wc983-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--wc983-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color .2s, transform .15s;
  text-decoration: none;
  padding: 4px 2px;
  min-width: 60px;
}
.wc983-bottom-nav-btn i,
.wc983-bottom-nav-btn .material-icons {
  font-size: 22px;
}
.wc983-bottom-nav-btn:active { transform: scale(.92); }
.wc983-bottom-nav-btn:hover { color: var(--wc983-primary); }
.wc983-bottom-nav-active { color: var(--wc983-primary); }
.wc983-bottom-nav-promo {
  color: var(--wc983-gold);
  position: relative;
}
.wc983-bottom-nav-promo::before {
  content: '';
  position: absolute;
  top: 2px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 4px;
  background: var(--wc983-primary);
  box-shadow: 0 0 8px var(--wc983-primary);
}

@media (min-width: 769px) { .wc983-bottom-nav { display: none; } body { padding-bottom: 0; } }
@media (max-width: 360px) { .wc983-game-grid { grid-template-columns: repeat(2, 1fr); } .wc983-pay-grid { grid-template-columns: repeat(3, 1fr); } }
