/* 77jl Mobile Gaming Platform - CSS Styles */
/* Mobile-first responsive design for gaming platform */

/* Root Variables */
:root {
  --v7eb-primary: #B03060;
  --v7eb-secondary: #DB7093;
  --v7eb-bg: #2C2C2C;
  --v7eb-text: #FFEBCD;
  --v7eb-text-secondary: #FFEFD5;
  --v7eb-border: #444;
  --v7eb-hover: #C71585;
  --v7eb-shadow: rgba(0, 0, 0, 0.3);
  --v7eb-accent: #FF6B6B;
  --v7eb-success: #4CAF50;
  --v7eb-warning: #FF9800;
  --v7eb-error: #F44336;
  --v7eb-radius: 8px;
  --v7eb-transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--v7eb-bg);
  color: var(--v7eb-text);
  line-height: 1.5;
  font-size: 1.4rem;
  overflow-x: hidden;
}

/* Wrapper and Container */
.v7eb-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.v7eb-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header and Navigation */
.v7eb-header {
  background: linear-gradient(135deg, var(--v7eb-bg) 0%, #1a1a1a 100%);
  border-bottom: 2px solid var(--v7eb-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--v7eb-shadow);
}

.v7eb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
}

.v7eb-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--v7eb-text);
  font-size: 1.8rem;
  font-weight: bold;
}

.v7eb-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.v7eb-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v7eb-menu-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  gap: 0.4rem;
}

.v7eb-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--v7eb-text);
  transition: var(--v7eb-transition);
}

.v7eb-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.v7eb-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.v7eb-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.v7eb-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--v7eb-bg);
  border: 1px solid var(--v7eb-border);
  border-radius: 0 0 var(--v7eb-radius) var(--v7eb-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--v7eb-transition);
}

.v7eb-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v7eb-mobile-menu ul {
  list-style: none;
  padding: 1rem;
}

.v7eb-mobile-menu li {
  margin: 0.5rem 0;
}

.v7eb-mobile-menu a {
  color: var(--v7eb-text);
  text-decoration: none;
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--v7eb-radius);
  transition: var(--v7eb-transition);
}

.v7eb-mobile-menu a:hover {
  background: var(--v7eb-primary);
  color: white;
}

/* Buttons */
.v7eb-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--v7eb-radius);
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: var(--v7eb-transition);
  font-size: 1.4rem;
  min-width: 44px;
  min-height: 44px;
}

.v7eb-btn-primary {
  background: linear-gradient(135deg, var(--v7eb-primary) 0%, var(--v7eb-hover) 100%);
  color: white;
}

.v7eb-btn-primary:hover {
  background: linear-gradient(135deg, var(--v7eb-hover) 0%, var(--v7eb-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(176, 48, 96, 0.3);
}

.v7eb-btn-secondary {
  background: transparent;
  color: var(--v7eb-text);
  border: 2px solid var(--v7eb-secondary);
}

.v7eb-btn-secondary:hover {
  background: var(--v7eb-secondary);
  color: white;
  transform: translateY(-2px);
}

/* Main Content */
.v7eb-main {
  flex: 1;
  padding: 2rem 0;
  padding-bottom: 8rem; /* Account for bottom nav */
}

/* Hero Section */
.v7eb-hero {
  background: linear-gradient(135deg, var(--v7eb-bg) 0%, #1a1a1a 100%);
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: var(--v7eb-radius);
}

.v7eb-hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--v7eb-primary);
}

.v7eb-hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--v7eb-text-secondary);
}

/* Carousel */
.v7eb-carousel {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--v7eb-radius);
  overflow: hidden;
}

.v7eb-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.v7eb-carousel-item {
  flex: 0 0 100%;
  height: 20rem;
  background: linear-gradient(135deg, var(--v7eb-primary) 0%, var(--v7eb-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--v7eb-transition);
}

.v7eb-carousel-item:hover {
  transform: scale(1.02);
}

.v7eb-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.v7eb-carousel-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--v7eb-border);
  cursor: pointer;
  transition: var(--v7eb-transition);
}

.v7eb-carousel-dot.active {
  background: var(--v7eb-primary);
}

/* Game Grid */
.v7eb-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.v7eb-game-item {
  background: var(--v7eb-bg);
  border: 1px solid var(--v7eb-border);
  border-radius: var(--v7eb-radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--v7eb-transition);
  min-height: 10rem;
}

.v7eb-game-item:hover {
  border-color: var(--v7eb-primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--v7eb-shadow);
}

.v7eb-game-item img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--v7eb-radius);
  margin-bottom: 0.5rem;
}

.v7eb-game-item span {
  display: block;
  font-size: 1.2rem;
  color: var(--v7eb-text);
  font-weight: bold;
}

/* Section Styles */
.v7eb-section {
  margin-bottom: 3rem;
}

.v7eb-section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--v7eb-primary);
  text-align: center;
}

.v7eb-section-content {
  background: var(--v7eb-bg);
  border: 1px solid var(--v7eb-border);
  border-radius: var(--v7eb-radius);
  padding: 2rem;
}

/* Card Styles */
.v7eb-card {
  background: var(--v7eb-bg);
  border: 1px solid var(--v7eb-border);
  border-radius: var(--v7eb-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px var(--v7eb-shadow);
}

.v7eb-card-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--v7eb-primary);
}

.v7eb-card-content {
  color: var(--v7eb-text);
  line-height: 1.6;
}

/* Stats Grid */
.v7eb-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.v7eb-stat-item {
  background: var(--v7eb-bg);
  border: 1px solid var(--v7eb-border);
  border-radius: var(--v7eb-radius);
  padding: 1.5rem;
  text-align: center;
}

.v7eb-stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--v7eb-primary);
  margin-bottom: 0.5rem;
}

.v7eb-stat-label {
  font-size: 1.2rem;
  color: var(--v7eb-text-secondary);
}

/* List Styles */
.v7eb-list {
  list-style: none;
  padding: 0;
}

.v7eb-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--v7eb-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v7eb-list li:last-child {
  border-bottom: none;
}

.v7eb-list i {
  color: var(--v7eb-primary);
  font-size: 1.6rem;
}

/* Footer */
.v7eb-footer {
  background: var(--v7eb-bg);
  border-top: 2px solid var(--v7eb-primary);
  padding: 2rem 0;
  margin-top: auto;
}

.v7eb-footer-content {
  text-align: center;
  color: var(--v7eb-text-secondary);
}

.v7eb-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.v7eb-footer-links a {
  color: var(--v7eb-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--v7eb-radius);
  transition: var(--v7eb-transition);
}

.v7eb-footer-links a:hover {
  background: var(--v7eb-primary);
  color: white;
}

.v7eb-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.v7eb-partners img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--v7eb-radius);
  opacity: 0.7;
  transition: var(--v7eb-transition);
}

.v7eb-partners img:hover {
  opacity: 1;
}

/* Bottom Navigation */
.v7eb-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--v7eb-bg);
  border-top: 2px solid var(--v7eb-primary);
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--v7eb-shadow);
}

.v7eb-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--v7eb-text);
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: var(--v7eb-radius);
  transition: var(--v7eb-transition);
  min-width: 44px;
  min-height: 44px;
}

.v7eb-bottom-nav-item i {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.v7eb-bottom-nav-item:hover,
.v7eb-bottom-nav-item.active {
  color: var(--v7eb-primary);
  background: rgba(176, 48, 96, 0.1);
}

/* Utility Classes */
.v7eb-text-center {
  text-align: center;
}

.v7eb-text-left {
  text-align: left;
}

.v7eb-text-right {
  text-align: right;
}

.v7eb-mb-1 {
  margin-bottom: 1rem;
}

.v7eb-mb-2 {
  margin-bottom: 2rem;
}

.v7eb-mb-3 {
  margin-bottom: 3rem;
}

.v7eb-mt-1 {
  margin-top: 1rem;
}

.v7eb-mt-2 {
  margin-top: 2rem;
}

.v7eb-mt-3 {
  margin-top: 3rem;
}

.v7eb-p-1 {
  padding: 1rem;
}

.v7eb-p-2 {
  padding: 2rem;
}

.v7eb-flex {
  display: flex;
}

.v7eb-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.v7eb-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v7eb-grid {
  display: grid;
}

.v7eb-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.v7eb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.v7eb-hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
  .v7eb-container {
    padding: 0 0.5rem;
  }
  
  .v7eb-hero-title {
    font-size: 2.4rem;
  }
  
  .v7eb-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.8rem;
  }
  
  .v7eb-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .v7eb-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.v7eb-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.v7eb-slide-in {
  animation: slideIn 0.5s ease-in-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.v7eb-btn:focus,
.v7eb-bottom-nav-item:focus,
.v7eb-game-item:focus {
  outline: 2px solid var(--v7eb-primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .v7eb-header,
  .v7eb-bottom-nav,
  .v7eb-carousel {
    display: none;
  }
  
  .v7eb-main {
    padding-bottom: 0;
  }
}