/* Pantheon MUD - Homepage Styles */

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--norse-blue) 0%, var(--greek-blue) 50%, var(--egyptian-blue) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="rgba(255,215,0,0.1)" points="0,700 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.pantheon-title {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.1em;
}

.hero-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

/* Mythologies Section */
.mythologies {
  padding: 5rem 0;
  background: var(--primary-light);
}

.mythologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mythology-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mythology-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: all 0.3s ease;
}

.mythology-card.norse::before {
  background: var(--gradient-norse);
}

.mythology-card.greek::before {
  background: var(--gradient-greek);
}

.mythology-card.egyptian::before {
  background: var(--gradient-egyptian);
}

.mythology-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.mythology-card:hover::before {
  height: 100%;
  opacity: 0.1;
}

.mythology-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mythology-card.norse .mythology-icon {
  color: var(--norse-blue);
}

.mythology-card.greek .mythology-icon {
  color: var(--greek-blue);
}

.mythology-card.egyptian .mythology-icon {
  color: var(--egyptian-gold);
}

.mythology-card:hover .mythology-icon {
  transform: scale(1.2);
}

.mythology-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.mythology-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.mythology-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  background: var(--primary-dark);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--gradient-dark);
  color: white;
}

.features .section-title {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-gold);
}

.feature-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* News Section */
.news {
  padding: 5rem 0;
  background: var(--primary-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-gold);
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.news-date {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-item h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.news-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateX(5px);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Server Statistics Section */
.server-stats {
  padding: 5rem 0;
  background: white;
}

.stats-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.stats-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

.stats-text strong {
  color: var(--primary-gold);
  font-weight: 700;
}

.stats-chart {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.chart-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--primary-light);
  border-radius: 10px;
  min-width: 100px;
  position: relative;
  overflow: hidden;
}

.chart-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
}

.chart-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.chart-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.database-stats {
  margin-bottom: 3rem;
}

.database-stats h3 {
  color: var(--primary-dark);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.8rem;
}

.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.db-stat-item {
  background: var(--primary-light);
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-gold);
}

.db-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.db-stat-icon {
  font-size: 2.5rem;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.db-stat-info {
  flex: 1;
}

.db-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.2rem;
}

.db-stat-label {
  color: #666;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.db-stat-detail {
  color: #888;
  font-size: 0.9rem;
  display: block;
}

.real-time-note {
  text-align: center;
  padding: 1rem;
  background: var(--gradient-gold);
  border-radius: 25px;
  color: var(--primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.real-time-note i {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Call to Action */
.cta {
  padding: 5rem 0;
  background: var(--gradient-gold);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .pantheon-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .mythologies-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .stats-summary {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-chart {
    flex-direction: column;
    gap: 1rem;
  }

  .chart-item {
    margin: 0 auto;
  }

  .db-stats-grid {
    grid-template-columns: 1fr;
  }

  .db-stat-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .db-stat-icon {
    margin-bottom: 1rem;
  }
}
