/* CEO Bangladesh - Theme Stylesheet */
/* All classes use vbda- prefix for namespace isolation */
/* Color palette: #FAFAFA | #1A1A1A | #FFEB3B | #BF360C */

:root {
  --vbda-primary: #FFEB3B;
  --vbda-bg: #1A1A1A;
  --vbda-text: #FAFAFA;
  --vbda-accent: #BF360C;
  --vbda-dark: #0d0d0d;
  --vbda-card: #2a2a2a;
  --vbda-border: #333333;
  --vbda-muted: #888888;
  --vbda-success: #4CAF50;
  --vbda-warning: #FF9800;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--vbda-bg);
  color: var(--vbda-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.vbda-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--vbda-dark);
  border-bottom: 2px solid var(--vbda-primary);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vbda-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.vbda-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.vbda-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vbda-primary);
  white-space: nowrap;
}

.vbda-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.vbda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 32px;
}

.vbda-btn-register {
  background: var(--vbda-primary);
  color: var(--vbda-bg);
}

.vbda-btn-register:hover {
  background: #fdd835;
  transform: scale(1.05);
}

.vbda-btn-login {
  background: transparent;
  color: var(--vbda-primary);
  border: 1px solid var(--vbda-primary);
}

.vbda-btn-login:hover {
  background: rgba(255, 235, 59, 0.1);
}

.vbda-menu-toggle {
  background: none;
  border: none;
  color: var(--vbda-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

/* Mobile Menu */
.vbda-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  padding-top: 5rem;
}

.vbda-mobile-menu-active {
  display: block !important;
}

.vbda-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--vbda-text);
  font-size: 2.8rem;
  cursor: pointer;
}

.vbda-menu-links {
  list-style: none;
  padding: 1rem 2rem;
}

.vbda-menu-links li {
  border-bottom: 1px solid var(--vbda-border);
}

.vbda-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--vbda-text);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.vbda-menu-links a:hover {
  color: var(--vbda-primary);
}

/* Main Content */
.vbda-main {
  padding-top: 5.5rem;
  min-height: 100vh;
}

/* Carousel */
.vbda-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.vbda-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.vbda-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.vbda-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.vbda-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.vbda-dot-active {
  background: var(--vbda-primary);
}

/* Section */
.vbda-section {
  padding: 1.5rem 1rem;
}

.vbda-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vbda-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vbda-accent);
}

.vbda-section-subtitle {
  font-size: 1.4rem;
  color: var(--vbda-text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Game Grid */
.vbda-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vbda-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.vbda-game-item:hover {
  transform: scale(1.05);
}

.vbda-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--vbda-border);
}

.vbda-game-item p {
  font-size: 1.1rem;
  margin-top: 0.3rem;
  color: var(--vbda-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Label */
.vbda-cat-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vbda-primary);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--vbda-accent);
}

/* Cards */
.vbda-card {
  background: var(--vbda-card);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--vbda-border);
}

.vbda-card h3 {
  font-size: 1.4rem;
  color: var(--vbda-primary);
  margin-bottom: 0.5rem;
}

.vbda-card p {
  font-size: 1.2rem;
  line-height: 1.6rem;
  color: var(--vbda-text);
}

/* Promo Button */
.vbda-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vbda-accent), #e65100);
  color: var(--vbda-text);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.vbda-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 54, 12, 0.4);
}

/* Promo Link Text */
.vbda-promo-link {
  color: var(--vbda-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.vbda-promo-link:hover {
  color: #fdd835;
}

/* Content Text */
.vbda-content p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
}

.vbda-content h2 {
  font-size: 1.6rem;
  color: var(--vbda-primary);
  margin: 1.5rem 0 0.8rem;
}

.vbda-content h3 {
  font-size: 1.4rem;
  color: var(--vbda-text);
  margin: 1.2rem 0 0.5rem;
}

.vbda-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.vbda-content li {
  font-size: 1.3rem;
  line-height: 1.7rem;
  margin-bottom: 0.4rem;
}

/* Footer */
.vbda-footer {
  background: var(--vbda-dark);
  padding: 2rem 1rem 8rem;
  border-top: 2px solid var(--vbda-accent);
  text-align: center;
}

.vbda-footer-brand {
  font-size: 1.3rem;
  color: var(--vbda-muted);
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

.vbda-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.vbda-footer-links a {
  color: var(--vbda-primary);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--vbda-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.vbda-footer-links a:hover {
  background: var(--vbda-primary);
  color: var(--vbda-bg);
}

.vbda-footer-copy {
  font-size: 1.1rem;
  color: var(--vbda-muted);
}

/* Bottom Navigation */
.vbda-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--vbda-dark);
  border-top: 2px solid var(--vbda-primary);
  display: none;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

.vbda-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--vbda-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.3rem;
}

.vbda-bottom-btn:hover,
.vbda-bottom-btn:focus {
  color: var(--vbda-primary);
  transform: scale(1.1);
}

.vbda-bottom-btn-active {
  color: var(--vbda-primary);
}

.vbda-bottom-btn i,
.vbda-bottom-btn .material-icons,
.vbda-bottom-btn ion-icon,
.vbda-bottom-btn bi {
  font-size: 22px;
}

.vbda-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.1rem;
}

/* Partners */
.vbda-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.vbda-partners span {
  background: var(--vbda-card);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  color: var(--vbda-muted);
}

/* FAQ */
.vbda-faq-item {
  background: var(--vbda-card);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vbda-primary);
}

.vbda-faq-item h3 {
  font-size: 1.3rem;
  color: var(--vbda-primary);
  margin-bottom: 0.4rem;
}

.vbda-faq-item p {
  font-size: 1.2rem;
  color: var(--vbda-text);
  line-height: 1.6rem;
}

/* Feature list */
.vbda-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.vbda-feature-item {
  background: var(--vbda-card);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--vbda-border);
}

.vbda-feature-item i {
  font-size: 2.4rem;
  color: var(--vbda-primary);
  margin-bottom: 0.5rem;
}

.vbda-feature-item h3 {
  font-size: 1.2rem;
  color: var(--vbda-text);
  margin-bottom: 0.3rem;
}

.vbda-feature-item p {
  font-size: 1.1rem;
  color: var(--vbda-muted);
}

/* Winner list */
.vbda-winner-list {
  list-style: none;
}

.vbda-winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--vbda-border);
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .vbda-main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .vbda-bottom-nav {
    display: none !important;
  }
}

/* Utility */
.vbda-text-center { text-align: center; }
.vbda-mt-1 { margin-top: 1rem; }
.vbda-mb-1 { margin-bottom: 1rem; }
.vbda-mb-2 { margin-bottom: 2rem; }
.vbda-py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.vbda-hidden { display: none; }
