/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Exo 2', sans-serif;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ffff;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.nav-links a::after {
  content: '';
  position: absolute;
  
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00ffff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #00ffff;
  margin: 3px 0;
  transition: 0.3s;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite, fadeInUp 1s ease;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.2s both;
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background: #0f0f23;
}

.games-section h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 3rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.game-image {
  height: 200px;
  background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.game-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.game-category {
  background: rgba(0, 0, 0, 0.8);
  color: #00ffff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-players {
  background: rgba(0, 0, 0, 0.8);
  color: #ff00ff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-info {
  padding: 2rem;
}

.game-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.game-info p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.play-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Tournaments Section */
.tournaments-section {
  padding: 80px 0;
  background: #1a1a2e;
}

.tournaments-section h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.tournament-card {
  background: rgba(15, 15, 35, 0.8);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.tournament-card.featured {
  border-color: #ff00ff;
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tournament-status {
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tournament-status.live {
  background: #ff0000;
  color: #fff;
  animation: pulse 2s infinite;
}

.tournament-status.upcoming {
  background: #00ff00;
  color: #000;
}

.tournament-prize {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
}

.tournament-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.tournament-card p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tournament-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
}

.detail .icon {
  font-size: 1.2rem;
}

.join-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Leaderboard Section */
.leaderboard-section {
  padding: 80px 0;
  background: #0f0f23;
}

.leaderboard-section h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.leaderboard-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.leaderboard-content {
  max-width: 800px;
  margin: 0 auto;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(26, 26, 46, 0.8);
  border-radius: 15px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  transform: translateX(10px);
  border-color: #00ffff;
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.rank {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #00ffff;
  min-width: 50px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.player-avatar {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 255, 0.3);
}

.player-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.player-level {
  color: #00ffff;
  font-size: 0.9rem;
}

.player-stats {
  text-align: right;
}

.wins {
  display: block;
  color: #00ff00;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.winrate {
  color: #ff00ff;
  font-size: 0.9rem;
}

/* Community Section */
.community-section {
  padding: 80px 0;
  background: #1a1a2e;
}

.community-section h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.community-card {
  background: rgba(15, 15, 35, 0.8);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.community-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.community-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.community-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.community-card p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.member-count {
  display: block;
  color: #00ffff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.join-community-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-community-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Shop Section */
.shop-section {
  padding: 80px 0;
  background: #0f0f23;
}

.shop-section h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.product-image {
  height: 200px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ff00ff;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.product-info p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff00;
}

.original-price {
  color: #666;
  text-decoration: line-through;
  font-size: 1.1rem;
}

.buy-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Footer */
footer {
  background: #0a0a1a;
  color: #fff;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #00ffff;
  font-family: 'Orbitron', monospace;
}

.footer-section a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00ffff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #00ffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.social-link:hover {
  background: #00ffff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: #666;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .games-grid,
  .tournaments-grid,
  .community-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  .leaderboard-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .games-section h2,
  .tournaments-section h2,
  .leaderboard-section h2,
  .community-section h2,
  .shop-section h2 {
    font-size: 2rem;
  }
} 