/**
 * JL3 Gaming Platform - Theme Stylesheet
 * Version: 1.0.0
 * Author: JL3 Design Team
 * Description: Mobile-first responsive design for JL3 gaming platform
 */

/* ===================================
   CSS Variables & Root Styles
   =================================== */
:root {
  /* Primary color palette */
  --vc0a-primary: #ADFF2F;
  --vc0a-secondary: #F08080;
  --vc0a-accent: #FFC0CB;
  --vc0a-success: #3CB371;
  --vc0a-dark: #262626;
  --vc0a-light: #EEEEEE;

  /* Background colors */
  --vc0a-bg-primary: #262626;
  --vc0a-bg-secondary: #1a1a1a;
  --vc0a-bg-card: #333333;
  --vc0a-bg-nav: #1f1f1f;

  /* Text colors */
  --vc0a-text-primary: #EEEEEE;
  --vc0a-text-secondary: #CCCCCC;
  --vc0a-text-muted: #999999;

  /* Spacing */
  --vc0a-spacing-xs: 0.4rem;
  --vc0a-spacing-sm: 0.8rem;
  --vc0a-spacing-md: 1.2rem;
  --vc0a-spacing-lg: 1.6rem;
  --vc0a-spacing-xl: 2.4rem;

  /* Border radius */
  --vc0a-radius-sm: 0.4rem;
  --vc0a-radius-md: 0.8rem;
  --vc0a-radius-lg: 1.2rem;

  /* Shadows */
  --vc0a-shadow-sm: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
  --vc0a-shadow-md: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.4);
  --vc0a-shadow-lg: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.5);

  /* Z-index layers */
  --vc0a-z-header: 1000;
  --vc0a-z-bottomnav: 1000;
  --vc0a-z-mobilemenu: 9999;
  --vc0a-z-overlay: 9998;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--vc0a-text-primary);
  background-color: var(--vc0a-bg-primary);
  overflow-x: hidden;
}

/* ===================================
   Layout Classes
   =================================== */
.vc0a-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--vc0a-spacing-md);
}

.vc0a-wrapper {
  width: 100%;
  overflow: hidden;
}

.vc0a-grid {
  display: grid;
  gap: var(--vc0a-spacing-md);
}

.vc0a-flex {
  display: flex;
  align-items: center;
}

.vc0a-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc0a-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc0a-flex-column {
  display: flex;
  flex-direction: column;
}

/* ===================================
   Header & Navigation
   =================================== */
.vc0a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 6.4rem;
  background-color: var(--vc0a-bg-nav);
  box-shadow: var(--vc0a-shadow-md);
  z-index: var(--vc0a-z-header);
  transition: all 0.3s ease;
}

.vc0a-header.vc0a-header-scrolled {
  background-color: rgba(31, 31, 31, 0.98);
}

.vc0a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--vc0a-spacing-md);
  max-width: 430px;
  margin: 0 auto;
}

.vc0a-logo {
  display: flex;
  align-items: center;
  gap: var(--vc0a-spacing-sm);
  text-decoration: none;
  color: var(--vc0a-primary);
  font-weight: 700;
  font-size: 2rem;
}

.vc0a-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--vc0a-radius-sm);
}

.vc0a-nav-buttons {
  display: flex;
  gap: var(--vc0a-spacing-sm);
}

.vc0a-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: var(--vc0a-radius-md);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
}

.vc0a-btn-register {
  background: linear-gradient(135deg, var(--vc0a-primary), var(--vc0a-success));
  color: var(--vc0a-dark);
}

.vc0a-btn-register:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 0.8rem rgba(173, 255, 47, 0.3);
}

.vc0a-btn-login {
  background: linear-gradient(135deg, var(--vc0a-secondary), var(--vc0a-accent));
  color: var(--vc0a-dark);
}

.vc0a-btn-login:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 0.8rem rgba(240, 128, 128, 0.3);
}

.vc0a-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--vc0a-spacing-sm);
}

.vc0a-menu-toggle span {
  display: block;
  width: 2.4rem;
  height: 0.3rem;
  background-color: var(--vc0a-primary);
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

/* ===================================
   Mobile Navigation Menu
   =================================== */
.vc0a-mobile-menu {
  position: fixed;
  top: 6.4rem;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: calc(100vh - 6.4rem);
  background-color: var(--vc0a-bg-nav);
  box-shadow: -0.4rem 0 0.8rem rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  z-index: var(--vc0a-z-mobilemenu);
  overflow-y: auto;
}

.vc0a-mobile-menu.vc0a-menu-active {
  right: 0;
}

.vc0a-menu-overlay {
  position: fixed;
  top: 6.4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: var(--vc0a-z-overlay);
}

.vc0a-menu-overlay.vc0a-overlay-active {
  opacity: 1;
  visibility: visible;
}

.vc0a-menu-list {
  list-style: none;
  padding: var(--vc0a-spacing-lg);
}

.vc0a-menu-item {
  margin-bottom: var(--vc0a-spacing-md);
}

.vc0a-menu-link {
  display: flex;
  align-items: center;
  gap: var(--vc0a-spacing-md);
  padding: var(--vc0a-spacing-md);
  color: var(--vc0a-text-primary);
  text-decoration: none;
  font-size: 1.6rem;
  border-radius: var(--vc0a-radius-md);
  transition: all 0.3s ease;
}

.vc0a-menu-link:hover {
  background-color: var(--vc0a-bg-card);
  color: var(--vc0a-primary);
}

.vc0a-menu-link i {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
}

/* ===================================
   Carousel
   =================================== */
.vc0a-carousel {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  margin-top: 6.4rem;
  border-radius: 0 0 var(--vc0a-radius-lg) var(--vc0a-radius-lg);
}

.vc0a-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vc0a-carousel-slide.vc0a-slide-active {
  opacity: 1;
  z-index: 1;
}

.vc0a-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc0a-carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* ===================================
   Main Content
   =================================== */
.vc0a-main {
  min-height: calc(100vh - 6.4rem - 14rem);
  padding: var(--vc0a-spacing-lg) 0;
}

.vc0a-main h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--vc0a-primary);
  margin-bottom: var(--vc0a-spacing-lg);
  line-height: 1.2;
  text-align: center;
}

.vc0a-main h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--vc0a-secondary);
  margin: var(--vc0a-spacing-xl) 0 var(--vc0a-spacing-md);
}

.vc0a-main h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vc0a-accent);
  margin: var(--vc0a-spacing-lg) 0 var(--vc0a-spacing-sm);
}

.vc0a-main p {
  margin-bottom: var(--vc0a-spacing-md);
  color: var(--vc0a-text-secondary);
}

.vc0a-main a {
  color: var(--vc0a-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.vc0a-main a:hover {
  color: var(--vc0a-secondary);
}

/* ===================================
   Card Components
   =================================== */
.vc0a-card {
  background-color: var(--vc0a-bg-card);
  border-radius: var(--vc0a-radius-md);
  padding: var(--vc0a-spacing-lg);
  margin-bottom: var(--vc0a-spacing-md);
  box-shadow: var(--vc0a-shadow-sm);
}

.vc0a-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vc0a-primary);
  margin-bottom: var(--vc0a-spacing-md);
}

/* ===================================
   Game Grid
   =================================== */
.vc0a-game-section {
  margin: var(--vc0a-spacing-xl) 0;
}

.vc0a-section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--vc0a-secondary);
  margin-bottom: var(--vc0a-spacing-md);
  display: flex;
  align-items: center;
  gap: var(--vc0a-spacing-sm);
}

.vc0a-section-title::before {
  content: '';
  display: block;
  width: 0.4rem;
  height: 2.4rem;
  background-color: var(--vc0a-primary);
  border-radius: var(--vc0a-radius-sm);
}

.vc0a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--vc0a-spacing-sm);
}

.vc0a-game-card {
  background-color: var(--vc0a-bg-card);
  border-radius: var(--vc0a-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--vc0a-shadow-sm);
}

.vc0a-game-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: var(--vc0a-shadow-md);
}

.vc0a-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.vc0a-game-name {
  padding: var(--vc0a-spacing-xs);
  font-size: 1rem;
  font-weight: 500;
  color: var(--vc0a-text-primary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================================
   Feature Components
   =================================== */
.vc0a-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vc0a-spacing-md);
  margin: var(--vc0a-spacing-lg) 0;
}

.vc0a-feature {
  background-color: var(--vc0a-bg-card);
  border-radius: var(--vc0a-radius-md);
  padding: var(--vc0a-spacing-md);
  text-align: center;
}

.vc0a-feature-icon {
  font-size: 3.2rem;
  color: var(--vc0a-primary);
  margin-bottom: var(--vc0a-spacing-sm);
}

.vc0a-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vc0a-secondary);
  margin-bottom: var(--vc0a-spacing-xs);
}

.vc0a-feature-desc {
  font-size: 1.2rem;
  color: var(--vc0a-text-muted);
}

/* ===================================
   Footer
   =================================== */
.vc0a-footer {
  background-color: var(--vc0a-bg-nav);
  padding: var(--vc0a-spacing-xl) 0;
  margin-top: var(--vc0a-spacing-xl);
}

.vc0a-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--vc0a-spacing-md);
}

.vc0a-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc0a-spacing-md);
  margin-bottom: var(--vc0a-spacing-lg);
  justify-content: center;
}

.vc0a-footer-link {
  color: var(--vc0a-text-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.vc0a-footer-link:hover {
  color: var(--vc0a-primary);
}

.vc0a-partners {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc0a-spacing-sm);
  justify-content: center;
  margin: var(--vc0a-spacing-lg) 0;
}

.vc0a-partner-logo {
  height: 3rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vc0a-partner-logo:hover {
  opacity: 1;
}

.vc0a-copyright {
  text-align: center;
  color: var(--vc0a-text-muted);
  font-size: 1.2rem;
  padding-top: var(--vc0a-spacing-md);
  border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Bottom Navigation (Mobile)
   =================================== */
.vc0a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6.4rem;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 -0.2rem 0.8rem rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: var(--vc0a-z-bottomnav);
  border-top: 0.2rem solid var(--vc0a-primary);
}

.vc0a-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 6rem;
  text-decoration: none;
  color: var(--vc0a-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--vc0a-spacing-xs);
}

.vc0a-bottom-nav-item:hover {
  color: var(--vc0a-primary);
  transform: scale(1.1);
}

.vc0a-bottom-nav-item.vc0a-nav-active {
  color: var(--vc0a-primary);
}

.vc0a-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.vc0a-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* ===================================
   Responsive Design
   =================================== */
@media (min-width: 769px) {
  .vc0a-bottom-nav {
    display: none;
  }

  .vc0a-main {
    padding-bottom: var(--vc0a-spacing-lg);
  }

  .vc0a-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .vc0a-main {
    padding-bottom: 8rem;
  }
}

/* ===================================
   Utility Classes
   =================================== */
.vc0a-text-center {
  text-align: center;
}

.vc0a-mt-lg {
  margin-top: var(--vc0a-spacing-lg);
}

.vc0a-mb-lg {
  margin-bottom: var(--vc0a-spacing-lg);
}

.vc0a-py-lg {
  padding-top: var(--vc0a-spacing-lg);
  padding-bottom: var(--vc0a-spacing-lg);
}

.vc0a-hide {
  display: none;
}

/* ===================================
   Animations
   =================================== */
@keyframes vc0a-fadeIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc0a-animate-fadeIn {
  animation: vc0a-fadeIn 0.5s ease;
}
