/* v73c - fa999 base theme styles (English comments) */
/* All custom class names use the v73c- prefix for namespace isolation */

:root {
  --v73c-primary: #ADFF2F;
  --v73c-secondary: #3CB371;
  --v73c-accent: #4B0082;
  --v73c-light: #9AFF9A;
  --v73c-dark: #333333;
  --v73c-muted: #A9A9A9;
  --v73c-bg: #1a1a1a;
  --v73c-bg-2: #242424;
  --v73c-bg-3: #2f2f2f;
  --v73c-card: #2a2a2a;
  --v73c-text: #f5f5f5;
  --v73c-text-soft: #d4d4d4;
  --v73c-gold: #FFD700;
  --v73c-danger: #ff4d4d;
  --v73c-header-h: 56px;
  --v73c-bottom-h: 60px;
  --v73c-radius: 10px;
  --v73c-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  --v73c-shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.6);
}

* { 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', sans-serif;
  background: var(--v73c-bg);
  color: var(--v73c-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.v73c-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; position: relative; }
.v73c-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== Header ===== */
.v73c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v73c-header-h);
  background: linear-gradient(90deg, #1a1a1a 0%, #2a1a3a 60%, #1a1a1a 100%);
  border-bottom: 2px solid var(--v73c-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.v73c-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.v73c-logo { display: flex; align-items: center; gap: 8px; color: var(--v73c-text); font-weight: 700; font-size: 1.8rem; }
.v73c-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v73c-logo span { background: linear-gradient(90deg, var(--v73c-primary), var(--v73c-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.v73c-header-actions { display: flex; align-items: center; gap: 8px; }
.v73c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-weight: 700; font-size: 1.3rem;
  padding: 8px 14px; border-radius: 20px; transition: transform .15s, box-shadow .15s, opacity .15s;
  min-height: 36px; text-decoration: none;
}
.v73c-btn:active { transform: scale(0.96); }
.v73c-btn-primary { background: linear-gradient(135deg, var(--v73c-primary), var(--v73c-secondary)); color: #1a1a1a; box-shadow: 0 3px 8px rgba(173, 255, 47, 0.3); }
.v73c-btn-secondary { background: linear-gradient(135deg, var(--v73c-accent), #2a0a4a); color: #fff; box-shadow: 0 3px 8px rgba(75, 0, 130, 0.4); }
.v73c-btn-ghost { background: transparent; color: var(--v73c-text); border: 1px solid var(--v73c-muted); }
.v73c-btn-block { display: flex; width: 100%; padding: 12px; font-size: 1.5rem; border-radius: var(--v73c-radius); }
.v73c-menu-btn {
  background: transparent; border: none; color: var(--v73c-text); font-size: 2rem; cursor: pointer;
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile slide-down menu ===== */
.v73c-mobile-menu {
  position: fixed; top: var(--v73c-header-h); left: 0; right: 0; z-index: 9999;
  background: #1d1d1d; border-bottom: 2px solid var(--v73c-primary);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
  box-shadow: var(--v73c-shadow-lg);
}
.v73c-mobile-menu.v73c-open { max-height: 80vh; overflow-y: auto; }
.v73c-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 12px; }
.v73c-mobile-menu a {
  display: block; padding: 12px 14px; color: var(--v73c-text-soft);
  border-bottom: 1px solid #333; font-size: 1.5rem;
}
.v73c-mobile-menu a:hover, .v73c-mobile-menu a:focus { color: var(--v73c-primary); background: #262626; }
.v73c-mobile-menu a i { color: var(--v73c-primary); margin-right: 10px; }

/* ===== Main content ===== */
.v73c-main { flex: 1; padding-top: calc(var(--v73c-header-h) + 8px); }
.v73c-section { padding: 18px 0; }
.v73c-section-title {
  font-size: 1.9rem; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; color: var(--v73c-text);
}
.v73c-section-title i { color: var(--v73c-primary); }
.v73c-section-sub { color: var(--v73c-muted); font-size: 1.35rem; margin-bottom: 12px; }

/* ===== Hero carousel ===== */
.v73c-hero { position: relative; border-radius: var(--v73c-radius); overflow: hidden; box-shadow: var(--v73c-shadow); }
.v73c-slides { position: relative; height: 180px; }
.v73c-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.v73c-slide.v73c-active { opacity: 1; }
.v73c-slide img { width: 100%; height: 100%; object-fit: cover; }
.v73c-slide-overlay {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.55); padding: 10px 12px; border-radius: 8px;
}
.v73c-slide-overlay h2 { color: var(--v73c-primary); font-size: 1.7rem; font-weight: 700; }
.v73c-slide-overlay p { color: #fff; font-size: 1.25rem; }
.v73c-slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4); color: #fff; border: none;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.v73c-slide-arrow:hover { background: var(--v73c-primary); color: #1a1a1a; }
.v73c-slide-prev { left: 8px; }
.v73c-slide-next { right: 8px; }
.v73c-slide-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.v73c-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; }
.v73c-slide-dot.v73c-active { background: var(--v73c-primary); width: 18px; border-radius: 4px; }

/* ===== Category chips ===== */
.v73c-chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 10px; -webkit-overflow-scrolling: touch; }
.v73c-chips::-webkit-scrollbar { display: none; }
.v73c-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 20px;
  background: var(--v73c-bg-3); color: var(--v73c-text-soft);
  font-size: 1.3rem; cursor: pointer; border: 1px solid #444; white-space: nowrap;
}
.v73c-chip.v73c-active { background: var(--v73c-primary); color: #1a1a1a; border-color: var(--v73c-primary); font-weight: 700; }

/* ===== Game grid ===== */
.v73c-game-group { margin-bottom: 22px; }
.v73c-group-title {
  font-size: 1.6rem; font-weight: 700; margin: 10px 0 10px;
  color: var(--v73c-primary); display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--v73c-primary); padding-left: 10px;
}
.v73c-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.v73c-game-card {
  background: var(--v73c-card); border-radius: var(--v73c-radius);
  overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s;
  border: 1px solid #3a3a3a; text-align: center;
}
.v73c-game-card:hover, .v73c-game-card:active {
  transform: translateY(-3px); box-shadow: var(--v73c-shadow); border-color: var(--v73c-primary);
}
.v73c-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #111; }
.v73c-game-name { padding: 6px 4px; font-size: 1.15rem; color: var(--v73c-text-soft); line-height: 1.25rem; min-height: 2.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Promo / CTA banner ===== */
.v73c-cta {
  background: linear-gradient(135deg, var(--v73c-accent), #1a0533);
  border-radius: var(--v73c-radius); padding: 18px; text-align: center;
  margin: 16px 0; border: 1px solid var(--v73c-primary);
  box-shadow: var(--v73c-shadow);
}
.v73c-cta h3 { color: var(--v73c-primary); font-size: 1.8rem; margin-bottom: 8px; }
.v73c-cta p { color: var(--v73c-text-soft); font-size: 1.3rem; margin-bottom: 12px; }

/* ===== Info / feature cards ===== */
.v73c-card { background: var(--v73c-card); border-radius: var(--v73c-radius); padding: 14px; margin-bottom: 12px; border: 1px solid #3a3a3a; }
.v73c-card h3 { color: var(--v73c-primary); font-size: 1.6rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.v73c-card p { color: var(--v73c-text-soft); font-size: 1.35rem; }
.v73c-card ul { list-style: none; padding: 0; }
.v73c-card ul li { padding: 6px 0 6px 22px; position: relative; color: var(--v73c-text-soft); font-size: 1.3rem; }
.v73c-card ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--v73c-secondary); }

.v73c-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v73c-mini-card { background: var(--v73c-card); border-radius: var(--v73c-radius); padding: 12px; text-align: center; border: 1px solid #3a3a3a; }
.v73c-mini-card i { font-size: 2.4rem; color: var(--v73c-primary); margin-bottom: 6px; }
.v73c-mini-card h4 { font-size: 1.35rem; color: var(--v73c-text); margin-bottom: 4px; }
.v73c-mini-card p { font-size: 1.2rem; color: var(--v73c-muted); }

/* ===== RTP table ===== */
.v73c-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.v73c-rtp-table th, .v73c-rtp-table td { padding: 8px 6px; border-bottom: 1px solid #3a3a3a; text-align: left; }
.v73c-rtp-table th { color: var(--v73c-primary); font-weight: 700; }
.v73c-rtp-table td { color: var(--v73c-text-soft); }
.v73c-rtp-bar { height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.v73c-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--v73c-secondary), var(--v73c-primary)); }

/* ===== Testimonials ===== */
.v73c-testimonial { background: var(--v73c-card); border-radius: var(--v73c-radius); padding: 12px; margin-bottom: 10px; border-left: 3px solid var(--v73c-primary); }
.v73c-testimonial p { color: var(--v73c-text-soft); font-size: 1.3rem; font-style: italic; }
.v73c-testimonial .v73c-stars { color: var(--v73c-gold); font-size: 1.2rem; margin-bottom: 4px; }
.v73c-testimonial cite { display: block; margin-top: 6px; color: var(--v73c-muted); font-size: 1.2rem; }

/* ===== Winners ===== */
.v73c-winner { display: flex; align-items: center; gap: 10px; background: var(--v73c-card); padding: 8px 10px; border-radius: 8px; margin-bottom: 8px; border: 1px solid #3a3a3a; }
.v73c-winner .v73c-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--v73c-primary), var(--v73c-secondary)); display: inline-flex; align-items: center; justify-content: center; color: #1a1a1a; font-weight: 700; }
.v73c-winner .v73c-info { flex: 1; }
.v73c-winner .v73c-info b { color: var(--v73c-text); font-size: 1.3rem; }
.v73c-winner .v73c-info span { display: block; color: var(--v73c-muted); font-size: 1.15rem; }
.v73c-winner .v73c-amount { color: var(--v73c-primary); font-weight: 700; font-size: 1.4rem; }

/* ===== Payment ===== */
.v73c-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.v73c-pay-item { background: var(--v73c-card); border: 1px solid #3a3a3a; border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--v73c-text-soft); font-size: 1.2rem; }
.v73c-pay-item i { color: var(--v73c-primary); }

/* ===== FAQ accordion ===== */
.v73c-faq-item { background: var(--v73c-card); border: 1px solid #3a3a3a; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.v73c-faq-q { padding: 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--v73c-text); font-weight: 600; font-size: 1.4rem; }
.v73c-faq-q .v73c-icon { color: var(--v73c-primary); transition: transform .2s; }
.v73c-faq-item.v73c-open .v73c-faq-q .v73c-icon { transform: rotate(45deg); }
.v73c-faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 12px; color: var(--v73c-text-soft); font-size: 1.3rem; }
.v73c-faq-item.v73c-open .v73c-faq-answer { padding-bottom: 12px; }

/* ===== Inline promo link ===== */
.v73c-promo-link { color: var(--v73c-primary); font-weight: 700; cursor: pointer; text-decoration: underline; }
.v73c-promo-link:hover { color: var(--v73c-light); }

/* ===== Footer ===== */
.v73c-footer { background: #161616; border-top: 2px solid var(--v73c-primary); padding: 22px 0 90px; margin-top: 20px; }
.v73c-footer .v73c-container { max-width: 430px; }
.v73c-footer-brand { color: var(--v73c-text-soft); font-size: 1.3rem; margin-bottom: 14px; line-height: 1.6rem; }
.v73c-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.v73c-footer-links a { background: var(--v73c-bg-3); color: var(--v73c-text-soft); padding: 6px 12px; border-radius: 16px; font-size: 1.2rem; border: 1px solid #3a3a3a; }
.v73c-footer-links a:hover { color: var(--v73c-primary); border-color: var(--v73c-primary); }
.v73c-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.v73c-footer-copy { color: var(--v73c-muted); font-size: 1.15rem; border-top: 1px solid #2a2a2a; padding-top: 12px; }

/* ===== Mobile bottom nav ===== */
.v73c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v73c-bottom-h);
  background: linear-gradient(180deg, #242424 0%, #161616 100%);
  border-top: 2px solid var(--v73c-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.5);
}
.v73c-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v73c-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 1.1rem; cursor: pointer; transition: color .15s, transform .15s;
  text-decoration: none; padding: 4px 0;
}
.v73c-bottom-nav-btn i { font-size: 22px; }
.v73c-bottom-nav-btn .material-icons-outlined { font-size: 24px; }
.v73c-bottom-nav-btn:hover, .v73c-bottom-nav-btn:active { color: var(--v73c-primary); transform: scale(1.05); }
.v73c-bottom-nav-btn.v73c-current { color: var(--v73c-primary); }
.v73c-bottom-nav-btn.v73c-current::after {
  content: ''; position: absolute; top: 0; width: 28px; height: 3px; background: var(--v73c-primary); border-radius: 0 0 4px 4px;
}
.v73c-bottom-nav-btn { position: relative; }
.v73c-bottom-nav-btn.v73c-promo { color: var(--v73c-primary); }
.v73c-bottom-nav-btn.v73c-promo i { background: linear-gradient(135deg, var(--v73c-primary), var(--v73c-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Back to top ===== */
.v73c-top-btn {
  position: fixed; right: 14px; bottom: calc(var(--v73c-bottom-h) + 14px); z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--v73c-primary); color: #1a1a1a; border: none; cursor: pointer;
  font-size: 1.6rem; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--v73c-shadow);
}
.v73c-top-btn.v73c-show { opacity: 1; pointer-events: auto; }

/* ===== Desktop adjustments ===== */
@media (min-width: 769px) {
  .v73c-bottom-nav { display: none; }
  .v73c-header-inner { max-width: 768px; }
  .v73c-container { max-width: 768px; }
  .v73c-grid { grid-template-columns: repeat(6, 1fr); }
  .v73c-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .v73c-footer { padding-bottom: 22px; }
}
@media (max-width: 768px) {
  .v73c-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .v73c-grid { grid-template-columns: repeat(2, 1fr); }
  .v73c-grid-2 { grid-template-columns: 1fr; }
}
