/* jili8888 CSS Design System - All classes prefixed with v6c0- */
:root {
  --v6c0-primary: #1C2833;
  --v6c0-secondary: #CED4DA;
  --v6c0-accent: #FFCCCB;
  --v6c0-highlight: #FFF176;
  --v6c0-text: #ffffff;
  --v6c0-text-secondary: #b0b0b0;
  --v6c0-bg: #0f1419;
  --v6c0-card-bg: #1a2332;
  --v6c0-border: #2c3e50;
  --v6c0-shadow: rgba(0, 0, 0, 0.3);
  --v6c0-radius: 8px;
  --v6c0-transition: all 0.3s ease;
}

/* Reset and 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, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--v6c0-text);
  background-color: var(--v6c0-bg);
  overflow-x: hidden;
}

/* Layout containers */
.v6c0-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.v6c0-wrapper {
  min-height: 100vh;
  padding-bottom: 8rem;
}

.v6c0-grid {
  display: grid;
  gap: 1rem;
}

.v6c0-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.v6c0-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.v6c0-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Header */
.v6c0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v6c0-primary) 0%, #2c3e50 100%);
  box-shadow: 0 2px 10px var(--v6c0-shadow);
  z-index: 1000;
}

.v6c0-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 430px;
  margin: 0 auto;
}

.v6c0-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--v6c0-text);
}

.v6c0-logo img {
  width: 2.4rem;
  height: 2.4rem;
}

.v6c0-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v6c0-highlight);
}

.v6c0-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.v6c0-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: var(--v6c0-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--v6c0-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
}

.v6c0-btn-primary {
  background: linear-gradient(135deg, var(--v6c0-accent) 0%, #ff9999 100%);
  color: var(--v6c0-primary);
}

.v6c0-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 203, 0.4);
}

.v6c0-btn-secondary {
  background: transparent;
  color: var(--v6c0-highlight);
  border: 2px solid var(--v6c0-highlight);
}

.v6c0-btn-secondary:hover {
  background: var(--v6c0-highlight);
  color: var(--v6c0-primary);
}

.v6c0-menu-btn {
  background: none;
  border: none;
  color: var(--v6c0-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.v6c0-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--v6c0-primary);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.v6c0-mobile-menu.active {
  right: 0;
}

.v6c0-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--v6c0-border);
}

.v6c0-menu-close {
  background: none;
  border: none;
  color: var(--v6c0-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.v6c0-menu-nav {
  padding: 1rem 0;
}

.v6c0-menu-nav a {
  display: block;
  padding: 1.5rem;
  color: var(--v6c0-text);
  text-decoration: none;
  border-bottom: 1px solid var(--v6c0-border);
  transition: var(--v6c0-transition);
}

.v6c0-menu-nav a:hover {
  background: var(--v6c0-card-bg);
  color: var(--v6c0-highlight);
}

.v6c0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v6c0-transition);
}

.v6c0-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main content */
.v6c0-main {
  padding-top: 7rem;
  min-height: 100vh;
}

/* Carousel */
.v6c0-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--v6c0-radius);
  margin-bottom: 2rem;
}

.v6c0-carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.v6c0-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.v6c0-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.v6c0-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.v6c0-carousel-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--v6c0-transition);
}

.v6c0-carousel-indicator.active {
  background: var(--v6c0-highlight);
  transform: scale(1.2);
}

/* Game cards */
.v6c0-game-card {
  background: var(--v6c0-card-bg);
  border-radius: var(--v6c0-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--v6c0-transition);
  position: relative;
}

.v6c0-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--v6c0-shadow);
}

.v6c0-game-image {
  width: 100%;
  height: auto;
  display: block;
}

.v6c0-game-name {
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--v6c0-text);
  background: var(--v6c0-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sections */
.v6c0-section {
  margin-bottom: 3rem;
}

.v6c0-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--v6c0-highlight);
  text-align: center;
}

.v6c0-section-content {
  background: var(--v6c0-card-bg);
  border-radius: var(--v6c0-radius);
  padding: 2rem;
  margin-bottom: 1rem;
}

/* Promotional content */
.v6c0-promo-text {
  color: var(--v6c0-accent);
  font-weight: 600;
  cursor: pointer;
}

.v6c0-promo-text:hover {
  text-decoration: underline;
}

.v6c0-promo-btn {
  background: linear-gradient(135deg, var(--v6c0-highlight) 0%, #ffd54f 100%);
  color: var(--v6c0-primary);
  padding: 1rem 2rem;
  border-radius: var(--v6c0-radius);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--v6c0-transition);
  cursor: pointer;
}

.v6c0-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 241, 118, 0.4);
}

/* Footer */
.v6c0-footer {
  background: var(--v6c0-primary);
  padding: 3rem 0 8rem;
  margin-top: 4rem;
}

.v6c0-footer-content {
  text-align: center;
}

.v6c0-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.v6c0-footer-links a {
  color: var(--v6c0-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--v6c0-transition);
}

.v6c0-footer-links a:hover {
  color: var(--v6c0-highlight);
}

.v6c0-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.v6c0-partner {
  height: 3rem;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--v6c0-transition);
}

.v6c0-partner:hover {
  filter: grayscale(0%) opacity(1);
}

.v6c0-copyright {
  color: var(--v6c0-text-secondary);
  font-size: 1.2rem;
  margin-top: 2rem;
}

/* Bottom navigation */
.v6c0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v6c0-primary) 0%, #2c3e50 100%);
  box-shadow: 0 -2px 10px var(--v6c0-shadow);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  padding: 0.5rem 0;
}

.v6c0-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  text-decoration: none;
  color: var(--v6c0-text-secondary);
  transition: var(--v6c0-transition);
  cursor: pointer;
}

.v6c0-bottom-nav-item:hover,
.v6c0-bottom-nav-item.active {
  color: var(--v6c0-highlight);
  transform: scale(1.05);
}

.v6c0-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.v6c0-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Scroll to top button */
.v6c0-scroll-top {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  background: var(--v6c0-highlight);
  color: var(--v6c0-primary);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--v6c0-transition);
  z-index: 999;
  box-shadow: 0 2px 10px var(--v6c0-shadow);
}

.v6c0-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.v6c0-scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--v6c0-shadow);
}

/* Responsive design */
@media (min-width: 769px) {
  .v6c0-bottom-nav {
    display: none;
  }

  .v6c0-wrapper {
    padding-bottom: 0;
  }

  .v6c0-footer {
    padding-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .v6c0-main {
    padding-bottom: 8rem;
  }
}

/* Utility classes */
.v6c0-text-center {
  text-align: center;
}

.v6c0-text-primary {
  color: var(--v6c0-highlight);
}

.v6c0-text-secondary {
  color: var(--v6c0-text-secondary);
}

.v6c0-mb-1 {
  margin-bottom: 1rem;
}

.v6c0-mb-2 {
  margin-bottom: 2rem;
}

.v6c0-mb-3 {
  margin-bottom: 3rem;
}

.v6c0-hidden {
  display: none;
}

/* Loading animation */
@keyframes v6c0-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.v6c0-loading {
  animation: v6c0-pulse 1.5s infinite;
}

/* Focus styles for accessibility */
.v6c0-btn:focus,
.v6c0-menu-btn:focus,
.v6c0-carousel-indicator:focus,
.v6c0-bottom-nav-item:focus {
  outline: 2px solid var(--v6c0-highlight);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --v6c0-shadow: rgba(0, 0, 0, 0.8);
  }
}