/* ============================================================
   ga88 website stylesheet - wb313 prefix
   Mobile-first design, max-width 430px
   Color palette: #32CD32 #A9A9A9 #3C3C3C #9AFF9A #34495E #006400
   Comments in English only
   ============================================================ */

:root {
  --wb313-primary: #32CD32;
  --wb313-primary-dark: #006400;
  --wb313-bg: #3C3C3C;
  --wb313-bg-deep: #1f2a1f;
  --wb313-card: #34495E;
  --wb313-card-light: #3d5469;
  --wb313-text: #9AFF9A;
  --wb313-text-light: #E8FFE8;
  --wb313-text-muted: #A9A9A9;
  --wb313-accent: #32CD32;
  --wb313-gold: #FFD700;
  --wb313-border: rgba(50, 205, 50, 0.25);
  --wb313-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --wb313-radius: 12px;
}

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

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: #151a15;
  color: var(--wb313-text-light);
  line-height: 1.5;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

.wb313-container { width: 100%; max-width: 430px; margin: 0 auto; }

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

/* ---------- Header ---------- */
.wb313-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #1f2a1f, #34495E);
  border-bottom: 2px solid var(--wb313-primary);
  box-shadow: var(--wb313-shadow);
}
.wb313-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; min-height: 56px;
}
.wb313-logo { display: flex; align-items: center; gap: 0.6rem; }
.wb313-logo img { width: 30px; height: 30px; border-radius: 6px; }
.wb313-logo-text { font-size: 1.9rem; font-weight: 800; color: var(--wb313-primary); letter-spacing: 0.5px; }
.wb313-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.wb313-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: none; border-radius: 20px; padding: 0.7rem 1.3rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s; min-height: 36px;
}
.wb313-btn:hover { transform: translateY(-1px); }
.wb313-btn-login { background: transparent; color: var(--wb313-text); border: 1.5px solid var(--wb313-primary); }
.wb313-btn-register { background: linear-gradient(135deg, var(--wb313-primary), var(--wb313-primary-dark)); color: #0a1a0a; box-shadow: 0 3px 10px rgba(50,205,50,0.4); }
.wb313-menu-btn { background: transparent; border: none; color: var(--wb313-primary); font-size: 2.2rem; cursor: pointer; padding: 0.4rem; min-width: 40px; min-height: 40px; border-radius: 8px; }
.wb313-menu-btn.wb313-active { background: rgba(50,205,50,0.15); }

/* ---------- Mobile menu ---------- */
.wb313-mobile-menu {
  position: fixed; top: 56px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; background: #2a2f2a;
  border-bottom: 2px solid var(--wb313-primary);
  z-index: 9999; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.wb313-mobile-menu.wb313-menu-open { max-height: 80vh; overflow-y: auto; }
.wb313-menu-list { list-style: none; padding: 0.6rem 1rem 1rem; }
.wb313-menu-list li { border-bottom: 1px solid rgba(50,205,50,0.12); }
.wb313-menu-list a { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 0.6rem; color: var(--wb313-text-light); font-size: 1.4rem; font-weight: 600; }
.wb313-menu-list a:hover { color: var(--wb313-primary); }
.wb313-menu-list i { color: var(--wb313-primary); width: 22px; text-align: center; }

/* ---------- Main ---------- */
.wb313-main { padding-top: 72px; padding-bottom: 84px; }
.wb313-section { padding: 1.6rem 1.2rem; }
.wb313-section-title { font-size: 2rem; font-weight: 800; color: var(--wb313-primary); margin-bottom: 1rem; border-left: 4px solid var(--wb313-primary); padding-left: 0.8rem; }
.wb313-section-subtitle { font-size: 1.35rem; color: var(--wb313-text-muted); margin-bottom: 1.2rem; }

/* ---------- Hero carousel ---------- */
.wb313-carousel { position: relative; width: 100%; height: 200px; overflow: hidden; border-radius: 14px; box-shadow: var(--wb313-shadow); margin: 1rem 0; }
.wb313-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.wb313-slide.wb313-slide-active { opacity: 1; }
.wb313-slide img { width: 100%; height: 200px; object-fit: cover; }
.wb313-slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); color: #fff; font-size: 1.4rem; font-weight: 700; }
.wb313-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.wb313-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; }
.wb313-dot.wb313-dot-active { background: var(--wb313-primary); width: 22px; border-radius: 4px; }
.wb313-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; z-index: 5; display: flex; align-items: center; justify-content: center; }
.wb313-carousel-arrow:hover { background: var(--wb313-primary); color: #0a1a0a; }
.wb313-arrow-prev { left: 8px; }
.wb313-arrow-next { right: 8px; }

/* ---------- Game grid ---------- */
.wb313-game-block { margin-bottom: 1.6rem; }
.wb313-cat-header { display: flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 1rem; }
.wb313-cat-icon { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--wb313-primary), var(--wb313-primary-dark)); display: flex; align-items: center; justify-content: center; color: #0a1a0a; font-size: 1.7rem; }
.wb313-cat-title { font-size: 1.8rem; font-weight: 800; color: var(--wb313-text); }
.wb313-cat-count { margin-left: auto; font-size: 1.15rem; color: var(--wb313-text-muted); }
.wb313-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.wb313-game-card { background: var(--wb313-card); border-radius: 10px; overflow: hidden; cursor: pointer; border: 1px solid var(--wb313-border); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; display: block; }
.wb313-game-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(50,205,50,0.3); border-color: var(--wb313-primary); }
.wb313-game-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #222; }
.wb313-game-name { padding: 0.5rem 0.4rem; font-size: 1.1rem; font-weight: 600; color: var(--wb313-text-light); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cards / info blocks ---------- */
.wb313-card { background: var(--wb313-card); border-radius: var(--wb313-radius); padding: 1.4rem; border: 1px solid var(--wb313-border); margin-bottom: 1.2rem; }
.wb313-card h2 { color: var(--wb313-primary); font-size: 1.8rem; margin-bottom: 0.8rem; }
.wb313-card h3 { color: var(--wb313-text); font-size: 1.5rem; margin: 0.8rem 0 0.4rem; }
.wb313-card p { margin-bottom: 0.8rem; color: #d6e8d6; font-size: 1.3rem; line-height: 1.5; }

/* ---------- Promo link styles ---------- */
.wb313-promo-link { color: var(--wb313-primary); font-weight: 800; text-decoration: underline; cursor: pointer; }
.wb313-promo-link:hover { color: var(--wb313-text); }
.wb313-promo-btn { display: inline-block; background: linear-gradient(135deg, var(--wb313-primary), var(--wb313-primary-dark)); color: #0a1a0a; font-weight: 800; padding: 1rem 2rem; border-radius: 24px; font-size: 1.5rem; cursor: pointer; border: none; box-shadow: 0 4px 14px rgba(50,205,50,0.4); margin: 0.6rem 0; }
.wb313-promo-btn:hover { transform: translateY(-2px); }

/* ---------- Features grid ---------- */
.wb313-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.wb313-feature-item { background: var(--wb313-card-light); border-radius: 10px; padding: 1rem; text-align: center; border: 1px solid var(--wb313-border); }
.wb313-feature-item i, .wb313-feature-item .material-icons-outlined { font-size: 2.6rem; color: var(--wb313-primary); margin-bottom: 0.4rem; }
.wb313-feature-item h3 { font-size: 1.3rem; color: var(--wb313-text); margin-bottom: 0.3rem; }
.wb313-feature-item p { font-size: 1.15rem; color: #cfe0cf; margin: 0; }

/* ---------- RTP table ---------- */
.wb313-rpt-wrap { overflow: hidden; border-radius: 10px; }
.wb313-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.wb313-rtp-table th, .wb313-rtp-table td { padding: 0.7rem 0.5rem; text-align: left; border-bottom: 1px solid var(--wb313-border); }
.wb313-rtp-table th { color: var(--wb313-primary); font-size: 1.25rem; background: rgba(50,205,50,0.08); }
.wb313-rtp-table td { color: #d6e8d6; }
.wb313-rtp-bar { height: 6px; background: #222; border-radius: 3px; overflow: hidden; margin-top: 0.3rem; }
.wb313-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--wb313-primary), #9AFF9A); border-radius: 3px; }

/* ---------- Winners ---------- */
.wb313-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.wb313-winner { background: var(--wb313-card-light); border-radius: 10px; padding: 0.8rem; display: flex; align-items: center; gap: 0.6rem; }
.wb313-winner i { color: var(--wb313-gold); font-size: 1.8rem; }
.wb313-winner-name { font-size: 1.2rem; font-weight: 700; color: var(--wb313-text-light); }
.wb313-winner-amount { font-size: 1.3rem; color: var(--wb313-primary); font-weight: 800; }

/* ---------- Testimonials ---------- */
.wb313-testimonial { background: var(--wb313-card-light); border-radius: 10px; padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--wb313-primary); }
.wb313-testimonial p { font-size: 1.25rem; color: #d6e8d6; font-style: italic; margin-bottom: 0.4rem; }
.wb313-testimonial-author { font-size: 1.1rem; color: var(--wb313-text-muted); }

/* ---------- Payment ---------- */
.wb313-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wb313-pay-item { background: #fff; border-radius: 8px; padding: 0.5rem 0.9rem; font-size: 1.1rem; font-weight: 700; color: #34495E; display: flex; align-items: center; gap: 0.4rem; }

/* ---------- App download CTA ---------- */
.wb313-app-cta { background: linear-gradient(135deg, #34495E, #006400); border-radius: var(--wb313-radius); padding: 1.6rem; text-align: center; border: 1px solid var(--wb313-primary); }
.wb313-app-cta h2 { color: var(--wb313-primary); font-size: 1.9rem; margin-bottom: 0.6rem; }
.wb313-app-cta p { color: #d6e8d6; margin-bottom: 1rem; font-size: 1.3rem; }
.wb313-app-buttons { display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------- Steps ---------- */
.wb313-steps { list-style: none; counter-reset: step; padding: 0; }
.wb313-steps li { counter-increment: step; position: relative; padding: 0.6rem 0 0.6rem 3rem; border-bottom: 1px solid var(--wb313-border); font-size: 1.25rem; color: #d6e8d6; }
.wb313-steps li::before { content: counter(step); position: absolute; left: 0; top: 0.5rem; width: 2rem; height: 2rem; background: var(--wb313-primary); color: #0a1a0a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }

/* ---------- Security list ---------- */
.wb313-security-list { list-style: none; padding: 0; }
.wb313-security-list li { padding: 0.6rem 0 0.6rem 2.4rem; position: relative; font-size: 1.25rem; color: #d6e8d6; border-bottom: 1px solid var(--wb313-border); }
.wb313-security-list li::before { content: '\2714'; position: absolute; left: 0; color: var(--wb313-primary); font-weight: 800; }

/* ---------- Footer ---------- */
.wb313-footer { background: #1f2a1f; border-top: 2px solid var(--wb313-primary); padding: 1.6rem 1.2rem; }
.wb313-footer-brand { color: var(--wb313-text-muted); font-size: 1.2rem; line-height: 1.5; margin-bottom: 1rem; }
.wb313-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.wb313-footer-promos .wb313-btn { font-size: 1.1rem; padding: 0.5rem 0.9rem; }
.wb313-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.wb313-footer-links a { color: var(--wb313-text); font-size: 1.15rem; text-decoration: underline; }
.wb313-footer-links a:hover { color: var(--wb313-primary); }
.wb313-copyright { color: var(--wb313-text-muted); font-size: 1.1rem; border-top: 1px solid var(--wb313-border); padding-top: 0.8rem; text-align: center; }

/* ---------- Bottom nav ---------- */
.wb313-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 62px;
  background: linear-gradient(180deg, #34495E, #1f2a1f);
  border-top: 2px solid var(--wb313-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -4px 12px rgba(0,0,0,0.5);
}
.wb313-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; background: transparent; border: none; color: var(--wb313-text-muted);
  font-size: 1rem; cursor: pointer; min-width: 60px; min-height: 60px;
  padding: 0.3rem; transition: color 0.15s, transform 0.15s; flex: 1;
  text-decoration: none;
}
.wb313-nav-btn i, .wb313-nav-btn .material-icons-outlined, .wb313-nav-btn ion-icon { font-size: 22px; }
.wb313-nav-btn:hover { color: var(--wb313-primary); transform: translateY(-2px); }
.wb313-nav-btn:active { transform: scale(0.92); }
.wb313-nav-current { color: var(--wb313-primary); }
.wb313-nav-current i, .wb313-nav-current .material-icons-outlined, .wb313-nav-current ion-icon { color: var(--wb313-primary); }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .wb313-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .wb313-main { padding-bottom: 84px; }
}
