/* 9a999 site theme - base files only */
/* All custom classes use the w1f66- prefix for namespace isolation */

:root {
  --w1f66-primary: #FF9500;
  --w1f66-secondary: #34495E;
  --w1f66-accent: #FF8C00;
  --w1f66-light: #FFB347;
  --w1f66-bg: #1A1A2E;
  --w1f66-bg-soft: #21213d;
  --w1f66-card: #262648;
  --w1f66-text: #FFFFFF;
  --w1f66-text-soft: #E6E6F0;
  --w1f66-muted: #A9A9C8;
  --w1f66-border: rgba(255, 149, 0, 0.25);
  --w1f66-success: #2ecc71;
  --w1f66-danger: #e74c3c;
  --w1f66-radius: 14px;
  --w1f66-shadow: 0 6px 18px rgba(0, 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", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--w1f66-bg);
  color: var(--w1f66-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--w1f66-light); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* Header */
.w1f66-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1A1A2E 0%, #262648 100%);
  border-bottom: 2px solid var(--w1f66-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  max-width: 430px; margin: 0 auto;
}
.w1f66-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; gap: 0.8rem;
}
.w1f66-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.w1f66-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w1f66-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--w1f66-primary);
  letter-spacing: 0.5px; white-space: nowrap;
}
.w1f66-logo-text span { color: var(--w1f66-light); }
.w1f66-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w1f66-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; border-radius: 20px;
  font-size: 1.3rem; font-weight: 700; min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.w1f66-btn:hover { transform: translateY(-1px); }
.w1f66-btn-login {
  background: transparent; color: var(--w1f66-text);
  border: 1.5px solid var(--w1f66-light);
}
.w1f66-btn-register {
  background: linear-gradient(135deg, var(--w1f66-primary), var(--w1f66-accent));
  color: #1A1A2E; box-shadow: 0 3px 10px rgba(255, 149, 0, 0.45);
}
.w1f66-menu-btn {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 149, 0, 0.15); color: var(--w1f66-primary);
  font-size: 1.8rem;
}

/* Mobile slide-down menu */
.w1f66-mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 9999;
  width: 78%; max-width: 320px; height: 100vh;
  background: #1f1f3a; padding: 6rem 1.2rem 1.2rem;
  transform: translateX(100%); transition: transform 0.28s ease;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.5); overflow-y: auto;
}
.w1f66-mobile-menu.w1f66-menu-open { transform: translateX(0); }
.w1f66-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 149, 0, 0.15); color: var(--w1f66-primary);
  font-size: 1.8rem; display: inline-flex; align-items: center; justify-content: center;
}
.w1f66-menu-title {
  font-size: 1.6rem; font-weight: 800; color: var(--w1f66-primary);
  margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--w1f66-border);
}
.w1f66-menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.w1f66-menu-list a, .w1f66-menu-list button {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0.8rem; border-radius: 10px; width: 100%;
  color: var(--w1f66-text-soft); font-size: 1.4rem; font-weight: 600;
  text-align: left; transition: background 0.15s ease;
}
.w1f66-menu-list a:hover, .w1f66-menu-list button:hover {
  background: rgba(255, 149, 0, 0.12); color: var(--w1f66-primary);
}
.w1f66-menu-list i { color: var(--w1f66-primary); font-size: 1.6rem; width: 22px; text-align: center; }
.w1f66-menu-overlay {
  position: fixed; inset: 0; z-index: 9998; background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.w1f66-menu-overlay.w1f66-menu-open { opacity: 1; pointer-events: auto; }

/* Main content with bottom padding for mobile nav */
.w1f66-main { padding-top: 6rem; padding-bottom: 1rem; }
@media (max-width: 768px) {
  .w1f66-main { padding-bottom: 8rem; }
}

/* Slider / Carousel */
.w1f66-slider {
  position: relative; margin: 1rem 0; border-radius: var(--w1f66-radius);
  overflow: hidden; box-shadow: var(--w1f66-shadow);
}
.w1f66-slide {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  position: relative; min-height: 180px; cursor: pointer;
}
.w1f66-slide img { width: 100%; height: 180px; object-fit: cover; }
.w1f66-slide-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,46,0.1) 0%, rgba(26,26,46,0.78) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1.2rem;
}
.w1f66-slide-title { font-size: 1.7rem; font-weight: 800; color: #fff; }
.w1f66-slide-sub { font-size: 1.25rem; color: var(--w1f66-light); margin-top: 0.2rem; }
.w1f66-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(26, 26, 46, 0.7); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; z-index: 2;
}
.w1f66-slider-arrow.w1f66-prev { left: 0.6rem; }
.w1f66-slider-arrow.w1f66-next { right: 0.6rem; }
.w1f66-dots {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem; z-index: 2;
}
.w1f66-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5);
  cursor: pointer; transition: background 0.2s ease;
}
.w1f66-dot.w1f66-dot-active { background: var(--w1f66-primary); }

/* Section & headings */
.w1f66-section { margin: 1.6rem 0; }
.w1f66-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem; padding: 0 1.2rem;
}
.w1f66-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--w1f66-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.w1f66-section-title i { font-size: 1.8rem; }
.w1f66-section-more { font-size: 1.2rem; color: var(--w1f66-light); font-weight: 600; }

/* Category chips */
.w1f66-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.4rem 1.2rem 0.6rem; -webkit-overflow-scrolling: touch; }
.w1f66-chips::-webkit-scrollbar { display: none; }
.w1f66-chip {
  flex: 0 0 auto; padding: 0.5rem 1.1rem; border-radius: 18px;
  background: var(--w1f66-card); color: var(--w1f66-text-soft);
  font-size: 1.25rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: all 0.15s ease;
}
.w1f66-chip.w1f66-chip-active, .w1f66-chip:hover {
  background: var(--w1f66-primary); color: #1A1A2E; border-color: var(--w1f66-primary);
}

/* Game grid - compact icon layout */
.w1f66-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
  padding: 0 1.2rem;
}
@media (min-width: 400px) {
  .w1f66-game-grid { grid-template-columns: repeat(4, 1fr); }
}
.w1f66-game-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--w1f66-card); border-radius: 12px; padding: 0.6rem 0.4rem;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}
.w1f66-game-card:hover {
  transform: translateY(-2px); border-color: var(--w1f66-border);
  box-shadow: 0 6px 14px rgba(255, 149, 0, 0.2);
}
.w1f66-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px; margin-bottom: 0.4rem;
}
.w1f66-game-name {
  font-size: 1.1rem; color: var(--w1f66-text-soft); font-weight: 600;
  line-height: 1.25; min-height: 2.6em; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w1f66-game-badge {
  display: inline-block; margin-top: 0.3rem; padding: 0.1rem 0.5rem;
  font-size: 0.95rem; border-radius: 6px; background: rgba(255, 149, 0, 0.18);
  color: var(--w1f66-primary); font-weight: 700;
}

/* Promo CTA banner */
.w1f66-cta {
  background: linear-gradient(135deg, var(--w1f66-accent), var(--w1f66-primary));
  border-radius: var(--w1f66-radius); padding: 1.2rem; margin: 1.2rem;
  color: #1A1A2E; text-align: center; box-shadow: var(--w1f66-shadow);
}
.w1f66-cta h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.3rem; }
.w1f66-cta p { font-size: 1.25rem; margin-bottom: 0.8rem; color: #262648; }
.w1f66-cta-btn {
  display: inline-block; padding: 0.8rem 2rem; border-radius: 22px;
  background: #1A1A2E; color: var(--w1f66-primary); font-weight: 800; font-size: 1.35rem;
}

/* Info blocks */
.w1f66-info-card {
  background: var(--w1f66-card); border-radius: var(--w1f66-radius);
  padding: 1.2rem; margin: 1rem 1.2rem; border-left: 4px solid var(--w1f66-primary);
  box-shadow: var(--w1f66-shadow);
}
.w1f66-info-card h2 { font-size: 1.6rem; color: var(--w1f66-primary); margin-bottom: 0.5rem; }
.w1f66-info-card h3 { font-size: 1.4rem; color: var(--w1f66-light); margin: 0.6rem 0 0.3rem; }
.w1f66-info-card p { font-size: 1.3rem; color: var(--w1f66-text-soft); margin-bottom: 0.5rem; }
.w1f66-info-card ul { padding-left: 1.6rem; color: var(--w1f66-text-soft); }
.w1f66-info-card li { font-size: 1.3rem; margin-bottom: 0.3rem; }

/* Inline promo text link */
.w1f66-promo-link {
  color: var(--w1f66-primary); font-weight: 800; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}

/* Features grid */
.w1f66-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; padding: 0 1.2rem; }
.w1f66-feature {
  background: var(--w1f66-card); border-radius: 12px; padding: 1rem; text-align: center;
  border: 1px solid var(--w1f66-border);
}
.w1f66-feature i { font-size: 2.4rem; color: var(--w1f66-primary); margin-bottom: 0.4rem; }
.w1f66-feature h3 { font-size: 1.3rem; color: var(--w1f66-light); margin-bottom: 0.2rem; }
.w1f66-feature p { font-size: 1.15rem; color: var(--w1f66-text-soft); line-height: 1.35; }

/* Testimonials */
.w1f66-testimonial {
  background: var(--w1f66-card); border-radius: 12px; padding: 1rem; margin: 0.6rem 1.2rem;
  border-left: 3px solid var(--w1f66-light);
}
.w1f66-testimonial-name { font-size: 1.3rem; font-weight: 700; color: var(--w1f66-primary); }
.w1f66-testimonial-text { font-size: 1.25rem; color: var(--w1f66-text-soft); margin-top: 0.3rem; }
.w1f66-stars { color: #FFB347; font-size: 1.2rem; margin-top: 0.2rem; }

/* Payment methods */
.w1f66-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0 1.2rem; }
.w1f66-payment {
  flex: 1 1 calc(50% - 0.6rem); background: var(--w1f66-card); border-radius: 10px;
  padding: 0.8rem; display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--w1f66-border);
}
.w1f66-payment i { font-size: 2rem; color: var(--w1f66-primary); }
.w1f66-payment span { font-size: 1.2rem; font-weight: 600; color: var(--w1f66-text-soft); }

/* Winners showcase */
.w1f66-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; padding: 0 1.2rem; }
.w1f66-winner {
  background: var(--w1f66-card); border-radius: 10px; padding: 0.6rem 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.w1f66-winner-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--w1f66-primary);
  color: #1A1A2E; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.w1f66-winner-info { min-width: 0; }
.w1f66-winner-name { font-size: 1.15rem; font-weight: 700; color: var(--w1f66-light); }
.w1f66-winner-amount { font-size: 1.25rem; color: var(--w1f66-primary); font-weight: 800; }

/* App download */
.w1f66-app-cta {
  background: linear-gradient(135deg, #262648, #1A1A2E);
  border-radius: var(--w1f66-radius); padding: 1.2rem; margin: 1rem 1.2rem;
  border: 1px solid var(--w1f66-border); text-align: center;
}
.w1f66-app-cta h3 { font-size: 1.6rem; color: var(--w1f66-primary); margin-bottom: 0.4rem; }
.w1f66-app-cta p { font-size: 1.25rem; color: var(--w1f66-text-soft); margin-bottom: 0.8rem; }
.w1f66-app-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--w1f66-primary); color: #1A1A2E; font-weight: 800;
  padding: 0.8rem 1.6rem; border-radius: 24px; font-size: 1.3rem;
}

/* Footer */
.w1f66-footer {
  background: #14142a; padding: 1.6rem 1.2rem 2rem; margin-top: 1.6rem;
  border-top: 2px solid var(--w1f66-primary);
}
.w1f66-footer-brand { font-size: 1.3rem; color: var(--w1f66-text-soft); margin-bottom: 0.8rem; line-height: 1.5; }
.w1f66-footer-brand strong { color: var(--w1f66-primary); }
.w1f66-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.w1f66-footer-promos button, .w1f66-footer-promos a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1rem; border-radius: 18px; font-size: 1.15rem; font-weight: 700;
  background: rgba(255, 149, 0, 0.15); color: var(--w1f66-primary);
}
.w1f66-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 0.8rem; }
.w1f66-footer-links a { font-size: 1.15rem; color: var(--w1f66-muted); }
.w1f66-footer-links a:hover { color: var(--w1f66-primary); }
.w1f66-footer-copy { font-size: 1.1rem; color: var(--w1f66-muted); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.8rem; }

/* Mobile bottom navigation */
.w1f66-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, #262648 0%, #14142a 100%);
  border-top: 2px solid var(--w1f66-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 62px; padding: 0 0.2rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.w1f66-bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; gap: 0.2rem;
  color: var(--w1f66-muted); font-size: 1.05rem; font-weight: 600;
  transition: color 0.15s ease, transform 0.15s ease; position: relative;
}
.w1f66-bnav-btn i { font-size: 2.2rem; }
.w1f66-bnav-btn:hover, .w1f66-bnav-btn.w1f66-bnav-active { color: var(--w1f66-primary); transform: scale(1.06); }
.w1f66-bnav-btn.w1f66-bnav-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--w1f66-primary);
}
.w1f66-bnav-badge {
  position: absolute; top: 4px; right: 16px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--w1f66-danger); color: #fff;
  font-size: 0.9rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w1f66-bnav { display: none; }
  .w1f66-main { padding-bottom: 1.6rem; }
}

/* Desktop navigation (hidden on mobile) */
.w1f66-desktop-nav { display: none; }
@media (min-width: 769px) {
  .w1f66-desktop-nav {
    display: flex; gap: 1.4rem; align-items: center; flex: 1; justify-content: center;
  }
  .w1f66-desktop-nav a {
    color: var(--w1f66-text-soft); font-size: 1.3rem; font-weight: 600;
  }
  .w1f66-desktop-nav a:hover { color: var(--w1f66-primary); }
  .w1f66-menu-btn { display: none; }
}

/* Utility */
.w1f66-text-center { text-align: center; }
.w1f66-mt-1 { margin-top: 0.5rem; }
.w1f66-mt-2 { margin-top: 1rem; }
.w1f66-divider { height: 1px; background: var(--w1f66-border); margin: 1rem 1.2rem; }
