/* Modern Homepage Styles */

/* Hero Section */
.hero-section {
  /* background: #fff6f7; */
  border-radius: 0;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* position: relative; */
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  /* top: -50%; */
  /* right: -20%; */
  /* width: 500px; */
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  /* left: -10%; */
  /* width: 400px; */
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section h1 {
  font-family: 'Alfa Slab One', cursive;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 65px #a99494;
}

.hero-section .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-icon {
  animation: bounce 2s infinite;
  position: relative;
  z-index: 1;
  font-size: 9rem;
}
@media (max-width: 767.98px) {
  .hero-icon {
    font-size: 7rem;
    /* margin-bottom: 1rem; */
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.feature-icon-circle {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
  transform: scale(1.1);
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

/* Buttons */
#homepage-hero .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

#homepage-hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

#homepage-hero .btn-primary {
  background: linear-gradient(135deg, #ac2cff 0%, #1a73e8 100%);
  border: none;
}

#homepage-hero .btn-outline-primary {
  color: #2163b1 !important;
  border-color: #2163b1 !important;
}

#homepage-hero .btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

/* Features Section */
#features-section {
  background-color: #ffffff;
}

#features-section h2 {
  color: #2c3e50;
  font-family: 'Alfa Slab One', cursive;
  font-size: 2.5rem;
}

/* Call to Action Section */
.bg-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 89vh;
    padding: 3rem 1rem !important;
  }
  
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  #features-section h2 {
    font-size: 1.75rem;
  }
  
  .feature-card {
    margin-bottom: 1rem;
  }
}

/* Hide homepage hero when navigating to other sections */
body.categories-active #homepage-hero,
body.account-active #homepage-hero,
body.friends-active #homepage-hero,
body.players-active #homepage-hero {
  display: none !important;
}

/* Animation for smooth appearance */
#homepage-hero {
  animation: fadeIn 0.5s ease-in;
  /* background: #ff530d; */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
