/* ==========================================================================
   🏫 GENÇLİK GELİŞİM AKADEMİSİ & ALTYAPI (YOUTH ACADEMY ENGINE)
   Renk Paleti: Zümrüt Yeşil, Mint, Orman Yeşili ve Altın Sarısı Vurgular (Lacivert Yok)
   ========================================================================== */
.youth-fullview {
  width: 100%;
  padding: 0 0 40px 0;
  animation: fadeIn 0.25s ease;
}

.youth-page-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* Top Academy Header - Dark Slate Graphite with subtle Emerald & Gold highlights */
.youth-top-header {
  background: linear-gradient(135deg, #0b1329 0%, #111827 50%, #0f172a 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.youth-top-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.youth-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.youth-facility-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #38bdf8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.youth-academy-title {
  font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.youth-academy-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 1px;
}

.youth-header-kpis {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.youth-kpi-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 80px;
}

.yk-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.yk-val {
  font-family: 'Chakra Petch', monospace;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}
.yk-val.gold { color: #facc15; }
.yk-val.green { color: #34d399; }

.youth-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-youth-head-action {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-youth-head-action.gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: 1px solid #fbbf24;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}
.btn-youth-head-action.gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}
.btn-youth-head-action.emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: 1px solid #34d399;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.btn-youth-head-action.emerald:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}

/* ==========================================================================
   2-COLUMN SPLIT LAYOUT (LEFT 6 SLOTS | RIGHT TABS PANEL)
   ========================================================================== */
.youth-split-main {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 18px;
  align-items: flex-start;
}
@container game (max-width: 1280px) {
  .youth-split-main {
    grid-template-columns: 1fr;
  }
}

/* Left Panel: 6 Slots Container - Dark Obsidian Gray */
.youth-left-panel {
  background: rgba(15, 23, 42, 0.75);

  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.youth-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 10px;
}
.yph-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yph-icon {
  font-size: 22px;
}
.yph-title-wrap h3 {
  margin: 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}
.yph-title-wrap p {
  margin: 2px 0 0 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: #94a3b8;
}

/* 6 Slots Grid */
.youth-slots-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@container game (max-width: 768px) {
  .youth-slots-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CLEAN MINIMALIST OCCUPIED SLOT CARD (NO EMOJI NOISE, HIGH READABILITY)
   ========================================================================== */
.youth-slot-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.youth-slot-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}
.youth-slot-card.drag-over {
  border-color: #facc15;
  background: #1e293b;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

/* Card Header */
.ysc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ysc-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ysc-pos-chip {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 6px;
  color: #ffffff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.pos-st, .pos-fw, .pos-cf { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
.pos-lw, .pos-rw, .pos-lm, .pos-rm { background: linear-gradient(135deg, #f97316 0%, #c2410c 100%); }
.pos-cam, .pos-cm, .pos-cdm { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.pos-cb, .pos-lb, .pos-rb { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.pos-gk { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }

.ysc-name-text {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ysc-age-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* 2-Column Clean Body Grid */
.ysc-body-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
}
.ysc-body-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ysc-body-col.left {
  align-items: flex-start;
}
.ysc-body-col.right {
  align-items: flex-end;
  text-align: right;
}
.ysc-body-col.right.boosted {
  border-left: 2px solid rgba(251, 191, 36, 0.4);
  padding-left: 10px;
}
.ysc-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.ysc-body-col.right.boosted .ysc-label {
  color: #fbbf24;
  font-weight: 800;
}
.ysc-num {
  font-family: 'Chakra Petch', monospace;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}
.ysc-num.ovr-mutant { color: #d946ef; text-shadow: 0 0 10px rgba(217, 70, 239, 0.6); }
.ysc-num.ovr-red { color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.6); }
.ysc-num.ovr-orange { color: #f97316; text-shadow: 0 0 10px rgba(249, 115, 22, 0.6); }
.ysc-num.ovr-yellow { color: #facc15; text-shadow: 0 0 10px rgba(250, 204, 21, 0.6); }
.ysc-num.ovr-green { color: #0891b2; text-shadow: 0 0 10px rgba(8, 145, 178, 0.6); }
.ysc-num.ovr-white, .ysc-num.ovr-grey { color: #ffffff; }

.ysc-num.target-num {
  color: #10b981;
}
.ysc-body-col.right.boosted .ysc-num.target-num {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}
.ysc-arrow {
  color: #64748b;
  font-size: 16px;
  font-weight: 900;
  padding: 0 6px;
}

/* Card Actions Bar */
.ysc-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}
.btn-slot-promote {
  flex: 1;
  background: rgba(30, 41, 59, 0.8);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
}
.btn-slot-promote.ready {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}
.btn-slot-promote.ready:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.btn-slot-promote.locked {
  background: rgba(30, 41, 59, 0.4);
  color: #64748b;
  border-color: rgba(148, 163, 184, 0.15);
  cursor: not-allowed;
}
.btn-slot-release {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}
.btn-slot-release:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Empty Slot */
.youth-slot-card.empty-slot {
  border: 2px dashed rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.5);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  cursor: pointer;
}
.youth-slot-card.empty-slot:hover {
  border-color: #38bdf8;
  background: rgba(30, 41, 59, 0.5);
}
.ysc-empty-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
}
.ysc-empty-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: #94a3b8;
  margin: 3px 0 10px 0;
}
.btn-assign-quick {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-assign-quick:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

/* ==========================================================================
   RIGHT SIDEBAR PANEL (2 TABS: OYUNCULAR & GELİŞİM)
   ========================================================================== */
.youth-right-panel {
  background: rgba(15, 23, 42, 0.75);

  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Right Tabs Bar */
.youth-right-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.youth-rtab-btn {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.youth-rtab-btn:hover {
  color: #ffffff;
}
.youth-rtab-btn.active {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid #64748b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.youth-rtab-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.youth-rsub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 8px;
}
.youth-rsub-header h4 {
  margin: 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
}
.youth-rsub-header p {
  margin: 2px 0 0 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  color: #94a3b8;
}

.btn-youth-scout-refresh {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.btn-youth-scout-refresh:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Pool Lists (Oyuncular Sekmesi) */
.youth-pool-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.youth-pool-player-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1.5px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: grab;
  transition: all 0.18s ease;
}
.youth-pool-player-card:hover {
  border-color: #38bdf8;
  background: rgba(51, 65, 85, 0.7);
  transform: translateX(3px);
}
.youth-pool-player-card:active {
  cursor: grabbing;
}

.ypp-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ypp-info {
  display: flex;
  flex-direction: column;
}
.ypp-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}
.ypp-meta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ypp-meta strong {
  color: #facc15;
}

.ypp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-ypp-assign {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid #38bdf8;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.btn-ypp-assign:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

/* Coaches List (Gelişim Sekmesi) */
.youth-coaches-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.youth-dev-coach-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1.5px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: grab;
  transition: all 0.18s ease;
}
.youth-dev-coach-card:hover {
  border-color: #facc15;
  background: rgba(51, 65, 85, 0.7);
  transform: translateX(3px);
}
.youth-dev-coach-card:active {
  cursor: grabbing;
}

.ydc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ydc-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ydc-info {
  display: flex;
  flex-direction: column;
}
.ydc-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}
.ydc-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
}

.btn-ydc-assign-coach {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}
.btn-ydc-assign-coach:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

/* ==========================================================================
   YOUTH SUBNAV BAR (2 SEKMELİ YÖNETİM)
   ========================================================================== */
.youth-subnav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid rgba(148, 163, 184, 0.2);
  padding-bottom: 8px;
}
.youth-subnav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.youth-subnav-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}
.youth-subnav-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   YOUTH COACH PANEL (PREMIUM OFFER DESIGN - 3 KART)
   ========================================================================== */
.ycoach-hero-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border: 1.5px solid rgba(129, 140, 248, 0.4);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}
.ycoach-hero-icon {
  font-size: 38px;
}
.ycoach-hero-text {
  flex: 1;
  min-width: 240px;
}
.ycoach-hero-text h3 {
  margin: 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.ycoach-hero-text p {
  margin: 4px 0 0 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #c7d2fe;
}
.ycoach-hero-status {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.ych-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}
.ych-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #38bdf8;
}

.ycoach-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 14px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .ycoach-grid-3 {
    grid-template-columns: 1fr;
  }
}

.ycoach-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  color: #f8fafc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ycoach-card:hover {
  transform: translateY(-4px);
}
.ycoach-card.normal {
  background: linear-gradient(165deg, #0f172a 0%, #0c4a6e 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 10px 26px rgba(12, 74, 110, 0.4);
}
.ycoach-card.strong {
  background: linear-gradient(165deg, #1e1b4b 0%, #6d28d9 100%);
  border: 2px solid #a78bfa;
  box-shadow: 0 12px 32px rgba(109, 40, 217, 0.45);
  padding-top: 32px;
}
.ycoach-card.super {
  background: linear-gradient(165deg, #2a0a18 0%, #701a75 55%, #be185d 100%);
  border: 3px solid #fbbf24;
  box-shadow: 0 14px 36px rgba(190, 24, 93, 0.5), 0 0 28px rgba(251, 191, 36, 0.4);
  padding-top: 32px;
}

.ycoach-card-shine {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
  transform: translateX(0) rotate(18deg);
  animation: ycoachShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
/* composited: only transform / opacity animate (a box-shadow / filter / left animation repainted every frame) */
@keyframes ycoachShine {
  0%, 60% { transform: translateX(0) rotate(18deg); }
  100% { transform: translateX(333.33%) rotate(18deg); }
}

.ycoach-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 18px;
  border-radius: 0 0 10px 10px;
}
.ycoach-ribbon.strong {
  background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
  color: #1e1b4b;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45);
}
.ycoach-ribbon.super {
  background: linear-gradient(90deg, #fde047, #f59e0b);
  color: #1e1b4b;
  font-size: 12.5px;
  padding: 5px 22px;
}
/* composited: only transform / opacity animate (a box-shadow / filter / left animation repainted every frame) */
.ycoach-ribbon.super::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 4px 22px rgba(253, 224, 71, 0.9);
  opacity: 0;
  pointer-events: none;
  animation: ycoachRibbonGlowGlow 1.8s ease-in-out infinite;
}
@keyframes ycoachRibbonGlowGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.ycoach-badge {
  align-self: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.ycoach-title {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* Metallic percentage ring */
.ycoach-ring {
  align-self: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  margin: 4px 0;
}
.ycoach-ring.normal {
  background: radial-gradient(circle at 30% 30%, #7dd3fc, #0369a1);
  border: 3px solid #e0f2fe;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  color: #ffffff;
}
.ycoach-ring.strong {
  background: radial-gradient(circle at 30% 30%, #fde68a, #b45309);
  border: 3px solid #fef3c7;
  color: #1e1b4b;
  box-shadow: 0 0 26px rgba(251, 191, 36, 0.7);
}
.ycoach-ring.super {
  background: radial-gradient(circle at 30% 30%, #f5d0fe, #a21caf);
  border: 3px solid #fdf4ff;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(232, 121, 249, 0.8);
  position: relative;
}
/* composited: only transform / opacity animate (a box-shadow / filter / left animation repainted every frame) */
.ycoach-ring.super::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 34px rgba(232, 121, 249, 1);
  opacity: 0;
  pointer-events: none;
  animation: ycoachPulseGlow 2.2s ease-in-out infinite;
}
@keyframes ycoachPulseGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
.ycoach-ring-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.ycoach-ring-cap {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  opacity: 0.9;
}

.ycoach-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.85);
  text-align: center;
  line-height: 1.35;
  margin: 0;
}
.ycoach-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.92);
}
.ycoach-perks li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ycoach-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 8px;
}
.ycoach-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
}
.ycoach-price-num {
  font-size: 34px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.ycoach-price-cur {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
}
.ycoach-price-unit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
.ycoach-price-free {
  font-size: 28px;
  color: #38bdf8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ycoach-btn {
  width: 100%;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ycoach-btn.normal {
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
}
.ycoach-btn.strong {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #1e1b4b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}
.ycoach-btn.super {
  background: linear-gradient(135deg, #fde047, #fbbf24);
  color: #1e1b4b;
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.6);
}
.ycoach-btn.active {
  background: rgba(34, 197, 94, 0.25);
  border: 1.5px solid #22c55e;
  color: #86efac;
  cursor: default;
}
.ycoach-btn.blocked {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  cursor: not-allowed;
}
.ycoach-btn:not(.active):not(.blocked):hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

