/* ===== Sports Rehabilitation Page Styles ===== */

/* --- Hero Section --- */
.sport-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0520 40%, #2a0a15 100%);
  overflow: hidden;
}

.sport-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.sport-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 20, 60, 0.15);
  border: 1px solid rgba(220, 20, 60, 0.3);
  color: #ff6b8a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sport-badge svg {
  stroke: #ff6b8a;
}

.sport-hero-title {
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.sport-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
}

/* Hero animated background elements */
.hero-sport-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sport-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(220, 20, 60, 0.08), transparent);
  width: 1px;
}

.sport-line-1 {
  right: 15%;
  top: 0;
  height: 100%;
  animation: lineSlide 3s ease-in-out infinite;
}

.sport-line-2 {
  right: 30%;
  top: 0;
  height: 100%;
  animation: lineSlide 3s ease-in-out infinite 1s;
}

.sport-line-3 {
  right: 45%;
  top: 0;
  height: 100%;
  animation: lineSlide 3s ease-in-out infinite 2s;
}

.sport-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220, 20, 60, 0.1);
}

.sport-circle-1 {
  width: 300px;
  height: 300px;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  animation: circleFloat 6s ease-in-out infinite;
}

.sport-circle-2 {
  width: 180px;
  height: 180px;
  right: 20%;
  top: 20%;
  animation: circleFloat 6s ease-in-out infinite 2s;
}

@keyframes lineSlide {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.4; }
  50% { transform: translateY(-50%) scale(1.05); opacity: 0.7; }
}

@media (min-width: 768px) {
  .sport-hero-title {
    font-size: 3.75rem;
  }
  .sport-hero-subtitle {
    font-size: 1.125rem;
  }
}

/* --- Services Grid --- */
.sport-services-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(to bottom, #fafafa, #ffffff);
}

.sport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Card --- */
.sport-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 0;
  transform: translateY(30px);
}

.sport-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.sport-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px -8px rgba(220, 20, 60, 0.1),
    0 8px 16px -6px rgba(0, 0, 0, 0.06);
  border-color: rgba(220, 20, 60, 0.2);
}

.sport-card.revealed:hover {
  transform: translateY(-6px);
}

.sport-card-wide {
  grid-column: 1 / -1;
}

.sport-card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(220, 20, 60, 0.08);
  font-family: var(--font-serif);
  line-height: 1;
}

.sport-card-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), rgba(220, 20, 60, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.sport-card-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #dc143c;
}

.sport-card-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.sport-card-full {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.sport-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.25rem;
}

/* Highlights checklist */
.sport-card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #444;
  font-weight: 500;
}

/* Tags */
.sport-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sport-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(220, 20, 60, 0.06);
  color: var(--primary);
  border: 1px solid rgba(220, 20, 60, 0.12);
}

/* --- Ligament Subtypes Grid --- */
.ligament-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.03), rgba(220, 20, 60, 0.06));
  border-radius: 0.75rem;
  border: 1px solid rgba(220, 20, 60, 0.1);
}

@media (min-width: 640px) {
  .ligament-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ligament-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.ligament-item-marker {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #dc143c;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(220, 20, 60, 0.12);
  font-family: var(--font-sans);
}

.ligament-item-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.ligament-item-subtitle {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.ligament-item-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #666;
}

/* --- CTA Section --- */
.sport-cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0520 40%, #2a0a15 100%);
}

.sport-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.sport-cta-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.sport-cta-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}

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

.sport-cta-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sport-cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .sport-cta-title {
    font-size: 2.5rem;
  }
}
