/* BossJL VIP Website CSS - Mobile-First Responsive Design */
/* Color palette: #2C2C2C | #DC143C | #B03060 | #FF0000 */

:root {
  --va03-primary: #DC143C;
  --va03-secondary: #B03060;
  --va03-accent: #FF0000;
  --va03-dark: #2C2C2C;
  --va03-bg: #1a1a1a;
  --va03-text: #ffffff;
  --va03-text-secondary: #cccccc;
  --va03-border: #444444;
  --va03-gradient: linear-gradient(135deg, #DC143C 0%, #B03060 100%);
  font-size: 62.5%; /* Set root to 10px for rem calculations */
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--va03-bg);
  color: var(--va03-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

/* Layout Components */
.va03-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.va03-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.va03-grid {
  display: grid;
  gap: 1rem;
}

/* Header Navigation */
.va03-header {
  background: var(--va03-gradient);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.va03-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.va03-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--va03-text);
  text-decoration: none;
}

.va03-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.va03-nav-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.va03-hamburger {
  background: none;
  border: none;
  color: var(--va03-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
}

.va03-hamburger:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Button Styles */
.va03-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  background: var(--va03-gradient);
  color: var(--va03-text);
  text-decoration: none;
  border-radius: 0.8rem;
  font-weight: 600;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 4.4rem;
  gap: 0.8rem;
}

.va03-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220,20,60,0.4);
}

.va03-btn:active {
  transform: translateY(0);
}

.va03-btn-outline {
  background: transparent;
  border: 2px solid var(--va03-primary);
  color: var(--va03-primary);
}

.va03-btn-outline:hover {
  background: var(--va03-primary);
  color: var(--va03-text);
}

.va03-btn-small {
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  min-height: 3.6rem;
}

/* Mobile Menu */
.va03-mobile-menu {
  position: fixed;
  top: 7rem;
  left: -100%;
  width: 100%;
  height: calc(100vh - 7rem);
  background: var(--va03-dark);
  transition: left 0.3s ease;
  z-index: 999;
  padding: 2rem;
  overflow-y: auto;
}

.va03-menu-open {
  left: 0;
}

.va03-menu-item {
  display: block;
  padding: 1.5rem 0;
  color: var(--va03-text);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--va03-border);
  transition: color 0.3s ease;
}

.va03-menu-item:hover {
  color: var(--va03-primary);
}

.va03-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.va03-overlay.va03-active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.va03-main {
  flex: 1;
  margin-top: 7rem;
  padding-bottom: 8rem;
}

/* Hero Section */
.va03-hero-section {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, rgba(220,20,60,0.1) 0%, rgba(176,48,96,0.1) 100%);
  border-radius: 1rem;
  margin: 2rem 0;
}

.va03-hero-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--va03-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.va03-hero-subtitle {
  font-size: 1.6rem;
  color: var(--va03-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.va03-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.va03-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Carousel */
.va03-carousel {
  position: relative;
  height: 20rem;
  overflow: hidden;
  border-radius: 1rem;
  margin: 1rem 0 2rem;
}

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

.va03-slide.va03-active {
  opacity: 1;
}

.va03-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.va03-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.va03-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.va03-indicator.va03-active {
  background: var(--va03-primary);
}

/* Game Grid */
.va03-game-section {
  margin: 3rem 0;
}

.va03-section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--va03-primary);
  text-align: center;
}

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

.va03-game-item {
  background: var(--va03-dark);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.va03-game-item:hover {
  border-color: var(--va03-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(220,20,60,0.3);
}

.va03-game-icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0.8rem;
  margin: 0 auto 0.8rem;
  display: block;
}

.va03-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--va03-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Sections */
.va03-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--va03-dark);
  border-radius: 1rem;
  border-left: 4px solid var(--va03-primary);
}

.va03-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--va03-primary);
}

.va03-section h3 {
  font-size: 1.7rem;
  margin: 2rem 0 1rem;
  color: var(--va03-secondary);
}

.va03-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--va03-text-secondary);
}

.va03-section ul, .va03-section ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: var(--va03-text-secondary);
}

.va03-section li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* FAQ Section */
.va03-faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--va03-border);
  padding-bottom: 1.5rem;
}

.va03-faq-question {
  font-weight: 600;
  color: var(--va03-primary);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.va03-faq-answer {
  color: var(--va03-text-secondary);
  line-height: 1.6;
}

/* Features Grid */
.va03-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.va03-feature-card {
  background: var(--va03-bg);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid var(--va03-border);
  transition: all 0.3s ease;
}

.va03-feature-card:hover {
  border-color: var(--va03-primary);
  transform: translateY(-4px);
}

.va03-feature-icon {
  font-size: 3rem;
  color: var(--va03-primary);
  margin-bottom: 1rem;
}

.va03-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--va03-text);
}

.va03-feature-desc {
  font-size: 1.2rem;
  color: var(--va03-text-secondary);
  line-height: 1.4;
}

/* Bottom Navigation */
.va03-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--va03-dark);
  border-top: 1px solid var(--va03-border);
  display: flex;
  justify-content: space-around;
  padding: 0.8rem 0;
  z-index: 1000;
  height: 6.4rem;
}

.va03-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--va03-text-secondary);
  transition: all 0.3s ease;
  padding: 0.4rem;
  border-radius: 0.8rem;
  min-width: 4.4rem;
  cursor: pointer;
}

.va03-bottom-nav-item.va03-active {
  color: var(--va03-primary);
}

.va03-bottom-nav-item:hover {
  color: var(--va03-primary);
  background: rgba(220,20,60,0.1);
}

.va03-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.va03-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.va03-footer {
  background: var(--va03-dark);
  padding: 3rem 0 10rem;
  margin-top: 4rem;
}

.va03-footer-content {
  padding: 0 1rem;
}

.va03-footer-section {
  margin-bottom: 2.5rem;
}

.va03-footer-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--va03-primary);
  margin-bottom: 1.5rem;
}

.va03-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.va03-footer-link {
  color: var(--va03-text-secondary);
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.va03-footer-link:hover {
  color: var(--va03-primary);
  background: rgba(220,20,60,0.1);
}

.va03-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.va03-partner-logo {
  width: 100%;
  height: 4rem;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.va03-partner-logo:hover {
  filter: grayscale(0%);
}

.va03-copyright {
  text-align: center;
  color: var(--va03-text-secondary);
  font-size: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--va03-border);
}

/* Utility Classes */
.va03-text-center { text-align: center; }
.va03-text-primary { color: var(--va03-primary); }
.va03-text-secondary { color: var(--va03-text-secondary); }
.va03-mb-1 { margin-bottom: 1rem; }
.va03-mb-2 { margin-bottom: 2rem; }
.va03-mt-1 { margin-top: 1rem; }
.va03-mt-2 { margin-top: 2rem; }
.va03-p-1 { padding: 1rem; }
.va03-p-2 { padding: 2rem; }

/* Responsive Design */
@media (min-width: 768px) {
  .va03-container {
    max-width: 768px;
  }
  
  .va03-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .va03-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .va03-bottom-nav {
    display: none;
  }
  
  .va03-main {
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .va03-container {
    max-width: 1024px;
  }
  
  .va03-game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* Loading States */
.va03-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.va03-loading {
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: va03-shimmer 1.5s infinite;
}

@keyframes va03-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
.va03-btn:focus,
.va03-game-item:focus,
.va03-bottom-nav-item:focus {
  outline: 2px solid var(--va03-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --va03-primary: #FF0000;
    --va03-text: #FFFFFF;
    --va03-bg: #000000;
    --va03-dark: #111111;
  }
}