/* =============================================
   BDBje Core Stylesheet - Prefix: ved0-
   Color Palette: #696969, #0D1117, #98FB98, #E6E6FA, #90EE90
   Mobile-first design, max-width 430px
   ============================================= */

/* CSS Variables */
:root {
  --ved0-primary: #98FB98;
  --ved0-secondary: #90EE90;
  --ved0-accent: #E6E6FA;
  --ved0-bg: #0D1117;
  --ved0-bg-card: #161b22;
  --ved0-bg-alt: #1c2333;
  --ved0-text: #E6E6FA;
  --ved0-text-dim: #696969;
  --ved0-border: #2d333b;
  --ved0-glow: rgba(152, 251, 152, 0.15);
  --ved0-glow-strong: rgba(144, 238, 144, 0.3);
  --ved0-radius: 1.2rem;
  --ved0-radius-sm: 0.8rem;
}

/* Reset & Base */
*, *::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(--ved0-bg);
  color: var(--ved0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ved0-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.ved0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #0D1117 0%, #161b22 100%);
  border-bottom: 1px solid var(--ved0-border);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.ved0-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.ved0-logo img {
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
}

.ved0-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ved0-primary);
  letter-spacing: 0.5px;
}

.ved0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ved0-btn-register,
.ved0-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--ved0-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  min-height: 36px;
  min-width: 60px;
}

.ved0-btn-register {
  background: linear-gradient(135deg, #98FB98, #90EE90);
  color: #0D1117;
}

.ved0-btn-register:hover {
  background: linear-gradient(135deg, #90EE90, #98FB98);
  transform: scale(1.03);
  box-shadow: 0 0 12px var(--ved0-glow-strong);
}

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

.ved0-btn-login:hover {
  background: rgba(152, 251, 152, 0.1);
  transform: scale(1.03);
}

.ved0-menu-toggle {
  background: none;
  border: none;
  color: var(--ved0-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== MOBILE MENU ========== */
.ved0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ved0-overlay-active {
  opacity: 1;
  pointer-events: all;
}

.ved0-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 270px;
  height: 100vh;
  background: var(--ved0-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.ved0-menu-active {
  right: 0;
}

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

.ved0-menu-links {
  list-style: none;
  margin-top: 3rem;
}

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

.ved0-menu-links a {
  display: block;
  padding: 1.2rem 0.5rem;
  color: var(--ved0-text);
  font-size: 1.4rem;
  transition: color 0.2s, padding-left 0.2s;
}

.ved0-menu-links a:hover {
  color: var(--ved0-primary);
  padding-left: 1rem;
  text-decoration: none;
}

/* ========== CAROUSEL ========== */
.ved0-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--ved0-radius);
  margin-bottom: 1.5rem;
}

.ved0-carousel-inner {
  position: relative;
  width: 100%;
  padding-top: 46%;
}

.ved0-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.ved0-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ved0-radius);
}

.ved0-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

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

.ved0-dot-active {
  background: var(--ved0-primary);
  width: 20px;
  border-radius: 4px;
}

/* ========== CONTENT ========== */
.ved0-main {
  padding-top: 6rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .ved0-main {
    padding-bottom: 80px;
  }
}

.ved0-section {
  margin-bottom: 2rem;
}

.ved0-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ved0-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ved0-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ved0-section-title i,
.ved0-section-title .material-icons {
  font-size: 2rem;
}

/* ========== GAME GRID ========== */
.ved0-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ved0-accent);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--ved0-primary);
}

.ved0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ved0-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-align: center;
}

.ved0-game-item:hover {
  transform: translateY(-2px);
}

.ved0-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--ved0-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ved0-border);
  transition: border-color 0.2s;
}

.ved0-game-item:hover .ved0-game-img {
  border-color: var(--ved0-primary);
  box-shadow: 0 0 8px var(--ved0-glow);
}

.ved0-game-name {
  font-size: 1.05rem;
  color: var(--ved0-text);
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ========== CARDS & MODULES ========== */
.ved0-card {
  background: var(--ved0-bg-card);
  border: 1px solid var(--ved0-border);
  border-radius: var(--ved0-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.ved0-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ved0-primary);
  margin-bottom: 0.8rem;
}

.ved0-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ved0-text);
  margin-bottom: 0.6rem;
}

.ved0-promo-text {
  display: inline;
  color: var(--ved0-primary);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}

.ved0-promo-text:hover {
  color: var(--ved0-secondary);
  text-decoration: underline;
}

.ved0-promo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #98FB98, #90EE90);
  color: #0D1117;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: var(--ved0-radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
  margin: 0.8rem 0;
}

.ved0-promo-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px var(--ved0-glow-strong);
}

/* ========== FAQ ========== */
.ved0-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--ved0-bg-alt);
  border-radius: var(--ved0-radius-sm);
  border-left: 3px solid var(--ved0-primary);
}

.ved0-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ved0-primary);
  margin-bottom: 0.5rem;
}

.ved0-faq-a {
  font-size: 1.3rem;
  color: var(--ved0-text);
  line-height: 1.5;
}

/* ========== FEATURES LIST ========== */
.ved0-feature-list {
  list-style: none;
  padding: 0;
}

.ved0-feature-list li {
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--ved0-text);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.ved0-feature-list li i,
.ved0-feature-list li .material-icons {
  color: var(--ved0-primary);
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ========== PAYMENT & APP ========== */
.ved0-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.ved0-payment-item {
  background: var(--ved0-bg-alt);
  border: 1px solid var(--ved0-border);
  border-radius: var(--ved0-radius-sm);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--ved0-text);
}

.ved0-app-cta {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(152, 251, 152, 0.08), rgba(144, 238, 144, 0.04));
  border: 1px solid var(--ved0-primary);
  border-radius: var(--ved0-radius);
}

/* ========== WINNERS ========== */
.ved0-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ved0-border);
}

.ved0-winner-item:last-child {
  border-bottom: none;
}

.ved0-winner-name {
  font-size: 1.2rem;
  color: var(--ved0-accent);
  flex: 1;
}

.ved0-winner-game {
  font-size: 1.1rem;
  color: var(--ved0-text-dim);
}

.ved0-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ved0-primary);
}

/* ========== FOOTER ========== */
.ved0-footer {
  background: var(--ved0-bg-card);
  border-top: 1px solid var(--ved0-border);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}

.ved0-footer-brand {
  font-size: 1.3rem;
  color: var(--ved0-text-dim);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.ved0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ved0-footer-link {
  padding: 0.4rem 0.8rem;
  background: var(--ved0-bg-alt);
  border: 1px solid var(--ved0-border);
  border-radius: var(--ved0-radius-sm);
  color: var(--ved0-text);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.ved0-footer-link:hover {
  border-color: var(--ved0-primary);
  color: var(--ved0-primary);
  text-decoration: none;
}

.ved0-footer-copy {
  font-size: 1.1rem;
  color: var(--ved0-text-dim);
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ved0-border);
}

.ved0-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.ved0-footer-partners span {
  font-size: 1rem;
  color: var(--ved0-text-dim);
  padding: 0.2rem 0.5rem;
  background: rgba(105, 105, 105, 0.15);
  border-radius: 0.4rem;
}

/* ========== BOTTOM NAV ========== */
.ved0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #161b22, #0D1117);
  border-top: 1px solid var(--ved0-primary);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
}

.ved0-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ved0-text-dim);
  transition: all 0.25s ease;
  gap: 2px;
  padding: 0.4rem 0;
}

.ved0-bottom-nav-btn i,
.ved0-bottom-nav-btn .material-icons {
  font-size: 22px;
  transition: transform 0.2s, color 0.2s;
}

.ved0-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1;
}

.ved0-bottom-nav-btn:hover,
.ved0-bottom-nav-btn.ved0-nav-active {
  color: var(--ved0-primary);
}

.ved0-bottom-nav-btn:hover i,
.ved0-bottom-nav-btn:hover .material-icons,
.ved0-bottom-nav-btn.ved0-nav-active i,
.ved0-bottom-nav-btn.ved0-nav-active .material-icons {
  transform: scale(1.15);
}

.ved0-nav-active {
  position: relative;
}

.ved0-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--ved0-primary);
  border-radius: 0 0 2px 2px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .ved0-bottom-nav {
    display: none;
  }
}

/* ========== UTILITIES ========== */
.ved0-text-center { text-align: center; }
.ved0-text-primary { color: var(--ved0-primary); }
.ved0-text-bold { font-weight: 700; }
.ved0-mb-1 { margin-bottom: 1rem; }
.ved0-mb-2 { margin-bottom: 2rem; }
.ved0-mt-1 { margin-top: 1rem; }
.ved0-hidden { display: none; }

/* Testimonial styles */
.ved0-testimonial {
  background: var(--ved0-bg-alt);
  border-radius: var(--ved0-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--ved0-secondary);
}

.ved0-testimonial-user {
  font-weight: 600;
  color: var(--ved0-primary);
  font-size: 1.2rem;
}

.ved0-testimonial-text {
  font-size: 1.2rem;
  color: var(--ved0-text);
  margin-top: 0.4rem;
  line-height: 1.4;
}

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