/* ============================================================
   phwin apk - layout-bf10.css
   All custom classes use the "wbf10-" prefix.
   Palette: #2C3E50 | #FFEB3B | #DCDCDC | #A9A9A9 | #1A1A1A
   Mobile-first, max-width 430px container.
   ============================================================ */

:root {
  --wbf10-bg-dark: #1A1A1A;
  --wbf10-bg-deep: #2C3E50;
  --wbf10-accent: #FFEB3B;
  --wbf10-light: #DCDCDC;
  --wbf10-muted: #A9A9A9;
  --wbf10-radius: 14px;
  --wbf10-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--wbf10-bg-dark);
  color: var(--wbf10-light);
  line-height: 1.5rem;
  font-size: 1.6rem;
}

/* rem base */
html { font-size: 62.5%; }

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

/* Layout container */
.wbf10-wrapper {
  max-width: 430px;
  margin: 0 auto;
  background: var(--wbf10-bg-dark);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* ============ Header ============ */
.wbf10-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--wbf10-bg-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,235,59,0.25);
}
.wbf10-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--wbf10-accent);
}
.wbf10-brand .wbf10-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.wbf10-brand .wbf10-tld { color: var(--wbf10-light); font-weight: 600; font-size: 1.3rem; }

.wbf10-header-actions { display: flex; align-items: center; gap: 8px; }
.wbf10-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 8px 14px;
  border-radius: 30px;
  min-height: 36px;
  transition: transform .15s ease, opacity .15s ease;
}
.wbf10-btn:active { transform: scale(0.96); }
.wbf10-btn-login {
  background: transparent;
  color: var(--wbf10-light);
  border: 1px solid var(--wbf10-muted);
}
.wbf10-btn-register {
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  box-shadow: 0 4px 12px rgba(255,235,59,0.35);
}
.wbf10-icon-btn {
  background: transparent;
  color: var(--wbf10-light);
  font-size: 2.2rem;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
}

/* ============ Mobile slide menu ============ */
.wbf10-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}
.wbf10-menu-backdrop.wbf10-is-visible { opacity: 1; pointer-events: auto; }

.wbf10-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--wbf10-bg-deep);
  transform: translateX(-100%);
  transition: transform .3s ease;
  z-index: 9999;
  padding: 18px;
  overflow-y: auto;
}
.wbf10-mobile-menu.wbf10-is-open { transform: translateX(0); }
.wbf10-menu-title {
  color: var(--wbf10-accent);
  font-size: 1.8rem; font-weight: 800;
  margin: 0 0 14px;
}
.wbf10-mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: var(--wbf10-light);
  border-bottom: 1px solid rgba(220,220,220,0.12);
  font-size: 1.5rem;
}
.wbf10-mobile-menu a:hover { background: rgba(255,235,59,0.08); }

/* ============ Hero / Carousel ============ */
.wbf10-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,235,59,0.2);
}
.wbf10-hero-slide {
  display: none;
  position: relative;
  padding: 22px 16px 26px;
  background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
}
.wbf10-hero-slide.wbf10-active { display: block; }
.wbf10-hero-slide .wbf10-hero-bg {
  position: absolute; inset: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
}
.wbf10-hero-inner { position: relative; z-index: 2; }
.wbf10-hero-title {
  font-size: 2.4rem; line-height: 1.2;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--wbf10-accent);
}
.wbf10-hero-text {
  color: var(--wbf10-light);
  margin: 0 0 14px;
  font-size: 1.45rem;
}
.wbf10-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 1.5rem;
}
.wbf10-hero-dots {
  display: flex; gap: 6px;
  justify-content: center;
  position: relative; z-index: 2;
  margin-top: 4px;
}
.wbf10-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wbf10-muted);
  cursor: pointer;
  border: 0;
}
.wbf10-hero-dot.wbf10-active { background: var(--wbf10-accent); width: 18px; border-radius: 4px; }

/* ============ Section titles ============ */
.wbf10-section {
  padding: 20px 14px 6px;
}
.wbf10-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.wbf10-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wbf10-accent);
  display: flex; align-items: center; gap: 8px;
}
.wbf10-section-title .material-symbols-outlined { font-size: 2.2rem; }
.wbf10-more { font-size: 1.3rem; color: var(--wbf10-light); }

/* ============ Category tabs ============ */
.wbf10-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 12px 12px;
  scrollbar-width: none;
}
.wbf10-cat-tabs::-webkit-scrollbar { display: none; }
.wbf10-cat-tab {
  flex: 0 0 auto;
  background: var(--wbf10-bg-deep);
  color: var(--wbf10-light);
  border: 1px solid rgba(220,220,220,0.15);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.wbf10-cat-tab.wbf10-active {
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  border-color: var(--wbf10-accent);
}

/* ============ Game grid ============ */
.wbf10-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 12px 12px;
}
.wbf10-game-card {
  position: relative;
  border-radius: var(--wbf10-radius);
  overflow: hidden;
  background: var(--wbf10-bg-deep);
  box-shadow: var(--wbf10-shadow);
  display: block;
}
.wbf10-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .25s ease;
}
.wbf10-game-card:hover img { transform: scale(1.04); }
.wbf10-game-name {
  font-size: 1.15rem;
  color: var(--wbf10-light);
  text-align: center;
  padding: 6px 4px 8px;
  background: var(--wbf10-bg-deep);
  line-height: 1.25;
}
.wbf10-game-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ============ Featured blocks ============ */
.wbf10-feature {
  display: flex;
  gap: 12px;
  background: var(--wbf10-bg-deep);
  border-radius: var(--wbf10-radius);
  padding: 12px;
  margin: 10px 12px;
  align-items: center;
  box-shadow: var(--wbf10-shadow);
}
.wbf10-feature .wbf10-feature-img {
  width: 88px; height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}
.wbf10-feature-body { flex: 1; }
.wbf10-feature-title {
  font-size: 1.5rem; font-weight: 800;
  color: var(--wbf10-accent);
  margin: 0 0 4px;
}
.wbf10-feature-desc {
  font-size: 1.25rem; color: var(--wbf10-light);
  margin: 0 0 8px;
  line-height: 1.4;
}
.wbf10-feature-link {
  font-weight: 700; font-size: 1.2rem;
  color: var(--wbf10-accent);
}

/* ============ SEO content ============ */
.wbf10-content {
  padding: 16px 14px;
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--wbf10-light);
}
.wbf10-content h2 {
  font-size: 1.85rem; color: var(--wbf10-accent);
  margin: 18px 0 8px;
}
.wbf10-content h3 {
  font-size: 1.55rem; color: var(--wbf10-light);
  margin: 14px 0 6px;
}
.wbf10-content p { margin: 0 0 10px; }
.wbf10-content ul { margin: 0 0 12px; padding-left: 20px; }
.wbf10-content li { margin-bottom: 6px; }
.wbf10-content strong { color: var(--wbf10-accent); }

/* ============ FAQ ============ */
.wbf10-faq { padding: 10px 14px; }
.wbf10-faq-item {
  background: var(--wbf10-bg-deep);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.wbf10-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--wbf10-accent);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 14px 16px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
}
.wbf10-faq-q .wbf10-faq-icon { color: var(--wbf10-muted); transition: transform .2s ease; }
.wbf10-faq-item.wbf10-open .wbf10-faq-icon { transform: rotate(45deg); color: var(--wbf10-accent); }
.wbf10-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 16px;
  color: var(--wbf10-light);
  font-size: 1.3rem;
}
.wbf10-faq-item.wbf10-open .wbf10-faq-a {
  max-height: 600px;
  padding: 0 16px 14px;
}

/* ============ Footer ============ */
.wbf10-footer {
  background: var(--wbf10-bg-deep);
  padding: 22px 14px 12px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,235,59,0.2);
}
.wbf10-footer h4 {
  color: var(--wbf10-accent);
  font-size: 1.45rem;
  margin: 0 0 8px;
}
.wbf10-footer p, .wbf10-footer a {
  font-size: 1.2rem;
  color: var(--wbf10-light);
  margin-bottom: 6px;
  display: block;
}
.wbf10-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.wbf10-footer-bottom {
  border-top: 1px solid rgba(220,220,220,0.12);
  padding-top: 10px;
  text-align: center;
  color: var(--wbf10-muted);
  font-size: 1.1rem;
}

/* ============ Mobile bottom nav ============ */
.wbf10-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--wbf10-bg-deep);
  border-top: 1px solid rgba(255,235,59,0.25);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 60px;
}
.wbf10-bottom-nav .wbf10-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  color: var(--wbf10-light);
  font-size: 1.05rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  padding: 6px 2px;
  transition: color .15s ease, transform .15s ease;
}
.wbf10-bottom-nav .wbf10-nav-btn .wbf10-nav-icon { font-size: 2.2rem; line-height: 1; }
.wbf10-bottom-nav .wbf10-nav-btn:hover { color: var(--wbf10-accent); }
.wbf10-bottom-nav .wbf10-nav-btn.wbf10-current { color: var(--wbf10-accent); }
.wbf10-bottom-nav .wbf10-nav-btn:active { transform: scale(0.92); }
.wbf10-bottom-nav .wbf10-nav-promo {
  position: relative;
  color: var(--wbf10-accent);
}

/* ============ Back to top ============ */
.wbf10-back-top {
  position: fixed;
  right: 14px; bottom: 76px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wbf10-accent);
  color: var(--wbf10-bg-deep);
  border: 0;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .15s ease;
}
.wbf10-back-top.wbf10-show { opacity: 1; pointer-events: auto; }
.wbf10-back-top:active { transform: scale(0.9); }

/* ============ Misc ============ */
.wbf10-pull-promo {
  display: block;
  margin: 14px 12px;
  padding: 14px;
  border-radius: var(--wbf10-radius);
  background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 60%, #2C3E50 100%);
  border: 1px solid rgba(255,235,59,0.35);
  color: var(--wbf10-accent);
  font-weight: 800;
  text-align: center;
  font-size: 1.5rem;
  box-shadow: var(--wbf10-shadow);
}

.wbf10-no-scroll { overflow: hidden; }

/* ============ Responsive / Desktop ============ */
@media (min-width: 769px) {
  .wbf10-bottom-nav { display: none; }
  .wbf10-wrapper { box-shadow: 0 0 40px rgba(0,0,0,0.7); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

@media (max-width: 360px) {
  .wbf10-game-grid { grid-template-columns: repeat(2, 1fr); }
  .wbf10-hero-title { font-size: 2rem; }
}
