/* ========== HOME PAGE ========== */
.home-page {
  background: var(--color-page-bg);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 30px;
}

.hero-content {
  animation: slideInLeft 0.8s ease;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-title span:first-child {
  color: var(--color-brand-teach);
}

.hero-title span:last-child {
  color: var(--color-brand-quest);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand-teach);
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.hero-image {
  animation: slideInRight 0.8s ease;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 30px;
  background: var(--color-surface);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-text);
}

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

.feature-card {
  background: var(--color-page-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-brand-teach);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

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

.classes-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 30px;
}

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

.class-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

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

.class-card.class-defender {
  background: linear-gradient(135deg, var(--color-class-defender) 0%, var(--color-danger-dark) 100%);
}

.class-card.class-wizard {
  background: linear-gradient(135deg, var(--color-class-wizard) 0%, var(--color-info-dark) 100%);
}

.class-card.class-healer {
  background: linear-gradient(135deg, var(--color-class-healer) 0%, var(--color-success-dark) 100%);
}

.class-card.class-tinkerer {
  background: linear-gradient(135deg, var(--color-class-tinkerer) 0%, var(--color-warning-dark) 100%);
}

.class-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.class-name {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.class-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  padding: 80px 30px;
  text-align: center;
}

.cta-title {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 15px 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.footer {
  background: var(--color-surface);
  padding: 40px 30px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-text {
  color: var(--color-text-light);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 50px 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-title {
    font-size: 32px;
  }
}

.home-page-minimal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-brand-hover-bg) 0%, var(--color-page-bg) 50%, rgba(255, 107, 107, 0.08) 100%);
}

.home-minimal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  animation: fadeIn 0.6s ease;
}

.home-minimal-logo {
  width: auto;
  height: auto;
  max-width: min(520px, 88vw);
  margin-bottom: 40px;
}

.home-minimal-title {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.home-minimal-teach {
  color: var(--color-brand-teach);
}

.home-minimal-quest {
  color: var(--color-brand-quest);
}

.home-minimal-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-minimal-btn {
  min-width: 160px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .home-minimal-title {
    font-size: 32px;
  }

  .home-minimal-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .home-minimal-btn {
    width: 100%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
