/* winbd.sbs - Main Stylesheet */
/* All classes use prefix "veb5-" for namespace isolation */

/* === CSS Variables === */
:root {
  --veb5-primary: #CD853F;
  --veb5-primary-dark: #A0692F;
  --veb5-primary-light: #E8C888;
  --veb5-bg: #FDF5E6;
  --veb5-bg-dark: #3A3A3A;
  --veb5-accent: #FFB3BA;
  --veb5-warm: #DEB887;
  --veb5-text: #3A3A3A;
  --veb5-text-light: #E0E0E0;
  --veb5-white: #FFFFFF;
  --veb5-border: #D4C4A8;
  --veb5-shadow: rgba(205, 133, 63, 0.15);
  --veb5-radius: 10px;
  --veb5-header-h: 60px;
  --veb5-bottom-h: 62px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--veb5-text);
  background: var(--veb5-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.veb5-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--veb5-header-h);
  background: linear-gradient(135deg, var(--veb5-bg-dark) 0%, #2E2E2E 100%);
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.veb5-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}
.veb5-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}
.veb5-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--veb5-primary);
  letter-spacing: 0.5px;
}
.veb5-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.veb5-btn-register, .veb5-btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.veb5-btn-register {
  background: linear-gradient(135deg, var(--veb5-primary) 0%, var(--veb5-warm) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205,133,63,0.35);
}
.veb5-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(205,133,63,0.5);
}
.veb5-btn-login {
  background: transparent;
  color: var(--veb5-primary-light);
  border: 1.5px solid var(--veb5-primary);
}
.veb5-btn-login:hover {
  background: rgba(205,133,63,0.12);
}
.veb5-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--veb5-primary-light);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 0.4rem;
}

/* === Mobile Menu === */
.veb5-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(180deg, #2E2E2E 0%, #3A3A3A 100%);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 7rem 2rem 2rem;
  overflow-y: auto;
}
.veb5-menu-active { right: 0 !important; }
.veb5-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1rem;
  color: var(--veb5-text-light);
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 0.4rem;
}
.veb5-mobile-menu a:hover, .veb5-mobile-menu a:focus {
  background: rgba(205,133,63,0.15);
  color: var(--veb5-primary);
}
.veb5-mobile-menu .veb5-menu-icon {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}
.veb5-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.veb5-overlay-active { opacity: 1; pointer-events: all; }

/* === Main Content === */
.veb5-main {
  margin-top: var(--veb5-header-h);
  min-height: calc(100vh - var(--veb5-header-h));
}

/* === Carousel === */
.veb5-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 0 0 var(--veb5-radius) var(--veb5-radius);
}
.veb5-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.veb5-slide-active { opacity: 1; }
.veb5-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.veb5-carousel-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.veb5-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.veb5-dot-active {
  background: var(--veb5-primary);
  transform: scale(1.3);
}

/* === Section === */
.veb5-section {
  padding: 2rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}
.veb5-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--veb5-bg-dark);
  margin-bottom: 1.4rem;
  padding-left: 1rem;
  border-left: 4px solid var(--veb5-primary);
  line-height: 1.3;
}

/* === Game Grid === */
.veb5-game-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--veb5-primary-dark);
  margin: 1.8rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.veb5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.veb5-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.veb5-game-item:hover { transform: scale(1.05); }
.veb5-game-item:active { transform: scale(0.95); }
.veb5-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--veb5-border);
  background: var(--veb5-white);
}
.veb5-game-name {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.4rem;
  color: var(--veb5-text);
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Info Card === */
.veb5-card {
  background: var(--veb5-white);
  border-radius: var(--veb5-radius);
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 2px 10px var(--veb5-shadow);
  border: 1px solid var(--veb5-border);
}
.veb5-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--veb5-primary-dark);
  margin-bottom: 1rem;
}
.veb5-card p {
  color: var(--veb5-text);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

/* === Promo Button === */
.veb5-promo-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--veb5-primary) 0%, var(--veb5-warm) 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(205,133,63,0.35);
}
.veb5-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(205,133,63,0.5);
}
.veb5-promo-link {
  color: var(--veb5-primary);
  font-weight: 600;
  border-bottom: 1px dashed var(--veb5-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}
.veb5-promo-link:hover { color: var(--veb5-primary-dark); }

/* === Features Grid === */
.veb5-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.veb5-feature-item {
  background: var(--veb5-white);
  border-radius: var(--veb5-radius);
  padding: 1.4rem 1rem;
  text-align: center;
  border: 1px solid var(--veb5-border);
  transition: transform 0.2s ease;
}
.veb5-feature-item:hover { transform: translateY(-3px); }
.veb5-feature-icon {
  font-size: 2.8rem;
  margin-bottom: 0.6rem;
  color: var(--veb5-primary);
}
.veb5-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--veb5-bg-dark);
  margin-bottom: 0.3rem;
}
.veb5-feature-desc {
  font-size: 1.15rem;
  color: #777;
  line-height: 1.4;
}

/* === Testimonial === */
.veb5-testimonial {
  background: linear-gradient(135deg, rgba(205,133,63,0.08) 0%, rgba(222,184,135,0.08) 100%);
  border-radius: var(--veb5-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--veb5-primary);
}
.veb5-testimonial-name {
  font-weight: 700;
  color: var(--veb5-primary-dark);
  font-size: 1.3rem;
}
.veb5-testimonial-text {
  font-size: 1.3rem;
  color: var(--veb5-text);
  margin-top: 0.4rem;
  line-height: 1.6;
}

/* === Winner Item === */
.veb5-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--veb5-border);
}
.veb5-winner-item:last-child { border-bottom: none; }
.veb5-winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--veb5-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--veb5-bg-dark);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.veb5-winner-info { flex: 1; }
.veb5-winner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--veb5-bg-dark);
}
.veb5-winner-amount {
  font-size: 1.2rem;
  color: var(--veb5-primary);
  font-weight: 700;
}

/* === Payment Methods === */
.veb5-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.veb5-payment-item {
  background: var(--veb5-white);
  border: 1px solid var(--veb5-border);
  border-radius: 8px;
  padding: 1rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--veb5-bg-dark);
  transition: all 0.2s ease;
}
.veb5-payment-item:hover {
  border-color: var(--veb5-primary);
  color: var(--veb5-primary);
}

/* === Footer === */
.veb5-footer {
  background: linear-gradient(180deg, var(--veb5-bg-dark) 0%, #2A2A2A 100%);
  color: var(--veb5-text-light);
  padding: 2.5rem 1.2rem 8rem;
  max-width: 430px;
  margin: 0 auto;
}
.veb5-footer-brand {
  font-size: 1.5rem;
  color: var(--veb5-primary);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.veb5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.veb5-footer-links a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(205,133,63,0.12);
  border-radius: 16px;
  color: var(--veb5-primary-light);
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.veb5-footer-links a:hover {
  background: var(--veb5-primary);
  color: #fff;
}
.veb5-footer-copy {
  font-size: 1.15rem;
  color: #999;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}

/* === Bottom Navigation === */
.veb5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--veb5-bottom-h);
  background: linear-gradient(180deg, #3A3A3A 0%, #2E2E2E 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
  border-top: 1px solid rgba(205,133,63,0.25);
}
.veb5-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: transparent;
  border: none;
  color: var(--veb5-text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0.4rem;
  border-radius: 8px;
  gap: 2px;
}
.veb5-bottom-btn:hover, .veb5-bottom-btn:focus {
  color: var(--veb5-primary);
  background: rgba(205,133,63,0.1);
}
.veb5-bottom-btn:active { transform: scale(0.9); }
.veb5-bottom-btn .veb5-bottom-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.veb5-bottom-btn .veb5-bottom-label {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}
.veb5-bottom-btn-active {
  color: var(--veb5-primary) !important;
}
.veb5-bottom-btn-active .veb5-bottom-icon {
  filter: drop-shadow(0 0 4px rgba(205,133,63,0.5));
}

/* === H1 Title === */
.veb5-h1-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--veb5-bg-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.4;
}
.veb5-h1-title span {
  color: var(--veb5-primary);
}

/* === Help Page === */
.veb5-help-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--veb5-primary-dark);
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--veb5-primary-light);
}
.veb5-help-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--veb5-bg-dark);
  margin: 1.2rem 0 0.6rem;
}
.veb5-help-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--veb5-text);
}
.veb5-help-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.veb5-help-content li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  color: var(--veb5-text);
  list-style: disc;
}

/* === FAQ Component === */
.veb5-faq-item {
  background: var(--veb5-white);
  border-radius: var(--veb5-radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--veb5-border);
}
.veb5-faq-q {
  font-weight: 700;
  color: var(--veb5-primary-dark);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.veb5-faq-a {
  font-size: 1.3rem;
  color: var(--veb5-text);
  line-height: 1.7;
}

/* === CTA Section === */
.veb5-cta-box {
  background: linear-gradient(135deg, var(--veb5-primary) 0%, var(--veb5-warm) 100%);
  border-radius: var(--veb5-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
  color: #fff;
}
.veb5-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.veb5-cta-desc {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

/* === Responsive === */
@media (max-width: 768px) {
  .veb5-main { padding-bottom: 80px; }
  .veb5-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
}
@media (min-width: 769px) {
  .veb5-bottom-nav { display: none; }
  .veb5-menu-btn { display: none; }
  .veb5-section { max-width: 600px; }
  .veb5-footer { max-width: 600px; }
  .veb5-carousel { max-width: 600px; }
}
@media (max-width: 360px) {
  .veb5-game-grid { grid-template-columns: repeat(3, 1fr); }
  .veb5-btn-register, .veb5-btn-login { font-size: 1.1rem; padding: 0.5rem 1rem; }
}
