/* ju88n stylesheet - all custom classes use the w0b2c- prefix */
/* Color palette: #2E4057 #36454F #F8F9FA #A9A9A9 #2C3E50 */

:root {
  --w0b2c-primary: #2C3E50;
  --w0b2c-secondary: #2E4057;
  --w0b2c-surface: #36454F;
  --w0b2c-bg: #2C3E50;
  --w0b2c-text: #F8F9FA;
  --w0b2c-muted: #A9A9A9;
  --w0b2c-accent: #E5A93B;
  --w0b2c-accent2: #34D1BF;
  --w0b2c-border: rgba(248,249,250,0.08);
}

html { font-size: 62.5%; }

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--w0b2c-bg);
  color: var(--w0b2c-text);
  line-height: 1.5;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

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

/* ============ Header ============ */
.w0b2c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w0b2c-primary), var(--w0b2c-surface));
  border-bottom: 1px solid var(--w0b2c-border);
  max-width: 430px;
  margin: 0 auto;
}
.w0b2c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.w0b2c-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--w0b2c-text);
  font-weight: 700;
  font-size: 1.8rem;
}
.w0b2c-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w0b2c-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w0b2c-menu-btn {
  background: transparent;
  border: 1px solid var(--w0b2c-border);
  color: var(--w0b2c-text);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.w0b2c-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 40px;
}
.w0b2c-btn:hover { transform: translateY(-1px); }
.w0b2c-btn-login {
  background: transparent;
  color: var(--w0b2c-text);
  border: 1px solid var(--w0b2c-muted);
}
.w0b2c-btn-register {
  background: linear-gradient(135deg, var(--w0b2c-accent), #d68f1c);
  color: #1f1402;
  box-shadow: 0 4px 12px rgba(229,169,59,0.3);
}

/* ============ Mobile menu ============ */
.w0b2c-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--w0b2c-surface);
  z-index: 9999;
  padding: 6rem 1.6rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.w0b2c-menu-open { right: 0; }
.w0b2c-mobile-menu a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--w0b2c-border);
  color: var(--w0b2c-text);
  font-size: 1.5rem;
}
.w0b2c-mobile-menu a:hover { color: var(--w0b2c-accent); }

/* ============ Layout ============ */
.w0b2c-main { padding-top: 6rem; }
.w0b2c-section { padding: 2rem 1.2rem; }
.w0b2c-section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: var(--w0b2c-text);
}
.w0b2c-section h3 {
  font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem;
  color: var(--w0b2c-accent);
}
.w0b2c-section p {
  color: var(--w0b2c-text);
  margin-bottom: 0.8rem;
}
.w0b2c-muted { color: var(--w0b2c-muted); }

/* ============ Carousel ============ */
.w0b2c-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 1.2rem;
}
.w0b2c-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.w0b2c-carousel-slide {
  min-width: 100%;
  position: relative;
}
.w0b2c-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.w0b2c-carousel-cta {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(0,0,0,0.55);
  color: var(--w0b2c-text);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
}
.w0b2c-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
}
.w0b2c-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--w0b2c-muted);
  cursor: pointer;
}
.w0b2c-dot-active { background: var(--w0b2c-accent); }

/* ============ Hero ============ */
.w0b2c-hero {
  text-align: center;
  padding: 2rem 1.2rem;
}
.w0b2c-hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.w0b2c-hero p { color: var(--w0b2c-muted); margin-bottom: 1.4rem; }
.w0b2c-cta-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ============ Game grid ============ */
.w0b2c-cat-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.7rem;
  margin: 1.6rem 1.2rem 0.8rem;
  color: var(--w0b2c-accent);
}
.w0b2c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0 1.2rem 1rem;
}
.w0b2c-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--w0b2c-surface);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.w0b2c-game:hover { transform: translateY(-2px); }
.w0b2c-game img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px;
}
.w0b2c-game-name {
  font-size: 1.15rem;
  color: var(--w0b2c-text);
  margin-top: 0.4rem;
  line-height: 1.2;
  height: 2.8rem;
  overflow: hidden;
}

/* ============ Cards ============ */
.w0b2c-card {
  background: var(--w0b2c-surface);
  border-radius: 12px;
  padding: 1.4rem;
  margin: 1rem 1.2rem;
  border: 1px solid var(--w0b2c-border);
}
.w0b2c-card h3 { margin-top: 0; }
.w0b2c-list { list-style: none; padding: 0; }
.w0b2c-list li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.w0b2c-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--w0b2c-accent2); }

/* ============ RTP table ============ */
.w0b2c-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.w0b2c-table th, .w0b2c-table td { padding: 0.7rem; border-bottom: 1px solid var(--w0b2c-border); text-align: left; }
.w0b2c-table th { color: var(--w0b2c-accent); }

/* ============ Testimonials ============ */
.w0b2c-testi {
  background: var(--w0b2c-surface);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 0.6rem 1.2rem;
}
.w0b2c-testi-name { font-weight: 700; color: var(--w0b2c-accent); margin-bottom: 0.4rem; }

/* ============ Promo banner ============ */
.w0b2c-promo {
  background: linear-gradient(135deg, var(--w0b2c-accent), #d68f1c);
  color: #1f1402;
  padding: 1.4rem;
  margin: 1rem 1.2rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}
.w0b2c-promo .w0b2c-btn { margin-top: 0.8rem; background: var(--w0b2c-primary); color: var(--w0b2c-text); }

/* ============ Footer ============ */
.w0b2c-footer {
  background: var(--w0b2c-secondary);
  padding: 2rem 1.2rem 8rem;
  border-top: 1px solid var(--w0b2c-border);
}
.w0b2c-footer h4 { color: var(--w0b2c-accent); margin-bottom: 0.6rem; font-size: 1.4rem; }
.w0b2c-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin: 0.6rem 0 1.2rem; }
.w0b2c-footer-links a { color: var(--w0b2c-text); font-size: 1.3rem; }
.w0b2c-footer-links a:hover { color: var(--w0b2c-accent); }
.w0b2c-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.w0b2c-footer-promos .w0b2c-btn { background: var(--w0b2c-accent); color: #1f1402; }
.w0b2c-copyright { color: var(--w0b2c-muted); font-size: 1.2rem; }

/* ============ Mobile bottom nav ============ */
.w0b2c-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, var(--w0b2c-surface), var(--w0b2c-primary));
  border-top: 1px solid var(--w0b2c-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.w0b2c-navbtn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--w0b2c-muted);
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  font-size: 1.1rem;
  gap: 0.2rem;
  transition: color 0.2s ease, transform 0.15s ease;
}
.w0b2c-navbtn:active { transform: scale(0.9); }
.w0b2c-navbtn .material-icons-outlined,
.w0b2c-navbtn .material-icons { font-size: 24px; }
.w0b2c-navbtn i.fas,
.w0b2c-navbtn i.far,
.w0b2c-navbtn i.fad,
.w0b2c-navbtn ion-icon { font-size: 22px; }
.w0b2c-navbtn span { font-size: 1.05rem; }
.w0b2c-navbtn-active { color: var(--w0b2c-accent); }

/* desktop rules */
@media (min-width: 769px) {
  .w0b2c-bottomnav { display: none; }
  body { max-width: 768px; }
  .w0b2c-header { max-width: 768px; }
}
@media (max-width: 768px) {
  .w0b2c-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .w0b2c-grid { grid-template-columns: repeat(2, 1fr); }
}
