/* 98win5 style.css - Mobile-first gaming site styles */
/* All custom classes use wea9b- prefix */
/* Color palette: dark background #212F3D, accent #FF1493 */

:root {
  --wea9b-primary: #FF1493;
  --wea9b-bg: #212F3D;
  --wea9b-bg-deep: #16212e;
  --wea9b-text: #f4f6f8;
  --wea9b-text-soft: #c4ccd6;
  --wea9b-accent: #FFD400;
  --wea9b-card: #2b3a4c;
  --wea9b-border: rgba(255,255,255,0.08);
  --wea9b-radius: 12px;
}

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

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

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

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

.wea9b-container { width: 100%; padding: 0 12px; }
.wea9b-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.wea9b-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--wea9b-bg-deep);
  border-bottom: 2px solid var(--wea9b-primary);
  max-width: 430px; margin: 0 auto;
}
.wea9b-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; height: 56px;
}
.wea9b-logo { display: flex; align-items: center; gap: 8px; color: var(--wea9b-text); font-weight: 700; font-size: 1.6rem; }
.wea9b-logo img { width: 28px; height: 28px; border-radius: 6px; }
.wea9b-logo .wea9b-pink { color: var(--wea9b-primary); }

.wea9b-header-actions { display: flex; align-items: center; gap: 8px; }
.wea9b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 1.3rem;
  border: none; cursor: pointer; min-height: 40px; transition: transform .15s ease, opacity .15s ease;
}
.wea9b-btn:active { transform: scale(0.96); }
.wea9b-btn-register { background: var(--wea9b-primary); color: #fff; }
.wea9b-btn-login { background: transparent; color: var(--wea9b-text); border: 1px solid var(--wea9b-primary); }
.wea9b-btn:hover { text-decoration: none; opacity: .9; }

.wea9b-menu-btn {
  background: transparent; border: none; color: var(--wea9b-text);
  font-size: 2.2rem; cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* ===== Mobile menu ===== */
.wea9b-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: var(--wea9b-bg-deep);
  border-bottom: 2px solid var(--wea9b-primary);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  max-width: 430px; margin: 0 auto;
}
.wea9b-mobile-menu.wea9b-menu-open { max-height: 520px; }
.wea9b-mobile-menu ul { list-style: none; padding: 8px 12px; }
.wea9b-mobile-menu li a {
  display: block; padding: 12px 8px; color: var(--wea9b-text);
  border-bottom: 1px solid var(--wea9b-border); font-size: 1.4rem;
}
.wea9b-mobile-menu li a:hover { color: var(--wea9b-primary); text-decoration: none; }

/* ===== Main content ===== */
.wea9b-main { padding-top: 56px; padding-bottom: 80px; }

/* ===== Carousel ===== */
.wea9b-carousel {
  position: relative; width: 100%; height: 200px; overflow: hidden;
  border-radius: var(--wea9b-radius); margin: 12px 0;
}
.wea9b-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.wea9b-slide img { width: 100%; height: 100%; object-fit: cover; }
.wea9b-slide.wea9b-slide-active { opacity: 1; }
.wea9b-slide-cap {
  position: absolute; left: 12px; bottom: 14px; right: 12px;
  background: rgba(22,33,46,0.7); padding: 8px 12px; border-radius: 8px;
  font-size: 1.3rem; font-weight: 600;
}
.wea9b-dots { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; }
.wea9b-dot {
  display: inline-block; width: 8px; height: 8px; margin: 0 3px;
  border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer;
}
.wea9b-dot.wea9b-dot-active { background: var(--wea9b-primary); }

/* ===== Section titles ===== */
.wea9b-section { padding: 14px 12px; }
.wea9b-section-title {
  font-size: 1.7rem; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--wea9b-primary); padding-left: 10px;
}
.wea9b-section-title .wea9b-pink { color: var(--wea9b-primary); }

/* ===== Game grid ===== */
.wea9b-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.wea9b-game-card {
  background: var(--wea9b-card); border-radius: var(--wea9b-radius);
  overflow: hidden; cursor: pointer; transition: transform .15s ease;
  border: 1px solid var(--wea9b-border);
}
.wea9b-game-card:active { transform: scale(0.97); }
.wea9b-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.wea9b-game-name {
  padding: 6px 4px; font-size: 1.05rem; text-align: center;
  color: var(--wea9b-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info blocks ===== */
.wea9b-card {
  background: var(--wea9b-card); border-radius: var(--wea9b-radius);
  padding: 14px; margin-bottom: 12px; border: 1px solid var(--wea9b-border);
}
.wea9b-card h2 { font-size: 1.6rem; margin-bottom: 8px; color: var(--wea9b-text); }
.wea9b-card h3 { font-size: 1.4rem; margin: 10px 0 6px; color: var(--wea9b-primary); }
.wea9b-card p { color: var(--wea9b-text-soft); margin-bottom: 8px; }
.wea9b-card ul { padding-left: 20px; color: var(--wea9b-text-soft); margin-bottom: 8px; }
.wea9b-card li { margin-bottom: 4px; }

.wea9b-promo-text { color: var(--wea9b-primary); font-weight: 700; }

/* ===== Testimonials ===== */
.wea9b-testi { display: flex; gap: 10px; margin-bottom: 10px; }
.wea9b-testi .wea9b-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--wea9b-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.wea9b-testi .wea9b-tbody { font-size: 1.2rem; color: var(--wea9b-text-soft); }

/* ===== Payment row ===== */
.wea9b-payrow { display: flex; flex-wrap: wrap; gap: 8px; }
.wea9b-paychip { background: var(--wea9b-card); padding: 6px 12px; border-radius: 20px; font-size: 1.2rem; border: 1px solid var(--wea9b-border); }

/* ===== CTA banner ===== */
.wea9b-cta {
  background: linear-gradient(135deg, var(--wea9b-primary), #c00d6e);
  border-radius: var(--wea9b-radius); padding: 16px; text-align: center; margin: 12px;
  cursor: pointer;
}
.wea9b-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.wea9b-cta p { color: #ffe3f1; font-size: 1.2rem; }
.wea9b-cta-btn {
  display: inline-block; margin-top: 10px; background: #fff; color: var(--wea9b-primary);
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 1.4rem;
}

/* ===== Winners ticker ===== */
.wea9b-winners { background: var(--wea9b-card); border-radius: var(--wea9b-radius); padding: 10px 12px; margin: 12px; }
.wea9b-winner-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--wea9b-border); font-size: 1.2rem; }
.wea9b-winner-row:last-child { border-bottom: none; }
.wea9b-winner-amt { color: var(--wea9b-accent); font-weight: 700; }

/* ===== Footer ===== */
.wea9b-footer {
  background: var(--wea9b-bg-deep); padding: 20px 12px 24px;
  border-top: 2px solid var(--wea9b-primary); margin-top: 12px;
}
.wea9b-footer-brand { font-size: 1.3rem; color: var(--wea9b-text-soft); margin-bottom: 12px; }
.wea9b-footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.wea9b-footer-links a { color: var(--wea9b-text-soft); font-size: 1.2rem; }
.wea9b-footer-links a:hover { color: var(--wea9b-primary); }
.wea9b-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wea9b-footer-promo button {
  background: var(--wea9b-primary); color: #fff; border: none; padding: 8px 14px;
  border-radius: 8px; font-size: 1.2rem; cursor: pointer; font-weight: 600;
}
.wea9b-footer-copy { font-size: 1.1rem; color: #8893a0; text-align: center; }

/* ===== Mobile bottom navigation ===== */
.wea9b-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--wea9b-bg-deep); border-top: 2px solid var(--wea9b-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; max-width: 430px; margin: 0 auto;
}
.wea9b-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--wea9b-text-soft); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; transition: color .15s ease, transform .15s ease;
  font-size: 1rem; text-decoration: none;
}
.wea9b-bnav-btn i, .wea9b-bnav-btn .material-icons-outlined, .wea9b-bnav-btn .icon { font-size: 22px; }
.wea9b-bnav-btn:active { transform: scale(0.92); }
.wea9b-bnav-btn:hover { color: var(--wea9b-primary); text-decoration: none; }
.wea9b-bnav-active { color: var(--wea9b-primary); }
.wea9b-bnav-active::after {
  content: ""; display: block; width: 24px; height: 3px; background: var(--wea9b-primary);
  border-radius: 2px; margin-top: 2px;
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .wea9b-bnav { display: none; }
  body { max-width: 480px; }
}
@media (max-width: 768px) {
  .wea9b-main { padding-bottom: 80px; }
}

/* ===== Utility ===== */
.wea9b-center { text-align: center; }
.wea9b-mt12 { margin-top: 12px; }
.wea9b-mb12 { margin-bottom: 12px; }
.wea9b-hide-desktop { display: block; }
