/**
 * gbaji CSS Layout
 * All classes use vab6- prefix for namespace isolation
 * Color palette: #262626, #999999, #FF4500, #FFAA00, #F08080, #BAE1FF
 * Mobile-first design, max-width: 430px
 */

:root {
  --vab6-bg: #262626;
  --vab6-bg-dark: #1a1a1a;
  --vab6-bg-card: #2e2e2e;
  --vab6-text: #ffffff;
  --vab6-text-muted: #999999;
  --vab6-primary: #FF4500;
  --vab6-accent: #FFAA00;
  --vab6-highlight: #F08080;
  --vab6-info: #BAE1FF;
  --vab6-border: #3a3a3a;
  --vab6-radius: 0.8rem;
  --vab6-radius-sm: 0.4rem;
}

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

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

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

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

.vab6-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vab6-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
}

.vab6-header-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vab6-primary);
  text-decoration: none;
}

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

.vab6-header-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--vab6-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  min-height: 36px;
  line-height: 2rem;
}

.vab6-btn-register {
  background: var(--vab6-primary);
  color: #fff;
}

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

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

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

.vab6-menu-active {
  right: 0 !important;
}

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

.vab6-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--vab6-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--vab6-border);
  transition: color 0.2s;
}

.vab6-menu-link:hover {
  color: var(--vab6-primary);
}

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

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

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

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

.vab6-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--vab6-radius);
}

.vab6-dots {
  text-align: center;
  padding: 0.6rem 0;
}

.vab6-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vab6-text-muted);
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.3s;
}

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

/* ===== CONTAINER ===== */
.vab6-container {
  width: 100%;
  padding: 0 1rem;
}

.vab6-wrapper {
  max-width: 430px;
  margin: 0 auto;
}

/* ===== MAIN CONTENT ===== */
.vab6-main {
  padding-top: 60px;
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  .vab6-main {
    padding-bottom: 2rem;
  }
}

/* ===== SECTION TITLES ===== */
.vab6-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vab6-text);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--vab6-primary);
}

.vab6-section-title span {
  color: var(--vab6-accent);
}

/* ===== GAME GRID ===== */
.vab6-game-section {
  margin-bottom: 2rem;
}

.vab6-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vab6-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
}

.vab6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.vab6-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.4rem;
  border-radius: var(--vab6-radius-sm);
}

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

.vab6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vab6-radius-sm);
  object-fit: cover;
  display: block;
}

.vab6-game-name {
  font-size: 1.1rem;
  color: var(--vab6-text);
  margin-top: 0.3rem;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT CARD ===== */
.vab6-card {
  background: var(--vab6-bg-card);
  border-radius: var(--vab6-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vab6-border);
}

.vab6-card h2 {
  font-size: 1.6rem;
  color: var(--vab6-accent);
  margin-bottom: 1rem;
}

.vab6-card h3 {
  font-size: 1.4rem;
  color: var(--vab6-info);
  margin: 1rem 0 0.5rem;
}

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

/* ===== PROMO BUTTON ===== */
.vab6-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vab6-primary), #e03c00);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--vab6-radius);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
  min-height: 44px;
  transition: opacity 0.2s, transform 0.2s;
}

.vab6-promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.vab6-promo-link {
  color: var(--vab6-primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.vab6-promo-link:hover {
  text-decoration: underline;
}

/* ===== BOTTOM NAVIGATION ===== */
.vab6-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: var(--vab6-bg-dark);
  border-top: 1px solid var(--vab6-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.3rem;
}

.vab6-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--vab6-text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
}

.vab6-bnav-btn:active {
  transform: scale(0.92);
}

.vab6-bnav-btn .vab6-bnav-icon {
  font-size: 22px;
  margin-bottom: 0.2rem;
}

.vab6-bnav-btn .vab6-bnav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

.vab6-bnav-active {
  color: var(--vab6-primary) !important;
}

@media (min-width: 769px) {
  .vab6-bnav {
    display: none;
  }
}

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

.vab6-footer-desc {
  color: var(--vab6-text-muted);
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.vab6-footer-links a {
  color: var(--vab6-accent);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  background: var(--vab6-bg-card);
  border-radius: var(--vab6-radius-sm);
  transition: background 0.2s;
}

.vab6-footer-links a:hover {
  background: var(--vab6-primary);
  color: #fff;
}

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

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

.vab6-footer-promos .vab6-promo-btn {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
}

/* ===== HELP PAGE CONTENT ===== */
.vab6-help-section {
  margin-bottom: 2rem;
}

.vab6-help-section h2 {
  font-size: 1.6rem;
  color: var(--vab6-accent);
  margin-bottom: 0.8rem;
}

.vab6-help-section p {
  color: var(--vab6-text-muted);
  line-height: 1.7rem;
  margin-bottom: 0.8rem;
}

.vab6-help-section ul {
  list-style: none;
  padding: 0;
}

.vab6-help-section li {
  padding: 0.6rem 0;
  color: var(--vab6-text-muted);
  border-bottom: 1px solid var(--vab6-border);
  line-height: 1.6rem;
}

.vab6-help-section li:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIAL ===== */
.vab6-testimonial {
  background: var(--vab6-bg-card);
  border-radius: var(--vab6-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vab6-accent);
}

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

.vab6-testimonial-author {
  color: var(--vab6-accent);
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ===== PAYMENT METHODS ===== */
.vab6-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}

.vab6-payment-item {
  background: var(--vab6-bg-card);
  border: 1px solid var(--vab6-border);
  border-radius: var(--vab6-radius-sm);
  padding: 0.6rem 1rem;
  color: var(--vab6-info);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ===== WINNER DISPLAY ===== */
.vab6-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--vab6-bg-card);
  border-radius: var(--vab6-radius-sm);
  margin-bottom: 0.6rem;
}

.vab6-winner-name {
  color: var(--vab6-accent);
  font-weight: 600;
  font-size: 1.2rem;
}

.vab6-winner-amount {
  color: var(--vab6-primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-left: auto;
}

/* ===== FEATURE LIST ===== */
.vab6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

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

.vab6-feature-icon {
  font-size: 2.4rem;
  color: var(--vab6-primary);
  margin-bottom: 0.5rem;
}

.vab6-feature-name {
  color: var(--vab6-accent);
  font-size: 1.2rem;
  font-weight: 600;
}

.vab6-feature-desc {
  color: var(--vab6-text-muted);
  font-size: 1.1rem;
  margin-top: 0.3rem;
}

/* ===== DESKTOP NAV ===== */
.vab6-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .vab6-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .vab6-desktop-nav a {
    color: var(--vab6-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .vab6-desktop-nav a:hover {
    color: var(--vab6-primary);
  }
}

/* ===== UTILITY ===== */
.vab6-text-center { text-align: center; }
.vab6-mt-1 { margin-top: 1rem; }
.vab6-mt-2 { margin-top: 2rem; }
.vab6-mb-1 { margin-bottom: 1rem; }
.vab6-mb-2 { margin-bottom: 2rem; }
.vab6-hidden { display: none; }

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