/* =========================================================================
   MUSCLECOUPLE - Disciplines & Sports Categories Styles
   Design: Modern Dark Glassmorphism & SEO Semantic Architecture
   ========================================================================= */

:root {
  --disc-bg-root: #040813;
  --disc-card-bg: rgba(11, 20, 38, 0.85);
  --disc-card-hover: rgba(16, 29, 54, 0.95);
  --disc-border: rgba(148, 163, 184, 0.12);
  --disc-border-glow-cyan: rgba(56, 189, 248, 0.35);
  --disc-border-glow-emerald: rgba(16, 185, 129, 0.35);
  --disc-border-glow-purple: rgba(168, 85, 247, 0.35);
  --disc-border-glow-amber: rgba(245, 158, 11, 0.35);
  --disc-cyan: #38bdf8;
  --disc-emerald: #10b981;
  --disc-purple: #c084fc;
  --disc-amber: #fbbf24;
  --disc-rose: #fb7185;
  --disc-text-main: #f8fafc;
  --disc-text-muted: #94a3b8;
  --disc-text-sub: #64748b;
}

body.disciplines-page {
  margin: 0;
  padding: 0;
  background-color: var(--disc-bg-root);
  background-image:
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.10) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(192, 132, 252, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.85) 0px, transparent 100%);
  color: var(--disc-text-main);
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.disciplines-page > footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.disciplines-page > header {
  width: 100%;
  box-sizing: border-box;
}

.disciplines-page > header > div {
  min-height: 72px;
  box-sizing: border-box;
}

.disc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

/* Header & Hero */
.disc-hero {
  text-align: center;
  margin-bottom: 48px;
}

.disc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--disc-cyan);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.disc-hero-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 950;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.disc-hero-desc {
  color: var(--disc-text-muted);
  font-size: 15px;
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* Filter Navigation Bar */
.disc-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.disc-filter-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--disc-border);
  color: var(--disc-text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.disc-filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.disc-filter-btn.active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border-color: #38bdf8;
  color: #000;
  font-weight: 900;
  box-shadow: 0 4px 20px var(--disc-border-glow-cyan);
}

/* Disciplines Showcase List */
.disc-cards-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.disc-card-item {
  background: var(--disc-card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--disc-border);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.disc-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

@media (max-width: 960px) {
  .disc-card-item {
    grid-template-columns: 1fr;
  }
}

/* Media Column */
.disc-media-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #090f1d;
}

.disc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.disc-card-item:hover .disc-img {
  transform: scale(1.05);
}

.disc-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 38, 0.95) 0%, rgba(11, 20, 38, 0.2) 60%, transparent 100%);
}

.disc-media-badges {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.disc-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
}

.badge-cyan { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.badge-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-purple { background: rgba(192, 132, 252, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }
.badge-amber { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.badge-rose { background: rgba(251, 113, 133, 0.2); color: #fb7185; border: 1px solid rgba(251, 113, 133, 0.4); }

.disc-media-stats {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  font-size: 12px;
  color: #e2e8f0;
}

/* Content Column */
.disc-content-wrap {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.disc-title-row {
  margin-bottom: 16px;
}

.disc-title-row h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 6px;
  color: #fff;
}

.disc-subtitle {
  font-size: 13px;
  color: var(--disc-text-muted);
  line-height: 1.6;
}

.disc-desc-main {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Semantic In-Depth Matrix (Good For / Caution / Targets) */
.disc-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .disc-specs-grid { grid-template-columns: 1fr; }

  .disc-container {
    padding: 96px 14px 48px;
  }

  .disc-hero {
    margin-bottom: 30px;
  }

  .disc-hero-title {
    font-size: 28px;
    line-height: 1.35;
  }

  .disc-hero-desc {
    font-size: 13px;
  }

  .disc-filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -14px;
    padding-inline: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .disc-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .disc-filter-btn {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .disc-cards-list {
    gap: 22px;
  }

  .disc-card-item {
    border-radius: 18px;
  }

  .disc-media-wrap {
    min-height: 270px;
  }

  .disc-content-wrap {
    padding: 24px 18px;
  }

  .disc-title-row h2 {
    font-size: 20px;
    line-height: 1.55;
  }

  .disc-action-bar,
  .disc-action-bar .disc-cta-btn {
    width: 100%;
  }

  .disc-action-bar .disc-cta-btn {
    justify-content: center;
    min-height: 48px;
  }
}

.disc-spec-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--disc-border);
  border-radius: 16px;
  padding: 16px;
}

.disc-spec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.disc-spec-head.suitable { color: #34d399; }
.disc-spec-head.caution { color: #fb7185; }
.disc-spec-head.goals { color: #38bdf8; }
.disc-spec-head.equip { color: #fbbf24; }

.disc-spec-text {
  font-size: 12px;
  color: var(--disc-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Actions & Footer */
.disc-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-t: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 14px;
}

.disc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.disc-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--disc-text-muted);
}

.disc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px var(--disc-border-glow-cyan);
}

.disc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5);
}

/* Matcher Banner / Callout */
.disc-matcher-banner {
  background: linear-gradient(135deg, rgba(14, 30, 60, 0.9), rgba(30, 20, 50, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 32px 36px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.disc-matcher-info h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #fff;
}

.disc-matcher-info p {
  font-size: 13px;
  color: var(--disc-text-muted);
  margin: 0;
  max-width: 600px;
}
