/* bdbajee apk - Design Stylesheet */
/* All classes use v899- prefix for namespace isolation */

:root {
  --v899-primary: #A0522D;
  --v899-accent: #DB7093;
  --v899-text: #A9A9A9;
  --v899-danger: #FF0000;
  --v899-bg: #2E4057;
  --v899-bg-light: #3a5068;
  --v899-bg-dark: #1e2f42;
  --v899-white: #f5f0eb;
  --v899-gold: #d4a574;
  --v899-radius: 8px;
  --v899-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

/* Header */
.v899-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--v899-bg-dark);
  border-bottom: 2px solid var(--v899-primary);
  max-width: 430px; margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.v899-header-left { display: flex; align-items: center; gap: 0.6rem; }
.v899-logo { width: 28px; height: 28px; border-radius: 50%; }
.v899-site-name { color: var(--v899-white); font-size: 1.5rem; font-weight: 700; }
.v899-header-right { display: flex; align-items: center; gap: 0.5rem; }
.v899-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: var(--v899-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s ease;
  min-height: 36px; min-width: 60px;
}
.v899-btn-register {
  background: var(--v899-danger); color: #fff;
}
.v899-btn-register:hover { background: #cc0000; transform: scale(1.05); }
.v899-btn-login {
  background: var(--v899-primary); color: #fff;
}
.v899-btn-login:hover { background: #8b4513; transform: scale(1.05); }
.v899-menu-toggle {
  background: none; border: none; color: var(--v899-white);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.v899-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none; opacity: 0; transition: opacity 0.3s;
}
.v899-overlay-active { display: block; opacity: 1; }
.v899-mobile-menu {
  position: fixed; top: 0; right: -260px; width: 260px; height: 100%;
  background: var(--v899-bg-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.v899-menu-active { right: 0; }
.v899-mobile-menu .v899-menu-close {
  background: none; border: none; color: var(--v899-white);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.v899-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--v899-text);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.v899-mobile-menu a:hover { color: var(--v899-accent); }

/* Main content */
.v899-main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .v899-main { padding-bottom: 80px; }
}

/* Carousel */
.v899-carousel {
  position: relative; overflow: hidden;
  border-radius: var(--v899-radius);
  margin: 1rem;
  box-shadow: var(--v899-shadow);
}
.v899-carousel-slide {
  display: none; width: 100%;
  cursor: pointer;
}
.v899-slide-active { display: block; }
.v899-carousel-slide img {
  width: 100%; height: auto;
  aspect-ratio: 16/9; object-fit: cover;
}
.v899-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v899-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.2s;
}
.v899-dot-active { background: var(--v899-accent); }

/* Section */
.v899-section {
  padding: 1.5rem 1rem;
}
.v899-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v899-white);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--v899-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.v899-section-title i { color: var(--v899-accent); }

/* Game grid */
.v899-category-title {
  font-size: 1.5rem; font-weight: 600; color: var(--v899-gold);
  margin: 1.2rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--v899-accent);
}
.v899-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v899-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--v899-radius);
  padding: 0.4rem;
  background: rgba(255,255,255,0.04);
}
.v899-game-item:hover { transform: scale(1.05); }
.v899-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.3rem;
}
.v899-game-item span {
  font-size: 1rem; color: var(--v899-text);
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Cards */
.v899-card {
  background: var(--v899-bg-light);
  border-radius: var(--v899-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--v899-shadow);
  border: 1px solid rgba(255,255,255,0.06);
}
.v899-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--v899-white);
  margin-bottom: 0.8rem;
}

/* Promo buttons */
.v899-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v899-danger), var(--v899-primary));
  color: #fff; padding: 0.8rem 1.6rem;
  border-radius: 2rem; font-weight: 700;
  font-size: 1.3rem; cursor: pointer;
  transition: all 0.3s; border: none;
  text-align: center;
  box-shadow: 0 3px 10px rgba(255,0,0,0.3);
}
.v899-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,0,0,0.4); }
.v899-promo-text {
  color: var(--v899-accent); font-weight: 600;
  cursor: pointer; text-decoration: underline;
  transition: color 0.2s;
}
.v899-promo-text:hover { color: var(--v899-white); }

/* Info blocks */
.v899-info-block { margin-bottom: 1.2rem; }
.v899-info-block p { margin-bottom: 0.8rem; line-height: 1.7rem; }
.v899-info-block h3 { color: var(--v899-gold); margin-bottom: 0.5rem; font-size: 1.4rem; }

/* FAQ */
.v899-faq-item {
  background: var(--v899-bg-light);
  border-radius: var(--v899-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v899-accent);
}
.v899-faq-q { color: var(--v899-white); font-weight: 600; margin-bottom: 0.4rem; font-size: 1.3rem; }
.v899-faq-a { color: var(--v899-text); font-size: 1.2rem; line-height: 1.6rem; }

/* Winners table */
.v899-winners-grid {
  display: grid; gap: 0.6rem;
}
.v899-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--v899-bg-light); border-radius: var(--v899-radius);
  padding: 0.8rem 1rem;
}
.v899-winner-name { color: var(--v899-white); font-size: 1.2rem; }
.v899-winner-game { color: var(--v899-gold); font-size: 1.1rem; }
.v899-winner-amount { color: var(--v899-danger); font-weight: 700; font-size: 1.3rem; }

/* Payment methods */
.v899-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center;
}
.v899-payment-item {
  background: var(--v899-bg-light); border-radius: var(--v899-radius);
  padding: 0.6rem 1.2rem; font-size: 1.2rem;
  color: var(--v899-white); display: flex; align-items: center; gap: 0.4rem;
}

/* Testimonials */
.v899-testimonial {
  background: var(--v899-bg-light);
  border-radius: var(--v899-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border: 1px solid rgba(219,112,147,0.2);
}
.v899-testimonial-text { font-style: italic; margin-bottom: 0.5rem; color: var(--v899-text); }
.v899-testimonial-author { color: var(--v899-accent); font-weight: 600; font-size: 1.1rem; }

/* Bottom Navigation */
.v899-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; height: 60px;
  background: var(--v899-bg-dark);
  border-top: 2px solid var(--v899-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
@media (min-width: 769px) { .v899-bottom-nav { display: none; } }
.v899-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; color: var(--v899-text);
  cursor: pointer; transition: all 0.2s; font-size: 1rem;
  gap: 2px;
}
.v899-bottom-nav-btn i, .v899-bottom-nav-btn .material-icons,
.v899-bottom-nav-btn ion-icon, .v899-bottom-nav-btn bi {
  font-size: 22px;
}
.v899-bottom-nav-btn:hover, .v899-bottom-nav-btn:active { color: var(--v899-accent); }
.v899-nav-current { color: var(--v899-danger) !important; }
.v899-bottom-nav-btn span {
  font-size: 1rem; line-height: 1.2;
}

/* Footer */
.v899-footer {
  background: var(--v899-bg-dark);
  padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--v899-primary);
  text-align: center;
}
.v899-footer-brand { color: var(--v899-white); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; }
.v899-footer-desc { color: var(--v899-text); font-size: 1.1rem; margin-bottom: 1.2rem; line-height: 1.6rem; }
.v899-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.v899-footer-links a {
  color: var(--v899-accent); font-size: 1.1rem;
  transition: color 0.2s;
}
.v899-footer-links a:hover { color: var(--v899-white); }
.v899-footer-promo {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.v899-footer-copy { color: var(--v899-text); font-size: 1rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; }

/* Utility classes */
.v899-text-center { text-align: center; }
.v899-text-white { color: var(--v899-white); }
.v899-text-accent { color: var(--v899-accent); }
.v899-text-danger { color: var(--v899-danger); }
.v899-text-gold { color: var(--v899-gold); }
.v899-mt-1 { margin-top: 1rem; }
.v899-mb-1 { margin-bottom: 1rem; }
.v899-p-1 { padding: 1rem; }
.v899-hidden { display: none !important; }

/* Achievement badges */
.v899-achievement {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--v899-bg-light); border-radius: var(--v899-radius);
  padding: 0.8rem; margin-bottom: 0.6rem;
}
.v899-achievement-icon { font-size: 2rem; color: var(--v899-gold); }
.v899-achievement-info h4 { color: var(--v899-white); font-size: 1.2rem; }
.v899-achievement-info p { color: var(--v899-text); font-size: 1rem; }

/* RTP bar */
.v899-rtp-bar {
  background: rgba(255,255,255,0.06); border-radius: 4px;
  height: 8px; margin-top: 0.3rem; overflow: hidden;
}
.v899-rtp-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--v899-primary), var(--v899-accent));
}

/* Responsive desktop */
@media (min-width: 769px) {
  body { max-width: 430px; }
}
