/* abc7 live - core styles
 * CSS class prefix: w10f0-
 * Mobile-first, max-width 430px, root font 62.5% (1rem = 10px)
 * Palette: #DAA520 gold | #FFEB3B yellow | #FF5722 orange | #2C3E50 dark | #FFA500 amber
 * Comments in English per project standard.
 */

:root {
  --w10f0-gold: #DAA520;
  --w10f0-yellow: #FFEB3B;
  --w10f0-orange: #FF5722;
  --w10f0-dark: #2C3E50;
  --w10f0-amber: #FFA500;
  --w10f0-bg: #15202b;
  --w10f0-bg2: #1e2c3a;
  --w10f0-card: #20303f;
  --w10f0-text: #f5f7fa;
  --w10f0-muted: #b8c2cc;
  --w10f0-border: #2c4055;
  --w10f0-primary: #FFA500;
  --w10f0-accent: #FF5722;
}

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

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

body {
  font-family: "SolaimanLipi","Noto Sans Bengali","Hind Siliguri",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background: linear-gradient(160deg, var(--w10f0-bg) 0%, var(--w10f0-bg2) 100%);
  color: var(--w10f0-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--w10f0-gold); text-decoration: none; }
a:hover { color: var(--w10f0-yellow); }
img { max-width: 100%; display: block; }

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

/* ============ HEADER ============ */
.w10f0-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(90deg, var(--w10f0-dark) 0%, #1a2837 100%);
  border-bottom: 2px solid var(--w10f0-gold);
  padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.w10f0-logo { display: flex; align-items: center; gap: 0.6rem; }
.w10f0-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w10f0-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--w10f0-gold); letter-spacing: 0.5px; }

.w10f0-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w10f0-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: none; border-radius: 8px; padding: 0.7rem 1.1rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px; text-align: center;
}
.w10f0-btn:hover { transform: translateY(-1px); }
.w10f0-btn-login { background: transparent; color: var(--w10f0-yellow); border: 1.5px solid var(--w10f0-gold); }
.w10f0-btn-register { background: linear-gradient(90deg, var(--w10f0-orange), var(--w10f0-amber)); color: #fff; box-shadow: 0 2px 8px rgba(255,87,34,0.4); }
.w10f0-btn-gold { background: linear-gradient(90deg, var(--w10f0-gold), var(--w10f0-yellow)); color: var(--w10f0-dark); }
.w10f0-btn-block { display: flex; width: 100%; }

.w10f0-menubtn {
  background: transparent; border: none; color: var(--w10f0-gold);
  font-size: 2rem; cursor: pointer; padding: 0.4rem 0.6rem; min-width: 44px; min-height: 44px;
}

/* ============ NAV MENU ============ */
.w10f0-navmenu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--w10f0-dark); border-bottom: 2px solid var(--w10f0-gold);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}
.w10f0-navmenu.w10f0-nav-open { max-height: 460px; }
.w10f0-navmenu ul { list-style: none; padding: 0.6rem 0; }
.w10f0-navmenu li a {
  display: block; padding: 1rem 1.5rem; color: var(--w10f0-text);
  font-size: 1.4rem; border-bottom: 1px solid rgba(218,165,32,0.15);
}
.w10f0-navmenu li a:hover { background: rgba(255,165,0,0.12); color: var(--w10f0-yellow); }

/* ============ MAIN ============ */
main { padding-top: 64px; padding-bottom: 80px; }

.w10f0-hero { position: relative; padding: 1rem 0 0.5rem; }
.w10f0-carousel { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.45); }
.w10f0-slide { display: none; position: relative; cursor: pointer; }
.w10f0-slide.w10f0-slide-active { display: block; }
.w10f0-slide img { width: 100%; height: 180px; object-fit: cover; }
.w10f0-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.4rem 1rem 1rem; color: #fff;
}
.w10f0-slide-cap h2 { font-size: 1.7rem; font-weight: 700; color: var(--w10f0-yellow); }
.w10f0-slide-cap p { font-size: 1.2rem; color: var(--w10f0-muted); margin-top: 0.2rem; }
.w10f0-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.6rem 0; }
.w10f0-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; }
.w10f0-dot.w10f0-dot-active { background: var(--w10f0-gold); width: 20px; border-radius: 4px; }

/* ============ SECTIONS ============ */
.w10f0-section { padding: 1.4rem 0; }
.w10f0-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.8rem; font-weight: 700; color: var(--w10f0-yellow);
  margin-bottom: 0.8rem; padding-left: 0.8rem;
  border-left: 4px solid var(--w10f0-gold);
}
.w10f0-section-title .material-icons { font-size: 2.2rem; color: var(--w10f0-amber); }
.w10f0-h1 {
  font-size: 2rem; font-weight: 800; color: var(--w10f0-gold);
  text-align: center; margin: 1rem 0; line-height: 1.3;
}
.w10f0-intro { font-size: 1.35rem; color: var(--w10f0-muted); padding: 0 0.5rem; line-height: 1.55; }

/* ============ GAME GRID ============ */
.w10f0-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.2rem 0 0.7rem;
}
.w10f0-cat-title { font-size: 1.6rem; font-weight: 700; color: var(--w10f0-gold); }
.w10f0-cat-title .fas, .w10f0-cat-title .bi { margin-right: 0.5rem; color: var(--w10f0-orange); }
.w10f0-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.w10f0-game-card {
  background: var(--w10f0-card); border: 1px solid var(--w10f0-border);
  border-radius: 10px; padding: 0.5rem; text-align: center;
  cursor: pointer; transition: transform .15s ease, border-color .15s ease;
}
.w10f0-game-card:hover { transform: translateY(-2px); border-color: var(--w10f0-gold); }
.w10f0-game-card img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; }
.w10f0-game-name {
  font-size: 1.05rem; color: var(--w10f0-text); margin-top: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.w10f0-game-tag { font-size: 0.95rem; color: var(--w10f0-amber); }

/* ============ CARDS / INFO ============ */
.w10f0-card {
  background: var(--w10f0-card); border: 1px solid var(--w10f0-border);
  border-radius: 12px; padding: 1.2rem; margin-bottom: 1rem;
}
.w10f0-card h3 { font-size: 1.5rem; color: var(--w10f0-yellow); margin-bottom: 0.5rem; }
.w10f0-card p { font-size: 1.3rem; color: var(--w10f0-muted); line-height: 1.55; }
.w10f0-card ul { list-style: none; padding-left: 0; }
.w10f0-card li { font-size: 1.3rem; color: var(--w10f0-muted); padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.w10f0-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--w10f0-gold); position: absolute; left: 0; }

.w10f0-faq { border-bottom: 1px solid var(--w10f0-border); padding: 0.8rem 0; }
.w10f0-faq-q { font-size: 1.35rem; font-weight: 700; color: var(--w10f0-yellow); }
.w10f0-faq-a { font-size: 1.25rem; color: var(--w10f0-muted); margin-top: 0.3rem; line-height: 1.5; }

.w10f0-rtp-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed var(--w10f0-border); font-size: 1.25rem; }
.w10f0-rtp-row span:first-child { color: var(--w10f0-text); }
.w10f0-rtp-row span:last-child { color: var(--w10f0-amber); font-weight: 700; }

.w10f0-testi { background: var(--w10f0-card); border-left: 3px solid var(--w10f0-gold); border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 0.8rem; }
.w10f0-testi p { font-size: 1.25rem; color: var(--w10f0-muted); font-style: italic; }
.w10f0-testi .w10f0-author { display: block; margin-top: 0.4rem; font-size: 1.1rem; color: var(--w10f0-gold); font-weight: 700; }

.w10f0-pay { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w10f0-pay span { background: var(--w10f0-bg2); border: 1px solid var(--w10f0-border); border-radius: 8px; padding: 0.5rem 0.9rem; font-size: 1.15rem; color: var(--w10f0-text); }

.w10f0-cta {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem;
  background: linear-gradient(90deg, rgba(255,87,34,0.15), rgba(218,165,32,0.15));
  border: 1px solid var(--w10f0-gold); border-radius: 12px; text-align: center; margin: 1rem 0;
}
.w10f0-cta h3 { color: var(--w10f0-yellow); font-size: 1.6rem; }
.w10f0-cta p { color: var(--w10f0-muted); font-size: 1.25rem; }

.w10f0-promo-link { color: var(--w10f0-amber); font-weight: 700; cursor: pointer; }
.w10f0-promo-link:hover { color: var(--w10f0-yellow); text-decoration: underline; }

/* ============ FOOTER ============ */
.w10f0-footer {
  background: var(--w10f0-dark); border-top: 2px solid var(--w10f0-gold);
  padding: 1.4rem 1rem 1rem; margin-top: 1.5rem;
}
.w10f0-footer-brand { font-size: 1.25rem; color: var(--w10f0-muted); line-height: 1.5; margin-bottom: 0.8rem; }
.w10f0-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 0.8rem; }
.w10f0-footer-links a { font-size: 1.15rem; color: var(--w10f0-text); }
.w10f0-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.w10f0-footer-promo button { flex: 1 1 45%; }
.w10f0-footer-copy { font-size: 1.1rem; color: var(--w10f0-muted); border-top: 1px solid var(--w10f0-border); padding-top: 0.6rem; text-align: center; }

/* ============ MOBILE BOTTOM NAV ============ */
.w10f0-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 60px; background: var(--w10f0-dark);
  border-top: 2px solid var(--w10f0-gold);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.5);
}
.w10f0-bottomnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--w10f0-muted); font-size: 1rem; cursor: pointer;
  transition: color .15s ease, transform .15s ease; gap: 0.2rem;
}
.w10f0-bottomnav-btn .material-icons,
.w10f0-bottomnav-btn .fas,
.w10f0-bottomnav-btn .far,
.w10f0-bottomnav-btn .bi,
.w10f0-bottomnav-btn .icon { font-size: 22px; }
.w10f0-bottomnav-btn:hover { color: var(--w10f0-yellow); transform: scale(1.08); }
.w10f0-bottomnav-btn.w10f0-bottomnav-active { color: var(--w10f0-gold); }
.w10f0-bottomnav-btn.w10f0-bottomnav-active::after {
  content: ""; position: absolute; bottom: 0; width: 32px; height: 3px;
  background: var(--w10f0-orange); border-radius: 2px;
}
.w10f0-bottomnav-btn { position: relative; }

/* ============ DESKTOP ============ */
@media (min-width: 769px) {
  .w10f0-bottomnav { display: none; }
  main { padding-bottom: 2rem; }
  body { max-width: 430px; }
}

/* Hidden helper */
.w10f0-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
