/* Home page specific styles */

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(255, 97, 229, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  animation: fadeIn 1.5s ease-out;
}

.hero h1 {
  margin-bottom: 20px;
  animation: neonPulse 5s infinite alternate;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

@keyframes neonPulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.2),
                 0 0 30px var(--primary-blue),
                 0 0 40px var(--primary-purple);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
                 0 0 25px rgba(255, 255, 255, 0.3),
                 0 0 35px var(--primary-pink),
                 0 0 45px var(--neon-blue);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Games Section */
.games {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(11, 11, 19, 0.7), transparent);
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

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

.game-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}

.game-card::before {
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-pink), var(--primary-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5),
              0 0 15px rgba(76, 201, 255, 0.3),
              0 0 30px rgba(201, 97, 255, 0.2);
}

.game-card:hover::before {
  opacity: 1;
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-card h3 {
  padding: 15px 20px 10px;
  font-size: 1.3rem;
  text-align: center;
}

.play-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  margin: 0 20px 20px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-light);
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
  color: var(--text-light);
  box-shadow: 0 0 10px rgba(255, 97, 229, 0.5);
}

/* About Section */
.about {
  padding: 80px 0;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Features Section */
.features {
  padding: 40px 0 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
              0 0 10px rgba(76, 201, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(76, 201, 255, 0.5));
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Disclaimer Section */
.disclaimer {
  padding: 60px 0;
  background: linear-gradient(to top, transparent, rgba(11, 11, 19, 0.5), transparent);
  text-align: center;
}

.disclaimer p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .about p,
  .disclaimer p {
    font-size: 1rem;
  }
}