/**
 * Bwin Register - Core Stylesheet
 * Class prefix: vbd0-
 * Color palette: #FFCC02 (gold) | #CD853F (bronze) | #F5DEB3 (wheat) | #1A1A2E (dark bg)
 * Mobile-first design, max-width 430px, rem units with 62.5% root
 */

/* CSS Variables */
:root {
  --vbd0-primary: #FFCC02;
  --vbd0-primary-dark: #E6B800;
  --vbd0-primary-light: #FFD633;
  --vbd0-secondary: #CD853F;
  --vbd0-secondary-light: #DEA060;
  --vbd0-accent: #F5DEB3;
  --vbd0-bg: #1A1A2E;
  --vbd0-bg-light: #24243A;
  --vbd0-bg-card: #1E1E36;
  --vbd0-text: #F0F0F0;
  --vbd0-text-muted: #B0B0C0;
  --vbd0-text-dim: #8080A0;
  --vbd0-border: rgba(245, 222, 179, 0.15);
  --vbd0-radius: 1.2rem;
  --vbd0-radius-sm: 0.8rem;
  --vbd0-shadow: 0 0.4rem 1.2rem rgba(255, 204, 2, 0.2);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--vbd0-bg);
  color: var(--vbd0-text);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vbd0-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vbd0-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.vbd0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(180deg, #1A1A2E, #24243A);
  border-bottom: 0.1rem solid var(--vbd0-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}

.vbd0-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vbd0-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.vbd0-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vbd0-primary);
  white-space: nowrap;
}

.vbd0-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vbd0-btn-register,
.vbd0-btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: var(--vbd0-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.vbd0-btn-register {
  background: var(--vbd0-primary);
  color: #1A1A2E;
}

.vbd0-btn-register:hover {
  background: var(--vbd0-primary-dark);
  transform: scale(1.03);
}

.vbd0-btn-login {
  background: transparent;
  color: var(--vbd0-primary);
  border: 0.1rem solid var(--vbd0-primary);
}

.vbd0-btn-login:hover {
  background: var(--vbd0-primary);
  color: #1A1A2E;
}

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

/* ===== MOBILE MENU ===== */
.vbd0-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--vbd0-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}

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

.vbd0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.vbd0-overlay-active {
  display: block;
}

.vbd0-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.1rem solid var(--vbd0-border);
}

.vbd0-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vbd0-primary);
}

.vbd0-menu-close {
  background: none;
  border: none;
  color: var(--vbd0-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.vbd0-menu-links {
  list-style: none;
}

.vbd0-menu-links li {
  margin-bottom: 0.3rem;
}

.vbd0-menu-links a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--vbd0-text);
  font-size: 1.5rem;
  border-radius: var(--vbd0-radius-sm);
  transition: background 0.2s ease;
}

.vbd0-menu-links a:hover {
  background: var(--vbd0-bg-card);
  color: var(--vbd0-primary);
}

/* ===== MAIN CONTENT ===== */
.vbd0-main {
  margin-top: 5.6rem;
  padding: 0 1rem 8rem;
  min-height: 60vh;
}

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

.vbd0-slide {
  display: none;
  width: 100%;
  aspect-ratio: 16/7;
}

.vbd0-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vbd0-slide-active {
  display: block;
}

.vbd0-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.vbd0-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.vbd0-dot-active {
  background: var(--vbd0-primary);
  width: 2rem;
  border-radius: 0.4rem;
}

/* ===== SECTION HEADERS ===== */
.vbd0-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vbd0-text);
  margin: 2.5rem 0 1.5rem;
  padding-left: 1rem;
  border-left: 0.4rem solid var(--vbd0-primary);
}

.vbd0-section-subtitle {
  font-size: 1.4rem;
  color: var(--vbd0-text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}

/* ===== GAME GRID ===== */
.vbd0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

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

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

.vbd0-game-item:active {
  transform: scale(0.95);
}

.vbd0-game-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 1.2rem;
  object-fit: cover;
  border: 0.15rem solid var(--vbd0-border);
  margin-bottom: 0.5rem;
}

.vbd0-game-name {
  font-size: 1.1rem;
  color: var(--vbd0-text-muted);
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.8rem;
}

/* ===== CONTENT CARDS ===== */
.vbd0-card {
  background: var(--vbd0-bg-card);
  border-radius: var(--vbd0-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 0.1rem solid var(--vbd0-border);
}

.vbd0-card h2,
.vbd0-card h3 {
  color: var(--vbd0-primary);
  margin-bottom: 1rem;
}

.vbd0-card h2 {
  font-size: 1.8rem;
}

.vbd0-card h3 {
  font-size: 1.5rem;
}

.vbd0-card p {
  color: var(--vbd0-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== PROMO BUTTON ===== */
.vbd0-promo-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background: var(--vbd0-primary);
  color: #1A1A2E;
  border: none;
  border-radius: var(--vbd0-radius);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.vbd0-promo-btn:hover {
  background: var(--vbd0-primary-dark);
  transform: translateY(-0.2rem);
  box-shadow: var(--vbd0-shadow);
}

.vbd0-promo-btn:active {
  transform: scale(0.97);
}

.vbd0-promo-btn-outline {
  background: transparent;
  border: 0.15rem solid var(--vbd0-primary);
  color: var(--vbd0-primary);
}

.vbd0-promo-btn-outline:hover {
  background: var(--vbd0-primary);
  color: #1A1A2E;
}

/* ===== PROMO TEXT LINK ===== */
.vbd0-promo-link {
  color: var(--vbd0-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.vbd0-promo-link:hover {
  color: var(--vbd0-primary-light);
}

/* ===== BOTTOM NAVIGATION ===== */
.vbd0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #24243A, #1A1A2E);
  border-top: 0.1rem solid var(--vbd0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.5rem;
}

.vbd0-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--vbd0-text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 0.3rem;
  border-radius: 0.8rem;
}

.vbd0-bottom-nav-btn:hover {
  color: var(--vbd0-primary);
  background: rgba(255, 204, 2, 0.08);
}

.vbd0-bottom-nav-btn .vbd0-nav-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.vbd0-bottom-nav-btn .vbd0-nav-label {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.vbd0-nav-active {
  color: var(--vbd0-primary) !important;
}

.vbd0-nav-active .vbd0-nav-icon {
  filter: drop-shadow(0 0 0.4rem var(--vbd0-primary));
}

/* ===== FOOTER ===== */
.vbd0-footer {
  background: var(--vbd0-bg-light);
  padding: 2.5rem 1.5rem;
  border-top: 0.1rem solid var(--vbd0-border);
  margin-top: 2rem;
}

.vbd0-footer-brand {
  margin-bottom: 2rem;
}

.vbd0-footer-brand p {
  color: var(--vbd0-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

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

.vbd0-footer-links a {
  color: var(--vbd0-text-muted);
  font-size: 1.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--vbd0-radius-sm);
  transition: all 0.2s ease;
}

.vbd0-footer-links a:hover {
  color: var(--vbd0-primary);
  background: rgba(255, 204, 2, 0.1);
}

.vbd0-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.vbd0-footer-promos .vbd0-promo-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
}

.vbd0-footer-copy {
  text-align: center;
  color: var(--vbd0-text-dim);
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 0.1rem solid var(--vbd0-border);
}

/* ===== CONTENT MODULES ===== */
.vbd0-hero-text {
  text-align: center;
  padding: 2rem 0.5rem;
}

.vbd0-hero-text h1 {
  font-size: 2.2rem;
  color: var(--vbd0-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vbd0-hero-text p {
  color: var(--vbd0-text-muted);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.vbd0-text-content {
  color: var(--vbd0-text-muted);
  font-size: 1.4rem;
  line-height: 1.7;
}

.vbd0-text-content p {
  margin-bottom: 1.2rem;
}

.vbd0-text-content strong {
  color: var(--vbd0-text);
}

/* FAQ Styles */
.vbd0-faq-item {
  border-bottom: 0.1rem solid var(--vbd0-border);
  padding: 1.2rem 0;
}

.vbd0-faq-item:last-child {
  border-bottom: none;
}

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

.vbd0-faq-a {
  color: var(--vbd0-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  padding-left: 1rem;
}

/* Highlight box */
.vbd0-highlight-box {
  background: linear-gradient(135deg, rgba(255, 204, 2, 0.15), rgba(205, 133, 63, 0.08));
  border: 0.1rem solid var(--vbd0-primary);
  border-radius: var(--vbd0-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.vbd0-highlight-box p {
  color: var(--vbd0-text);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Winner showcase */
.vbd0-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--vbd0-bg-card);
  border-radius: var(--vbd0-radius-sm);
  margin-bottom: 0.8rem;
}

.vbd0-winner-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--vbd0-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.vbd0-winner-info {
  flex: 1;
}

.vbd0-winner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vbd0-text);
}

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

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

/* Testimonial */
.vbd0-testimonial {
  background: var(--vbd0-bg-card);
  border-radius: var(--vbd0-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--vbd0-primary);
}

.vbd0-testimonial-text {
  color: var(--vbd0-text-muted);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

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

/* Payment icons row */
.vbd0-payment-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.vbd0-payment-item {
  background: var(--vbd0-bg-card);
  border-radius: var(--vbd0-radius-sm);
  padding: 0.8rem 1.2rem;
  border: 0.1rem solid var(--vbd0-border);
  color: var(--vbd0-text-muted);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* RTP compact table */
.vbd0-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.vbd0-rtp-item {
  background: var(--vbd0-bg-card);
  border-radius: var(--vbd0-radius-sm);
  padding: 1rem;
  border: 0.1rem solid var(--vbd0-border);
  text-align: center;
}

.vbd0-rtp-name {
  font-size: 1.2rem;
  color: var(--vbd0-text-muted);
  margin-bottom: 0.4rem;
}

.vbd0-rtp-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vbd0-primary);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .vbd0-bottom-nav {
    display: none;
  }

  .vbd0-main {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .vbd0-main {
    padding-bottom: 8rem;
  }
}

@media (max-width: 360px) {
  .vbd0-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vbd0-hero-text h1 {
    font-size: 1.8rem;
  }
}
