/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Hero Banner */
.hero-banner {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 40%),
    var(--bg-primary);
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.title-glow {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  animation: glow 3s ease-in-out infinite;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  min-width: 100px;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: var(--accent-gold-dim);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-title);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Quest Lines Section */
.quest-lines-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quest-lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.ql-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ql-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-dim), var(--accent-gold), var(--accent-gold-dim));
  opacity: 0;
  transition: opacity 0.3s;
}

.ql-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.ql-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.ql-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.ql-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ql-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.ql-quests {
  color: var(--accent-cyan);
  font-weight: 600;
}

.ql-diff {
  color: var(--text-muted);
}

.ql-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.ql-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  border-radius: 2px;
  width: 0%;
  transition: width 0.6s ease;
}

/* How Section */
.how-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.how-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.how-step {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-gold-dim), var(--accent-gold));
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.how-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.how-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

  .subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 0.8rem;
  }

  .stat-card {
    min-width: 80px;
    padding: 0.8rem 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .quest-lines-grid {
    grid-template-columns: 1fr;
  }
}
