/**
 * VIP Dhaka - Core Stylesheet
 * Class prefix: vc53-
 * Color palette: #9AFF9A, #262626, #95A5A6, #CED4DA, #0097A7, #008000
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --vc53-primary: #0097A7;
  --vc53-primary-dark: #007B8A;
  --vc53-accent: #9AFF9A;
  --vc53-accent2: #008000;
  --vc53-bg: #262626;
  --vc53-bg-light: #1e1e1e;
  --vc53-bg-card: #2d2d2d;
  --vc53-text: #CED4DA;
  --vc53-text-light: #ffffff;
  --vc53-text-muted: #95A5A6;
  --vc53-border: #3a3a3a;
  --vc53-gold: #FFD700;
  --vc53-danger: #e74c3c;
  --vc53-success: #008000;
  --vc53-header-h: 5.6rem;
  --vc53-bottom-h: 6.4rem;
  font-size: 62.5%;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--vc53-text);
  background: var(--vc53-bg);
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vc53-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.vc53-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--vc53-header-h);
  background: linear-gradient(135deg, var(--vc53-bg-light) 0%, #1a1a2e 100%);
  border-bottom: 2px solid var(--vc53-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}
.vc53-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vc53-logo-wrap img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}
.vc53-logo-wrap span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vc53-accent);
  letter-spacing: 0.5px;
}
.vc53-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vc53-btn-register, .vc53-btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.vc53-btn-register {
  background: linear-gradient(135deg, var(--vc53-primary) 0%, var(--vc53-accent2) 100%);
  color: #fff;
}
.vc53-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(0,151,167,0.5); }
.vc53-btn-login {
  background: transparent;
  color: var(--vc53-accent);
  border: 1.5px solid var(--vc53-accent);
}
.vc53-btn-login:hover { background: rgba(154,255,154,0.1); }
.vc53-menu-toggle {
  background: none;
  border: none;
  color: var(--vc53-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Overlay */
.vc53-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.vc53-overlay-active { opacity: 1; visibility: visible; }

/* Mobile Menu Panel */
.vc53-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 0;
  overflow-y: auto;
}
.vc53-menu-active { right: 0; }
.vc53-mobile-menu .vc53-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--vc53-accent);
  font-size: 2.8rem;
  cursor: pointer;
}
.vc53-mobile-menu .vc53-menu-header {
  padding: 1rem 1.5rem 2rem;
  border-bottom: 1px solid var(--vc53-border);
  margin-bottom: 1rem;
}
.vc53-mobile-menu .vc53-menu-header h3 {
  color: var(--vc53-accent);
  font-size: 1.8rem;
}
.vc53-mobile-menu .vc53-menu-header p {
  color: var(--vc53-text-muted);
  font-size: 1.2rem;
  margin-top: 0.3rem;
}
.vc53-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  color: var(--vc53-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s ease;
}
.vc53-mobile-menu a:hover, .vc53-mobile-menu a:focus {
  background: rgba(0,151,167,0.15);
  color: var(--vc53-primary);
}
.vc53-mobile-menu a i, .vc53-mobile-menu a .material-icons {
  font-size: 2rem;
  color: var(--vc53-primary);
}

/* Bottom Navigation */
.vc53-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--vc53-bottom-h);
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  border-top: 1.5px solid var(--vc53-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0.4rem 0;
}
.vc53-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--vc53-text-muted);
  min-width: 6rem;
  min-height: 5.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.3rem;
}
.vc53-bottom-nav button:hover, .vc53-bottom-nav button:focus {
  color: var(--vc53-accent);
  transform: scale(1.1);
}
.vc53-bottom-nav button.vc53-nav-active {
  color: var(--vc53-primary);
}
.vc53-bottom-nav button i,
.vc53-bottom-nav button .material-icons,
.vc53-bottom-nav button ion-icon {
  font-size: 2.4rem;
}
.vc53-bottom-nav button span {
  font-size: 1rem;
  font-weight: 500;
}

/* Main Content */
main {
  padding-top: calc(var(--vc53-header-h) + 0.5rem);
  padding-bottom: 1rem;
}

/* Carousel */
.vc53-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}
.vc53-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.vc53-slide-active { display: block; }
.vc53-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}
.vc53-slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}
.vc53-slide-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.vc53-dot-active {
  background: var(--vc53-accent);
  transform: scale(1.3);
}

/* Section */
.vc53-section {
  padding: 1.5rem 1.2rem;
}
.vc53-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vc53-text-light);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vc53-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 2rem;
  background: var(--vc53-primary);
  border-radius: 2px;
}

/* Game Grid */
.vc53-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vc53-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--vc53-primary);
}
.vc53-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vc53-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: var(--vc53-bg-card);
  border-radius: 0.8rem;
  padding: 0.6rem 0.3rem;
  border: 1px solid var(--vc53-border);
}
.vc53-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--vc53-primary);
  box-shadow: 0 4px 12px rgba(0,151,167,0.2);
}
.vc53-game-item img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.6rem;
  object-fit: cover;
  margin-bottom: 0.4rem;
}
.vc53-game-item span {
  font-size: 1rem;
  color: var(--vc53-text);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Cards */
.vc53-card {
  background: var(--vc53-bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--vc53-border);
}
.vc53-card h2 {
  font-size: 1.7rem;
  color: var(--vc53-accent);
  margin-bottom: 0.8rem;
}
.vc53-card h3 {
  font-size: 1.5rem;
  color: var(--vc53-primary);
  margin-bottom: 0.6rem;
}
.vc53-card p {
  color: var(--vc53-text);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}
.vc53-card ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}
.vc53-card ul li {
  color: var(--vc53-text);
  font-size: 1.3rem;
  line-height: 1.8;
  position: relative;
  padding-left: 1.2rem;
}
.vc53-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--vc53-accent2);
  font-size: 1rem;
}

/* Promo Link Styles */
.vc53-promo-text {
  color: var(--vc53-primary);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}
.vc53-promo-text:hover { color: var(--vc53-accent); text-decoration: underline; }
.vc53-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vc53-primary) 0%, var(--vc53-accent2) 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0,151,167,0.3);
}
.vc53-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,151,167,0.5);
}

/* Testimonial */
.vc53-testimonial {
  background: var(--vc53-bg-card);
  border-radius: 1rem;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vc53-primary);
}
.vc53-testimonial p { font-size: 1.3rem; font-style: italic; }
.vc53-testimonial .vc53-author {
  color: var(--vc53-accent);
  font-size: 1.2rem;
  font-style: normal;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Winner Showcase */
.vc53-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--vc53-bg-card);
  border-radius: 0.8rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--vc53-border);
}
.vc53-winner-item img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}
.vc53-winner-info { flex: 1; }
.vc53-winner-info .vc53-name { font-size: 1.2rem; color: var(--vc53-text-light); font-weight: 600; }
.vc53-winner-info .vc53-amount { font-size: 1.4rem; color: var(--vc53-gold); font-weight: 700; }
.vc53-winner-info .vc53-game { font-size: 1rem; color: var(--vc53-text-muted); }

/* Payment Methods */
.vc53-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.vc53-payment-item {
  background: var(--vc53-bg-card);
  padding: 0.8rem 1.5rem;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vc53-text-light);
  border: 1px solid var(--vc53-border);
}

/* Footer */
.vc53-footer {
  background: linear-gradient(180deg, var(--vc53-bg-light) 0%, #111 100%);
  padding: 2rem 1.2rem;
  border-top: 2px solid var(--vc53-primary);
}
.vc53-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.vc53-footer-brand p {
  color: var(--vc53-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 350px;
  margin: 0.5rem auto;
}
.vc53-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem 0;
}
.vc53-footer-links a {
  background: var(--vc53-bg-card);
  color: var(--vc53-text);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  border: 1px solid var(--vc53-border);
  transition: all 0.2s;
}
.vc53-footer-links a:hover {
  color: var(--vc53-accent);
  border-color: var(--vc53-primary);
}
.vc53-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem 0;
}
.vc53-footer-promo button {
  background: linear-gradient(135deg, var(--vc53-primary) 0%, var(--vc53-accent2) 100%);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.vc53-footer-promo button:hover { transform: scale(1.05); }
.vc53-footer-copy {
  text-align: center;
  color: var(--vc53-text-muted);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--vc53-border);
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--vc53-bottom-h) + 1rem); }
  .vc53-footer { padding-bottom: calc(var(--vc53-bottom-h) + 2rem); }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .vc53-bottom-nav { display: none; }
}

/* Utility */
.vc53-text-center { text-align: center; }
.vc53-mt-1 { margin-top: 1rem; }
.vc53-mb-1 { margin-bottom: 1rem; }
.vc53-hidden { display: none; }
.vc53-badge {
  display: inline-block;
  background: var(--vc53-danger);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-weight: 600;
}
