/*
 * 2021.click - Core Stylesheet
 * All classes use w5c2b- prefix for namespace isolation
 * Color palette: #880E4F | #2C3E50 | #FA8072 | #FFFFBA
 */

/* === CSS Variables === */
:root {
  --w5c2b-primary: #880E4F;
  --w5c2b-secondary: #2C3E50;
  --w5c2b-accent: #FA8072;
  --w5c2b-light: #FFFFBA;
  --w5c2b-bg: #1a0a12;
  --w5c2b-bg-card: #2a1424;
  --w5c2b-bg-nav: #160a10;
  --w5c2b-text: #f5f0e8;
  --w5c2b-text-muted: #c4b8a8;
  --w5c2b-border: rgba(250, 128, 114, 0.2);
  --w5c2b-radius: 8px;
  --w5c2b-shadow: 0 4px 16px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--w5c2b-bg);
  color: var(--w5c2b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}
a { color: var(--w5c2b-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.w5c2b-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 52px;
  background: var(--w5c2b-bg-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 1000;
  border-bottom: 1px solid var(--w5c2b-border);
}
.w5c2b-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--w5c2b-light);
  font-weight: 700;
  font-size: 1.6rem;
  cursor: pointer;
}
.w5c2b-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.w5c2b-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.w5c2b-btn-register {
  background: var(--w5c2b-accent);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.w5c2b-btn-register:hover { background: #e06a5c; transform: scale(1.05); }
.w5c2b-btn-login {
  background: transparent;
  color: var(--w5c2b-accent);
  border: 1px solid var(--w5c2b-accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.w5c2b-btn-login:hover { background: rgba(250,128,114,0.1); }
.w5c2b-menu-toggle {
  background: none;
  border: none;
  color: var(--w5c2b-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* === Mobile Menu === */
.w5c2b-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.w5c2b-overlay-active { opacity: 1; pointer-events: auto; }
.w5c2b-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: var(--w5c2b-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.w5c2b-menu-active { right: 0; }
.w5c2b-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--w5c2b-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w5c2b-border);
}
.w5c2b-mobile-menu a:hover { color: var(--w5c2b-accent); }
.w5c2b-menu-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--w5c2b-text);
  font-size: 2rem;
  cursor: pointer;
}

/* === Main Content === */
main {
  padding-top: 52px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* === Carousel === */
.w5c2b-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--w5c2b-radius) var(--w5c2b-radius);
}
.w5c2b-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.w5c2b-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.w5c2b-slide-active { display: block; }
.w5c2b-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.w5c2b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.w5c2b-dot-active { background: var(--w5c2b-accent); width: 20px; border-radius: 4px; }

/* === Sections === */
.w5c2b-section {
  padding: 16px 12px;
}
.w5c2b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w5c2b-light);
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid var(--w5c2b-accent);
}
.w5c2b-section-subtitle {
  font-size: 1.4rem;
  color: var(--w5c2b-text-muted);
  margin-bottom: 10px;
}

/* === Game Grid === */
.w5c2b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.w5c2b-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.w5c2b-game-item:hover { transform: scale(1.05); }
.w5c2b-game-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  margin-bottom: 4px;
  object-fit: cover;
  border: 1px solid var(--w5c2b-border);
}
.w5c2b-game-name {
  font-size: 1.05rem;
  color: var(--w5c2b-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.w5c2b-category-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--w5c2b-accent);
  margin: 16px 0 8px;
  padding-left: 4px;
}

/* === Buttons === */
.w5c2b-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
}
.w5c2b-btn-primary {
  background: linear-gradient(135deg, var(--w5c2b-primary), var(--w5c2b-accent));
  color: #fff;
}
.w5c2b-btn-primary:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(136,14,79,0.4); }
.w5c2b-btn-outline {
  background: transparent;
  color: var(--w5c2b-accent);
  border: 1px solid var(--w5c2b-accent);
}
.w5c2b-btn-outline:hover { background: rgba(250,128,114,0.1); }
.w5c2b-btn-block { display: block; width: 100%; }

/* === Cards === */
.w5c2b-card {
  background: var(--w5c2b-bg-card);
  border-radius: var(--w5c2b-radius);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--w5c2b-border);
}
.w5c2b-card h3 {
  font-size: 1.5rem;
  color: var(--w5c2b-light);
  margin-bottom: 8px;
}
.w5c2b-card p {
  font-size: 1.3rem;
  color: var(--w5c2b-text-muted);
  line-height: 1.6;
}

/* === Bottom Navigation === */
.w5c2b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w5c2b-bg-nav);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--w5c2b-border);
}
.w5c2b-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--w5c2b-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px;
}
.w5c2b-nav-btn:hover, .w5c2b-nav-btn:focus { color: var(--w5c2b-accent); }
.w5c2b-nav-btn-icon { font-size: 22px; margin-bottom: 2px; }
.w5c2b-nav-btn-text { font-size: 1rem; line-height: 1.2; }
.w5c2b-nav-btn-active { color: var(--w5c2b-accent); }
.w5c2b-nav-btn-active .w5c2b-nav-btn-icon { transform: scale(1.15); }

/* === Footer === */
.w5c2b-footer {
  padding: 20px 12px 80px;
  text-align: center;
  background: var(--w5c2b-bg-card);
  border-top: 1px solid var(--w5c2b-border);
}
.w5c2b-footer-brand {
  font-size: 1.3rem;
  color: var(--w5c2b-text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.w5c2b-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.w5c2b-footer-links a {
  color: var(--w5c2b-accent);
  font-size: 1.2rem;
  padding: 4px 8px;
}
.w5c2b-footer-copy {
  font-size: 1.1rem;
  color: rgba(196,184,168,0.6);
  margin-top: 10px;
}

/* === Promo CTA === */
.w5c2b-cta-box {
  background: linear-gradient(135deg, var(--w5c2b-primary), #a8185e);
  border-radius: var(--w5c2b-radius);
  padding: 20px 14px;
  text-align: center;
  margin: 16px 0;
}
.w5c2b-cta-box h2 {
  font-size: 2rem;
  color: var(--w5c2b-light);
  margin-bottom: 8px;
}
.w5c2b-cta-box p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

/* === Testimonial === */
.w5c2b-testimonial {
  background: var(--w5c2b-bg-card);
  border-radius: var(--w5c2b-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--w5c2b-accent);
}
.w5c2b-testimonial p { font-size: 1.3rem; color: var(--w5c2b-text-muted); font-style: italic; }
.w5c2b-testimonial-author { font-size: 1.1rem; color: var(--w5c2b-accent); margin-top: 6px; }

/* === Feature Grid === */
.w5c2b-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.w5c2b-feature-item {
  background: var(--w5c2b-bg-card);
  border-radius: var(--w5c2b-radius);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--w5c2b-border);
}
.w5c2b-feature-item i, .w5c2b-feature-item .material-symbols-outlined {
  font-size: 28px;
  color: var(--w5c2b-accent);
  margin-bottom: 6px;
}
.w5c2b-feature-item h3 { font-size: 1.3rem; color: var(--w5c2b-light); margin-bottom: 4px; }
.w5c2b-feature-item p { font-size: 1.1rem; color: var(--w5c2b-text-muted); }

/* === Payment Methods === */
.w5c2b-payment-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.w5c2b-payment-item {
  background: var(--w5c2b-bg-card);
  border-radius: var(--w5c2b-radius);
  padding: 10px 16px;
  font-size: 1.3rem;
  color: var(--w5c2b-text);
  border: 1px solid var(--w5c2b-border);
}

/* === Winner Showcase === */
.w5c2b-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--w5c2b-border);
}
.w5c2b-winner-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.w5c2b-winner-info { flex: 1; }
.w5c2b-winner-name { font-size: 1.2rem; color: var(--w5c2b-light); }
.w5c2b-winner-amount { font-size: 1.1rem; color: var(--w5c2b-accent); font-weight: 700; }

/* === Help Content === */
.w5c2b-help-section { padding: 16px 12px; }
.w5c2b-faq-item { margin-bottom: 12px; }
.w5c2b-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w5c2b-light);
  margin-bottom: 4px;
}
.w5c2b-faq-a {
  font-size: 1.3rem;
  color: var(--w5c2b-text-muted);
  line-height: 1.6;
}

/* === Steps === */
.w5c2b-steps { counter-reset: step; }
.w5c2b-step {
  position: relative;
  padding: 12px 12px 12px 44px;
  margin-bottom: 10px;
  background: var(--w5c2b-bg-card);
  border-radius: var(--w5c2b-radius);
}
.w5c2b-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--w5c2b-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.w5c2b-step h3 { font-size: 1.3rem; color: var(--w5c2b-light); }
.w5c2b-step p { font-size: 1.2rem; color: var(--w5c2b-text-muted); }

/* === Desktop === */
@media (min-width: 769px) {
  .w5c2b-bottom-nav { display: none; }
  .w5c2b-menu-toggle { display: none; }
  main { padding-bottom: 20px; }
  .w5c2b-footer { padding-bottom: 20px; }
}

/* === Utility === */
.w5c2b-text-center { text-align: center; }
.w5c2b-mb-8 { margin-bottom: 8px; }
.w5c2b-mb-12 { margin-bottom: 12px; }
.w5c2b-mb-16 { margin-bottom: 16px; }
.w5c2b-mt-12 { margin-top: 12px; }
.w5c2b-mt-16 { margin-top: 16px; }
.w5c2b-promo-link {
  color: var(--w5c2b-accent);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--w5c2b-accent);
}
.w5c2b-promo-link:hover { color: #ffb3aa; }
