/* ╔══════════════════════════════════════════════════╗
   ║                Chess Page CSS                    ║
   ║        فقط استایل اختصاصی صفحه شطرنج             ║
   ╚══════════════════════════════════════════════════╝ */

:root {
  --course-accent: #769656;
}

/* ════════════════════════════════════════
   Hero شطرنج
   ════════════════════════════════════════ */

.chess-hero {
  position: relative;
  padding: 60px 0 82px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(35, 55, 28, 0.96), rgba(86, 125, 60, 0.95)),
    linear-gradient(45deg, #eeeed2 25%, transparent 25%),
    linear-gradient(-45deg, #eeeed2 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #769656 75%),
    linear-gradient(-45deg, transparent 75%, #769656 75%);
  background-size: auto, 80px 80px, 80px 80px, 80px 80px, 80px 80px;
  background-position: 0 0, 0 0, 0 40px, 40px -40px, -40px 0px;
}

.chess-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 25% 40%, white 0%, transparent 45%),
    radial-gradient(circle at 75% 55%, white 0%, transparent 45%);
}

.chess-hero-content {
  position: relative;
  text-align: center;
  animation: fadeInUp 0.8s ease backwards;
}

.chess-hero-icon {
  font-size: 3.5em;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}

.chess-hero-title {
  font-size: clamp(2em, 5vw, 2.9em);
  font-weight: 900;
  margin-bottom: 12px;
}

.chess-hero-subtitle {
  font-size: clamp(0.92em, 2.4vw, 1.08em);
  font-weight: 300;
  opacity: 0.84;
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.9;
}

.chess-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 17px 34px;
  backdrop-filter: blur(12px);
}

.chess-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.chess-stat-number {
  font-size: 1.6em;
  font-weight: 900;
  line-height: 1;
}

.chess-stat-label {
  font-size: 0.78em;
  opacity: 0.7;
}

.chess-stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.22);
}

.chess-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.chess-hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ════════════════════════════════════════
   Responsive
   ════════════════════════════════════════ */

@media (max-width: 768px) {
  .chess-hero {
    padding: 44px 0 66px;
  }

  .chess-hero-icon {
    font-size: 2.8em;
  }

  .chess-hero-stats {
    gap: 16px;
    padding: 15px 22px;
  }

  .chess-stat-number {
    font-size: 1.35em;
  }
}

@media (max-width: 420px) {
  .chess-hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 18px 22px;
  }

  .chess-stat-divider {
    width: 42px;
    height: 1px;
  }
}