.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-xxl);
  background: url('https://i.pinimg.com/736x/5c/89/a2/5c89a2aeda44a59a73aff718e95206d2.jpg') no-repeat center center/cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 43, 24, 0.9) 0%,
    rgba(18, 18, 37, 0.85) 50%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h3 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-section::before, .about-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 6, 26, 0.2) 0%, rgba(180, 0, 255, 0) 70%);
  z-index: 0;
}

.about-section::before {
  top: -150px;
  left: -150px;
}

.about-section::after {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.2) 0%, rgba(0, 168, 255, 0) 70%);
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: var(--space-xxl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.05) 0%, rgba(180, 0, 255, 0.05) 100%);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rgb-red) 0%, var(--color-rgb-purple) 100%);
  box-shadow: 0 0 15px rgba(180, 0, 255, 0.5);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-text-primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* Games Section */
.games-section {
  padding: var(--space-xxl) 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.game-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  position: relative;
}

.game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.game-info {
  padding: var(--space-md);
  text-align: center;
}

.game-info h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.game-info p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  min-height: 40px;
}

/* Newsletter Section */
.newsletter-section {
  padding: var(--space-xxl) 0;
  background-color: var(--color-bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.05) 0%, rgba(180, 0, 255, 0.05) 100%);
  z-index: 0;
}

.newsletter-section .container {
  position: relative;
  z-index: 1;
}

.newsletter-section p {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-rgb-purple);
}

.newsletter-form .submit-button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

#newsletter-message {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-weight: 500;
}

#newsletter-message.success {
  background-color: rgba(0, 255, 139, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(0, 255, 139, 0.3);
}

#newsletter-message.error {
  background-color: rgba(255, 0, 85, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(255, 0, 85, 0.3);
}

/* Responsive styles for home page */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content h3 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content h3 {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
  }
  
  .newsletter-form .submit-button {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 var(--space-xl);
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h3 {
    font-size: 1.3rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
}