/**
 * 1333 BD - Main Stylesheet
 * All classes use prefix "vbf1-" to avoid conflicts
 * Color Palette: #006400 | #00FA9A | #32CD32 | #1A1A2E | #00CED1
 * @version 1.0.0
 */

/* ========== CSS Variables ========== */
:root {
  --vbf1-primary: #006400;
  --vbf1-accent: #00FA9A;
  --vbf1-green: #32CD32;
  --vbf1-bg: #1A1A2E;
  --vbf1-cyan: #00CED1;
  --vbf1-text: #FFFFFF;
  --vbf1-text-muted: #B0B0C8;
  --vbf1-card-bg: #16213E;
  --vbf1-card-border: #0F3460;
  --vbf1-danger: #FF4757;
  --vbf1-gold: #FFD700;
  --vbf1-radius: 8px;
  --vbf1-radius-lg: 12px;
  --vbf1-header-h: 56px;
  --vbf1-bottom-nav-h: 60px;
  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', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--vbf1-bg);
  color: var(--vbf1-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vbf1-accent); text-decoration: none; }
a:hover { color: var(--vbf1-cyan); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== Header ========== */
.vbf1-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--vbf1-header-h);
  background: linear-gradient(135deg, #0a2e0a 0%, #1A1A2E 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 2px solid var(--vbf1-primary);
  backdrop-filter: blur(10px);
}
.vbf1-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vbf1-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.vbf1-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vbf1-accent);
  white-space: nowrap;
}
.vbf1-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vbf1-btn-register {
  background: linear-gradient(135deg, var(--vbf1-primary), #008800);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--vbf1-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.vbf1-btn-register:hover {
  background: linear-gradient(135deg, #008800, var(--vbf1-green));
  transform: scale(1.05);
}
.vbf1-btn-login {
  background: transparent;
  color: var(--vbf1-accent);
  border: 1px solid var(--vbf1-accent);
  padding: 0.6rem 1.4rem;
  border-radius: var(--vbf1-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.vbf1-btn-login:hover {
  background: rgba(0, 250, 154, 0.1);
}
.vbf1-menu-toggle {
  background: none;
  border: none;
  color: var(--vbf1-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ========== Mobile Menu ========== */
.vbf1-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #0a2e0a, #1A1A2E);
  z-index: 9999;
  transition: right 0.3s ease;
  padding-top: 7rem;
  overflow-y: auto;
}
.vbf1-menu-active { right: 0 !important; }
.vbf1-mobile-menu a {
  display: block;
  padding: 1.4rem 2rem;
  color: var(--vbf1-text);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.vbf1-mobile-menu a:hover {
  background: rgba(0, 250, 154, 0.12);
  color: var(--vbf1-accent);
}
.vbf1-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.vbf1-overlay-active { opacity: 1; pointer-events: auto; }

/* ========== Main Content ========== */
.vbf1-main {
  padding-top: calc(var(--vbf1-header-h) + 1rem);
  padding-bottom: calc(var(--vbf1-bottom-nav-h) + 2rem);
  min-height: 60vh;
}
.vbf1-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* ========== Carousel ========== */
.vbf1-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--vbf1-radius-lg);
  margin-bottom: 2rem;
}
.vbf1-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.vbf1-slide-active { display: block; }
.vbf1-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--vbf1-radius-lg);
}
.vbf1-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 0;
}
.vbf1-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.vbf1-dot-active {
  background: var(--vbf1-accent);
  transform: scale(1.3);
}

/* ========== Section Titles ========== */
.vbf1-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vbf1-accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--vbf1-primary);
}
.vbf1-section-title i {
  margin-right: 0.6rem;
  color: var(--vbf1-gold);
}

/* ========== Game Grid ========== */
.vbf1-game-section { margin-bottom: 2.5rem; }
.vbf1-category-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vbf1-cyan);
  margin-bottom: 1rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--vbf1-accent);
}
.vbf1-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vbf1-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.vbf1-game-item:hover { transform: translateY(-3px); }
.vbf1-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vbf1-radius);
  border: 2px solid var(--vbf1-card-border);
  transition: border-color 0.2s;
}
.vbf1-game-item:hover img { border-color: var(--vbf1-accent); }
.vbf1-game-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--vbf1-text-muted);
  margin-top: 0.3rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== Cards ========== */
.vbf1-card {
  background: var(--vbf1-card-bg);
  border: 1px solid var(--vbf1-card-border);
  border-radius: var(--vbf1-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
}
.vbf1-card h3 {
  font-size: 1.7rem;
  color: var(--vbf1-accent);
  margin-bottom: 1rem;
}
.vbf1-card p {
  color: var(--vbf1-text-muted);
  font-size: 1.4rem;
  line-height: 2.2rem;
}

/* ========== Promo Buttons ========== */
.vbf1-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vbf1-primary), var(--vbf1-green));
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: var(--vbf1-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}
.vbf1-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 250, 154, 0.3);
}
.vbf1-promo-text {
  color: var(--vbf1-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.5rem;
}

/* ========== Footer ========== */
.vbf1-footer {
  background: linear-gradient(180deg, #0a2e0a, #111122);
  padding: 2rem 1.2rem 3rem;
  border-top: 2px solid var(--vbf1-primary);
  text-align: center;
}
.vbf1-footer-brand {
  color: var(--vbf1-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
}
.vbf1-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.vbf1-footer-links a {
  background: rgba(0, 250, 154, 0.1);
  color: var(--vbf1-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--vbf1-radius);
  font-size: 1.2rem;
  border: 1px solid var(--vbf1-primary);
  transition: all 0.2s;
}
.vbf1-footer-links a:hover {
  background: rgba(0, 250, 154, 0.2);
}
.vbf1-footer-copy {
  color: #666;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* ========== Bottom Navigation ========== */
.vbf1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--vbf1-bottom-nav-h);
  background: linear-gradient(135deg, #0a2e0a, #1A1A2E);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--vbf1-primary);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
.vbf1-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 48px;
  background: none;
  border: none;
  color: var(--vbf1-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.4rem;
}
.vbf1-bottom-nav-btn i,
.vbf1-bottom-nav-btn span.material-icons-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}
.vbf1-bottom-nav-btn span.vbf1-nav-label {
  font-size: 1rem;
  color: var(--vbf1-text-muted);
}
.vbf1-bottom-nav-btn:hover {
  color: var(--vbf1-accent);
  transform: scale(1.1);
}
.vbf1-bottom-nav-btn:hover span.vbf1-nav-label {
  color: var(--vbf1-accent);
}
.vbf1-bottom-nav-btn.vbf1-nav-active {
  color: var(--vbf1-accent);
}
.vbf1-bottom-nav-btn.vbf1-nav-active span.vbf1-nav-label {
  color: var(--vbf1-accent);
  font-weight: 700;
}

/* ========== Back to Top ========== */
.vbf1-back-top {
  position: fixed;
  bottom: 80px;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  background: var(--vbf1-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vbf1-back-top-show { opacity: 1; pointer-events: auto; }

/* ========== Info Box ========== */
.vbf1-info-box {
  background: linear-gradient(135deg, rgba(0,100,0,0.15), rgba(0,206,209,0.1));
  border: 1px solid var(--vbf1-primary);
  border-radius: var(--vbf1-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
}
.vbf1-info-box h3 {
  color: var(--vbf1-accent);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
.vbf1-info-box ul {
  padding-left: 1.6rem;
}
.vbf1-info-box li {
  color: var(--vbf1-text-muted);
  font-size: 1.3rem;
  line-height: 2.2rem;
  position: relative;
  padding-left: 1.2rem;
}
.vbf1-info-box li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--vbf1-green);
  font-size: 1rem;
}

/* ========== Winner List ========== */
.vbf1-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.vbf1-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: rgba(0,100,0,0.1);
  border-radius: var(--vbf1-radius);
  border-left: 3px solid var(--vbf1-accent);
}
.vbf1-winner-name {
  font-size: 1.3rem;
  color: var(--vbf1-text);
}
.vbf1-winner-amount {
  font-size: 1.4rem;
  color: var(--vbf1-gold);
  font-weight: 700;
}

/* ========== Payment Icons ========== */
.vbf1-payment-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.vbf1-payment-item {
  background: var(--vbf1-card-bg);
  border: 1px solid var(--vbf1-card-border);
  border-radius: var(--vbf1-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: var(--vbf1-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== FAQ ========== */
.vbf1-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 0;
}
.vbf1-faq-item h4 {
  color: var(--vbf1-cyan);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.vbf1-faq-item p {
  color: var(--vbf1-text-muted);
  font-size: 1.3rem;
  line-height: 2rem;
}

/* ========== Responsive ========== */
@media (min-width: 769px) {
  .vbf1-bottom-nav { display: none; }
  .vbf1-main { padding-bottom: 2rem; }
  .vbf1-back-top { bottom: 2rem; }
}
@media (max-width: 768px) {
  .vbf1-main { padding-bottom: calc(var(--vbf1-bottom-nav-h) + 2rem); }
}
