/* Helix Games - Homepage Styles */

:root {
  --helix-primary: #3cd2a5;
  --helix-primary-light: #5ddbb5;
  --helix-primary-dark: #2ab88c;
  --helix-bg-dark: #0a0e10;
  --helix-bg-card: #1a1f23;
  --helix-text: #ffffff;
  --helix-text-muted: rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0e10 0%, #1a2a2e 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(60, 210, 165, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--helix-primary);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(60, 210, 165, 0.5);
  letter-spacing: 3px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(60, 210, 165, 0.5);
  }
  to {
    text-shadow: 0 0 40px rgba(60, 210, 165, 0.8), 0 0 60px rgba(60, 210, 165, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--helix-text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-primary {
  background: var(--helix-primary);
  color: #000;
  box-shadow: 0 4px 20px rgba(60, 210, 165, 0.4);
}

.cta-primary:hover {
  background: var(--helix-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(60, 210, 165, 0.6);
}

.cta-secondary {
  background: transparent;
  color: var(--helix-primary);
  border: 2px solid var(--helix-primary);
}

.cta-secondary:hover {
  background: rgba(60, 210, 165, 0.1);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  padding: 60px 20px;
  background: var(--helix-bg-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(60, 210, 165, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(60, 210, 165, 0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--helix-primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--helix-primary);
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--helix-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Games Grid Section */
.games-section {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--helix-primary);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--helix-text-muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--helix-bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(60, 210, 165, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--helix-primary);
  box-shadow: 0 10px 40px rgba(60, 210, 165, 0.3);
}

.game-thumbnail {
  height: 200px;
  background: linear-gradient(135deg, #1a1f23 0%, #2a3438 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.game-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(60, 210, 165, 0.2) 0%, transparent 70%);
}

.game-info {
  padding: 25px;
}

.game-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--helix-text);
  margin-bottom: 10px;
}

.game-description {
  font-size: 0.95rem;
  color: var(--helix-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.game-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.game-tag {
  padding: 5px 12px;
  background: rgba(60, 210, 165, 0.1);
  border: 1px solid rgba(60, 210, 165, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--helix-primary);
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--helix-primary);
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}

.game-card:hover .play-button {
  background: var(--helix-primary-light);
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  background: var(--helix-bg-card);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(60, 210, 165, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(60, 210, 165, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--helix-primary);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--helix-primary);
  margin-bottom: 15px;
}

.feature-description {
  font-size: 1rem;
  color: var(--helix-text-muted);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0a0e10 0%, #1a2a2e 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(60, 210, 165, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--helix-text);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--helix-text-muted);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}
