/* ============================================================
 * tk6688.click - core theme stylesheet
 * Prefix: w4aee-  |  All custom classes use this prefix
 * Palette: #B8860B (gold) | #2C3E50 (deep slate)
 * Mobile-first, root font 62.5% => 1rem = 10px
 * ============================================================ */

:root {
  --w4aee-primary: #B8860B;
  --w4aee-primary-dark: #8c6608;
  --w4aee-primary-light: #e0a93f;
  --w4aee-bg: #2C3E50;
  --w4aee-bg-dark: #1f2c3a;
  --w4aee-bg-light: #34495e;
  --w4aee-text: #f5f1e6;
  --w4aee-text-muted: #c9d1da;
  --w4aee-card: #34495e;
  --w4aee-card-border: #415972;
  --w4aee-accent: #e0a93f;
  --w4aee-danger: #c0392b;
  --w4aee-success: #27ae60;
  --w4aee-radius: 1.2rem;
  --w4aee-shadow: 0 4px 14px rgba(0,0,0,.35);
}

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

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

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

img { max-width: 100%; display: block; }
a { color: var(--w4aee-primary-light); text-decoration: none; }
a:hover, a:focus { color: var(--w4aee-accent); text-decoration: underline; }

/* ---------- Layout ---------- */
.w4aee-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.w4aee-container { width: 100%; padding: 0 1.2rem; }
main { padding-bottom: 8rem; }

/* ---------- Header / Top nav ---------- */
.w4aee-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, var(--w4aee-bg-dark), var(--w4aee-bg));
  border-bottom: 2px solid var(--w4aee-primary);
  box-shadow: var(--w4aee-shadow);
}
.w4aee-header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.2rem; gap: .6rem;
}
.w4aee-logo {
  display: flex; align-items: center; gap: .6rem; min-width: 0;
}
.w4aee-logo img { width: 3rem; height: 3rem; border-radius: .6rem; }
.w4aee-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--w4aee-primary-light);
  white-space: nowrap; letter-spacing: .03rem;
}
.w4aee-logo-text span { color: var(--w4aee-text); }
.w4aee-header-actions { display: flex; align-items: center; gap: .5rem; }
.w4aee-menu-btn {
  background: transparent; border: 1px solid var(--w4aee-card-border);
  color: var(--w4aee-text); border-radius: .6rem;
  width: 3.2rem; height: 3.2rem; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.w4aee-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.4rem; border-radius: 2rem; border: none;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 3.6rem; line-height: 1; text-decoration: none;
}
.w4aee-btn:hover { text-decoration: none; transform: translateY(-1px); }
.w4aee-btn-register {
  background: linear-gradient(135deg, var(--w4aee-primary), var(--w4aee-primary-light));
  color: #2C3E50;
}
.w4aee-btn-login {
  background: transparent; color: var(--w4aee-primary-light);
  border: 1.5px solid var(--w4aee-primary);
}
.w4aee-btn-block { display: flex; width: 100%; }
.w4aee-btn-lg { padding: 1rem 2rem; font-size: 1.5rem; min-height: 4.4rem; }

/* ---------- Mobile menu (expandable) ---------- */
.w4aee-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  background: var(--w4aee-bg-dark); border-top: 1px solid var(--w4aee-card-border);
}
.w4aee-mobile-menu.w4aee-open { max-height: 60rem; }
.w4aee-mobile-menu-inner { padding: .6rem 1.2rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.w4aee-mobile-menu-inner a {
  display: flex; align-items: center; gap: .5rem;
  padding: .9rem 1rem; border-radius: .8rem;
  background: var(--w4aee-card); color: var(--w4aee-text);
  font-size: 1.25rem; font-weight: 600; border: 1px solid var(--w4aee-card-border);
}
.w4aee-mobile-menu-inner a i { color: var(--w4aee-primary-light); font-size: 1.4rem; }

/* ---------- Hero / Carousel ---------- */
.w4aee-hero {
  margin-top: 6.4rem; position: relative; overflow: hidden;
  border-bottom: 2px solid var(--w4aee-primary-dark);
}
.w4aee-carousel { position: relative; height: 20rem; }
.w4aee-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.w4aee-slide.w4aee-active { opacity: 1; }
.w4aee-slide img { width: 100%; height: 100%; object-fit: cover; }
.w4aee-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(31,44,58,.92), rgba(31,44,58,.1));
  padding: 1.2rem; color: var(--w4aee-text);
}
.w4aee-slide-overlay h2 { font-size: 1.7rem; color: var(--w4aee-primary-light); margin-bottom: .3rem; }
.w4aee-slide-overlay p { font-size: 1.2rem; color: var(--w4aee-text-muted); }
.w4aee-dots {
  position: absolute; bottom: .8rem; right: 1rem; display: flex; gap: .4rem; z-index: 5;
}
.w4aee-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(245,241,230,.4); cursor: pointer; border: none;
}
.w4aee-dot.w4aee-active { background: var(--w4aee-primary); }

/* ---------- Sections ---------- */
.w4aee-section { padding: 2rem 1.2rem; }
.w4aee-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--w4aee-primary-light);
  margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem;
  border-left: 4px solid var(--w4aee-primary); padding-left: .8rem;
}
.w4aee-section-title i { color: var(--w4aee-accent); font-size: 1.9rem; }
.w4aee-lead { color: var(--w4aee-text-muted); margin-bottom: 1.2rem; font-size: 1.3rem; }

.w4aee-h1 {
  font-size: 2rem; font-weight: 800; color: var(--w4aee-text);
  margin: 1.6rem 0 1rem; line-height: 1.35;
}
.w4aee-h1 b { color: var(--w4aee-primary-light); }
.w4aee-h2 {
  font-size: 1.6rem; font-weight: 700; color: var(--w4aee-primary-light);
  margin: 1.6rem 0 .8rem;
}
.w4aee-h3 {
  font-size: 1.4rem; font-weight: 700; color: var(--w4aee-text);
  margin: 1.2rem 0 .6rem;
}

.w4aee-p { margin-bottom: 1rem; color: var(--w4aee-text-muted); font-size: 1.3rem; }
.w4aee-p b { color: var(--w4aee-primary-light); }

/* ---------- Category header ---------- */
.w4aee-cat-head {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.6rem 0 .8rem; padding: .6rem 1rem;
  background: linear-gradient(90deg, var(--w4aee-bg-light), var(--w4aee-bg-dark));
  border-left: 4px solid var(--w4aee-primary); border-radius: .6rem;
}
.w4aee-cat-head i { color: var(--w4aee-primary-light); font-size: 1.6rem; }
.w4aee-cat-head h3 { font-size: 1.5rem; font-weight: 700; color: var(--w4aee-text); }

/* ---------- Game grid ---------- */
.w4aee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.w4aee-game-card {
  background: var(--w4aee-card); border: 1px solid var(--w4aee-card-border);
  border-radius: .8rem; overflow: hidden; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  text-align: center;
}
.w4aee-game-card:hover, .w4aee-game-card:focus {
  transform: translateY(-2px); border-color: var(--w4aee-primary);
}
.w4aee-game-thumb {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #000;
}
.w4aee-game-name {
  font-size: 1.05rem; padding: .4rem .3rem .5rem; color: var(--w4aee-text);
  font-weight: 600; line-height: 1.25; min-height: 2.6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Promo CTA strip ---------- */
.w4aee-cta {
  background: linear-gradient(135deg, var(--w4aee-primary), var(--w4aee-primary-dark));
  color: #2C3E50; border-radius: var(--w4aee-radius);
  padding: 1.4rem; text-align: center; margin: 1.4rem 0;
}
.w4aee-cta h3 { font-size: 1.6rem; margin-bottom: .4rem; color: #2C3E50; }
.w4aee-cta p { color: #3a2c08; font-size: 1.2rem; margin-bottom: .8rem; }
.w4aee-cta .w4aee-btn { background: #2C3E50; color: var(--w4aee-primary-light); }

/* ---------- Info cards ---------- */
.w4aee-card {
  background: var(--w4aee-card); border: 1px solid var(--w4aee-card-border);
  border-radius: var(--w4aee-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.w4aee-card h3 { color: var(--w4aee-primary-light); font-size: 1.4rem; margin-bottom: .5rem; }
.w4aee-card p { color: var(--w4aee-text-muted); font-size: 1.25rem; }
.w4aee-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

/* ---------- RTP table ---------- */
.w4aee-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w4aee-rtp-table th, .w4aee-rtp-table td {
  padding: .6rem .4rem; border-bottom: 1px solid var(--w4aee-card-border); text-align: left;
}
.w4aee-rtp-table th { color: var(--w4aee-primary-light); }
.w4aee-rtp-table td.w4aee-rtphigh { color: var(--w4aee-success); font-weight: 700; }

/* ---------- Testimonials ---------- */
.w4aee-quote {
  border-left: 3px solid var(--w4aee-primary); padding: .6rem 1rem;
  margin-bottom: .8rem; background: var(--w4aee-bg-dark); border-radius: .6rem;
}
.w4aee-quote p { font-style: italic; color: var(--w4aee-text); font-size: 1.25rem; }
.w4aee-quote cite { display: block; color: var(--w4aee-primary-light); font-size: 1.1rem; margin-top: .3rem; }

/* ---------- Winners ---------- */
.w4aee-winner {
  display: flex; align-items: center; gap: .8rem;
  background: var(--w4aee-bg-dark); border-radius: .8rem; padding: .7rem 1rem; margin-bottom: .6rem;
}
.w4aee-winner .w4aee-amount { color: var(--w4aee-primary-light); font-weight: 800; font-size: 1.3rem; }
.w4aee-winner .w4aee-wgame { color: var(--w4aee-text-muted); font-size: 1.15rem; }
.w4aee-winner .material-icons-outlined { color: var(--w4aee-accent); }

/* ---------- Payment ---------- */
.w4aee-pay-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.w4aee-pay-chip {
  background: var(--w4aee-card); border: 1px solid var(--w4aee-card-border);
  padding: .5rem .9rem; border-radius: 2rem; font-size: 1.1rem; color: var(--w4aee-text);
  display: inline-flex; align-items: center; gap: .3rem;
}

/* ---------- App download ---------- */
.w4aee-app-cta {
  background: linear-gradient(135deg, var(--w4aee-bg-light), var(--w4aee-bg-dark));
  border: 1px solid var(--w4aee-primary); border-radius: var(--w4aee-radius);
  padding: 1.4rem; text-align: center; margin: 1.4rem 0;
}
.w4aee-app-cta h3 { color: var(--w4aee-primary-light); font-size: 1.6rem; margin-bottom: .4rem; }

/* ---------- FAQ ---------- */
.w4aee-faq-item {
  background: var(--w4aee-card); border: 1px solid var(--w4aee-card-border);
  border-radius: .8rem; padding: .9rem 1rem; margin-bottom: .7rem;
}
.w4aee-faq-item h4 { color: var(--w4aee-primary-light); font-size: 1.3rem; margin-bottom: .3rem; }
.w4aee-faq-item p { color: var(--w4aee-text-muted); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.w4aee-footer {
  background: var(--w4aee-bg-dark); border-top: 2px solid var(--w4aee-primary);
  padding: 1.6rem 1.2rem 2rem; margin-top: 1rem;
}
.w4aee-footer-about { color: var(--w4aee-text-muted); font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.5; }
.w4aee-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.w4aee-footer-promo .w4aee-btn { font-size: 1.1rem; padding: .5rem 1rem; min-height: 3rem; }
.w4aee-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; margin-bottom: 1rem; }
.w4aee-footer-links a { color: var(--w4aee-text-muted); font-size: 1.15rem; }
.w4aee-footer-copy { color: var(--w4aee-text-muted); font-size: 1.1rem; border-top: 1px solid var(--w4aee-card-border); padding-top: .8rem; }

/* ---------- Bottom nav (fixed, mobile only) ---------- */
.w4aee-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 6rem; background: var(--w4aee-bg-dark);
  border-top: 2px solid var(--w4aee-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.w4aee-bottomnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  background: transparent; border: none; color: var(--w4aee-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; cursor: pointer; padding: .3rem; transition: color .15s ease, transform .15s ease;
}
.w4aee-bottomnav-btn i, .w4aee-bottomnav-btn .material-icons-outlined,
.w4aee-bottomnav-btn .ionicon { font-size: 2.2rem; }
.w4aee-bottomnav-btn span { font-size: 1rem; font-weight: 600; }
.w4aee-bottomnav-btn:active { transform: scale(.92); color: var(--w4aee-primary-light); }
.w4aee-bottomnav-btn:hover { color: var(--w4aee-primary-light); }
.w4aee-bottomnav-btn.w4aee-current { color: var(--w4aee-primary); }
.w4aee-bottomnav-btn.w4aee-current span { color: var(--w4aee-primary-light); }
.w4aee-bn-promo { color: var(--w4aee-primary-light); }

/* ---------- Helpers ---------- */
.w4aee-text-link { color: var(--w4aee-primary-light); font-weight: 700; }
.w4aee-divider { height: 1px; background: var(--w4aee-card-border); margin: 1.2rem 0; border: none; }
.w4aee-list { list-style: none; padding: 0; }
.w4aee-list li { padding: .4rem 0 .4rem 1.4rem; position: relative; color: var(--w4aee-text-muted); font-size: 1.25rem; }
.w4aee-list li::before { content: "▸"; position: absolute; left: 0; color: var(--w4aee-primary); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w4aee-bottomnav { display: none; }
  main { padding-bottom: 2rem; }
}

/* ---------- Small mobile tweaks ---------- */
@media (max-width: 360px) {
  .w4aee-grid { grid-template-columns: repeat(2, 1fr); }
  .w4aee-logo-text { font-size: 1.4rem; }
  .w4aee-btn { padding: .6rem 1rem; font-size: 1.1rem; }
}
