/* JLQQQ PH - Main Stylesheet */
/* All classes use v129- prefix for namespace isolation */

/* CSS Variables */
:root {
  --v129-primary: #8470FF;
  --v129-secondary: #4B0082;
  --v129-accent: #A0522D;
  --v129-highlight: #8A2BE2;
  --v129-dark: #2D2D2D;
  --v129-light: #FFFFFF;
  --v129-gray: #666666;
  --v129-border: #E0E0E0;
  --v129-shadow: rgba(0, 0, 0, 0.1);
}

/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #333;
  background-color: #F5F5F5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
.v129-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v129-secondary) 0%, var(--v129-primary) 100%);
  box-shadow: 0 2px 10px var(--v129-shadow);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.v129-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  max-width: 430px;
  margin: 0 auto;
}

.v129-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v129-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.v129-logo-text {
  color: var(--v129-light);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v129-header-buttons {
  display: flex;
  gap: 10px;
}

.v129-header-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.v129-btn-register {
  background: var(--v129-light);
  color: var(--v129-primary);
}

.v129-btn-register:hover {
  background: var(--v129-highlight);
  color: var(--v129-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--v129-shadow);
}

.v129-btn-login {
  background: transparent;
  color: var(--v129-light);
  border: 2px solid var(--v129-light);
}

.v129-btn-login:hover {
  background: var(--v129-light);
  color: var(--v129-primary);
  transform: translateY(-2px);
}

.v129-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  border: none;
}

.v129-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--v129-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.v129-menu-toggle:hover span:nth-child(2) {
  width: 18px;
  margin-left: auto;
}

/* Mobile Menu */
.v129-mobile-menu {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--v129-secondary);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}

.v129-mobile-menu.v129-menu-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.v129-menu-list {
  list-style: none;
  padding: 10px 0;
}

.v129-menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v129-menu-link {
  display: block;
  padding: 12px 20px;
  color: var(--v129-light);
  font-size: 1.4rem;
  transition: background 0.3s ease;
}

.v129-menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.v129-main {
  padding-top: 52px;
  padding-bottom: 80px;
  max-width: 430px;
  margin: 0 auto;
}

/* Carousel */
.v129-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.v129-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.v129-carousel-item {
  min-width: 100%;
  height: 180px;
  overflow: hidden;
}

.v129-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Game Grid */
.v129-game-section {
  padding: 20px 15px;
}

.v129-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v129-dark);
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid var(--v129-primary);
}

.v129-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.v129-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.v129-game-item:hover {
  transform: scale(1.05);
}

.v129-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--v129-light);
  box-shadow: 0 2px 8px var(--v129-shadow);
}

.v129-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v129-game-name {
  font-size: 1rem;
  color: var(--v129-dark);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Content Sections */
.v129-content-section {
  padding: 20px 15px;
  background: var(--v129-light);
  margin: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--v129-shadow);
}

.v129-content-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v129-primary);
  margin-bottom: 12px;
}

.v129-content-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.v129-content-list {
  list-style: none;
  padding-left: 0;
}

.v129-content-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid var(--v129-border);
}

.v129-content-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--v129-primary);
  font-weight: bold;
}

/* Buttons */
.v129-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--v129-primary) 0%, var(--v129-secondary) 100%);
  color: var(--v129-light);
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px var(--v129-shadow);
}

.v129-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--v129-shadow);
}

.v129-link {
  color: var(--v129-primary);
  font-weight: 600;
  text-decoration: underline;
}

.v129-link:hover {
  color: var(--v129-secondary);
}

/* Footer */
.v129-footer {
  background: var(--v129-dark);
  color: var(--v129-light);
  padding: 30px 15px 100px;
  text-align: center;
}

.v129-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.v129-footer-link {
  color: var(--v129-light);
  font-size: 1.2rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.v129-footer-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.v129-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.v129-partner-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.v129-partner-logo:hover {
  opacity: 1;
}

.v129-copyright {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Bottom Navigation */
.v129-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--v129-dark);
  box-shadow: 0 -2px 10px var(--v129-shadow);
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
}

.v129-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
}

.v129-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 60px;
  min-height: 60px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  text-decoration: none;
}

.v129-nav-item:hover {
  transform: scale(1.1);
}

.v129-nav-item.v129-nav-active {
  color: var(--v129-primary);
}

.v129-nav-icon {
  font-size: 24px;
  line-height: 1;
}

.v129-nav-text {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

/* Desktop Responsive */
@media (min-width: 769px) {
  .v129-bottom-nav {
    display: none;
  }

  .v129-main {
    padding-bottom: 30px;
  }

  .v129-footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .v129-main {
    padding-bottom: 80px;
  }
}
