/* ===== KADROLAR PAGE ===== */

/* Header */
.kadrolar-header {
  background: linear-gradient(135deg, #020617, #0b132b);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.kadrolar-header h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 800;
}

.kadrolar-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

/* Category Tabs */
.kadrolar-tabs-section {
  background: linear-gradient(135deg, #0b132b, #020617);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 72px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.category-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-item {
  flex: 1;
  min-width: 120px;
  padding: 20px 24px;
  text-decoration: none;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  background: rgba(255,255,255,0.02);
}

.tab-item:hover {
  background: rgba(255,255,255,0.05);
}

.tab-item.active {
  background: rgba(193,18,31,0.15);
  border-bottom-color: #c1121f;
}

.tab-label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.tab-item:hover .tab-label,
.tab-item.active .tab-label {
  color: #fff;
}

.tab-count {
  display: block;
  color: #fca311;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Grid Section */
.kadrolar-grid-section {
  background: linear-gradient(135deg, #020617, #0b132b);
  padding: 60px 0 80px;
  min-height: 60vh;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-title p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

/* Players Grid */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.player-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.player-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(193,18,31,0.4);
  box-shadow: 0 12px 30px rgba(193,18,31,0.3);
}

.player-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0b132b, #020617);
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.player-card:hover .player-photo img {
  transform: scale(1.08);
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.player-card:hover .player-overlay {
  opacity: 1;
}

.view-profile {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(193,18,31,0.9);
  padding: 8px 16px;
  border-radius: 20px;
}

.player-info {
  padding: 16px;
  position: relative;
}

.player-number {
  position: absolute;
  top: -16px;
  right: 16px;
  background: linear-gradient(135deg, #c1121f, #8b0a14);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(193,18,31,0.4);
}

.player-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.player-position {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255,255,255,0.5);
}

.empty-state svg {
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 1.1rem;
}

/* CTA Section */
.kadrolar-cta {
  background: linear-gradient(135deg, #020617, #0b132b);
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cta-box {
  background: linear-gradient(135deg, rgba(193,18,31,0.12), rgba(193,18,31,0.06));
  border: 1px solid rgba(193,18,31,0.3);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cta-box h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.cta-btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #c1121f, #8b0a14);
  color: #fff;
  border: 1px solid rgba(193,18,31,0.5);
  box-shadow: 0 4px 15px rgba(193,18,31,0.3);
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #d4121f, #9b0a14);
  box-shadow: 0 6px 25px rgba(193,18,31,0.5);
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: rgba(255,255,255,0.06);
  color: #fca311;
  border: 1px solid rgba(252,163,17,0.4);
}

.cta-btn.secondary:hover {
  background: rgba(252,163,17,0.15);
  border-color: rgba(252,163,17,0.6);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .kadrolar-header h1 {
    font-size: 2.2rem;
  }

  .players-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .kadrolar-tabs-section {
    top: 64px;
  }

  .tab-item {
    min-width: 100px;
    padding: 16px 18px;
  }

  .tab-label {
    font-size: 0.85rem;
  }

  .tab-count {
    font-size: 1.2rem;
  }

  .cta-box {
    padding: 50px 30px;
  }

  .cta-box h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 680px) {
  .kadrolar-header {
    padding: 40px 0 30px;
  }

  .kadrolar-header h1 {
    font-size: 1.8rem;
  }

  .kadrolar-subtitle {
    font-size: 0.95rem;
  }

  .kadrolar-grid-section {
    padding: 40px 0 60px;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .player-number {
    font-size: 0.75rem;
    padding: 4px 10px;
    top: -12px;
    right: 12px;
  }

  .player-name {
    font-size: 0.95rem;
  }

  .player-position {
    font-size: 0.75rem;
  }

  .kadrolar-tabs-section {
    top: 58px;
  }

  .tab-item {
    min-width: 80px;
    padding: 14px 12px;
  }

  .tab-label {
    font-size: 0.75rem;
  }

  .tab-count {
    font-size: 1.1rem;
  }

  .kadrolar-cta {
    padding: 60px 0;
  }

  .cta-box {
    padding: 40px 25px;
    border-radius: 16px;
  }

  .cta-box h2 {
    font-size: 1.4rem;
  }

  .cta-box p {
    font-size: 0.95rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 30px;
    font-size: 0.95rem;
  }
}
