/* ============================================================
   CAWFA – Talents Page Counters
   File: assets/css/talents-page/counter.css
   Brand: Dark gradient + CAWFA Red (#D90404)
============================================================ */

/* =========================
   PAGE WRAPPER & TOP HEADER
   ========================= */

.talents-wrapper {
  background: radial-gradient(circle at top, #161616 0%, #050505 45%, #000000 100%);
}

.talents-wrapper .container {
  max-width: 1180px;
}

/* Left title */
.tpc-page-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 0.8rem;
}

.tpc-page-subtitle {
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 640px;
}

/* Red divider under main title block */
.tpc-page-divider {
  width: 100%;
  max-width: 520px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D90404 0%, #7a0202 40%, transparent 100%);
  opacity: 0.9;
}

/* ======================
   HEADER CTA RIGHT BOX
   ====================== */

.tpc-cta-box {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(circle at top left, #272727 0%, #101010 45%, #050505 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

/* Sol tarafta ince kırmızı şerit */
.tpc-cta-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff3131 0%, #D90404 45%, #7a0202 100%);
}

/* Hafif üst highlight */
.tpc-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

/* CTA içeriği üst layer’da kalsın */
.tpc-cta-box > * {
  position: relative;
  z-index: 1;
}

.tpc-cta-box h4 {
  font-size: 1.15rem;
}

.tpc-cta-box p {
  font-size: 0.94rem;
  line-height: 1.6;
}

/* CTA button */
.tpc-cta-box .btn-danger {
  background: linear-gradient(135deg, #ff2b2b, #D90404);
  border: none;
  box-shadow: 0 12px 28px rgba(217, 4, 4, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tpc-cta-box .btn-danger:hover {
  background: linear-gradient(135deg, #ff4949, #f01212);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(217, 4, 4, 0.75);
}

/* Mobile spacing */
@media (max-width: 991.98px) {
  .tpc-cta-box {
    margin-top: 1.5rem;
  }
}

/* =====================
   SECTION WRAPPER
   ===================== */

.tpc-section {
  margin: 32px auto;
  padding: 20px 24px 26px;
  border-radius: 20px;
  background: radial-gradient(circle at top, #1b1b1b 0%, #050505 55%, #000 100%);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* SECTION HEADER */

.tpc-header-left {
  max-width: 70%;
}

.tpc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.tpc-title-icon {
  color: #D90404;
  font-size: 18px;
}

.tpc-subtitle {
  font-size: 0.86rem;
  color: #b3b3b3;
  margin: 0;
}

/* NAV BUTTONS */

.tpc-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tpc-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #333;
  background: radial-gradient(circle at 30% 20%, #2b2b2b 0%, #111 65%, #060606 100%);
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.tpc-nav-btn:hover {
  border-color: #D90404;
  color: #D90404;
  box-shadow: 0 0 18px rgba(217, 4, 4, 0.6);
}

/* ======================
   SLIDER WRAPPER
   ====================== */

.tpc-slider-wrapper {
  margin-top: 18px;
  padding-bottom: 10px;
}

.tpc-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px 12px;
}

/* RED SCROLLBAR */

.tpc-slider::-webkit-scrollbar {
  height: 6px;
}

.tpc-slider::-webkit-scrollbar-thumb {
  background: #D90404;
  border-radius: 4px;
}

.tpc-slider::-webkit-scrollbar-track {
  background: #242424;
  border-radius: 4px;
}

/* ======================
   PROFILE CARD
   ====================== */

.tpc-card {
  min-width: 270px;
  max-width: 270px;
}

.tpc-card-inner {
  position: relative;
  display: block;
  height: 100%;
  background: radial-gradient(circle at top left, #1f1f1f 0%, #111 55%, #050505 100%);
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 2px solid transparent;
  text-decoration: none;
  color: #fff;
  transition: 0.22s ease;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
}

.tpc-card-inner:hover {
  border-color: #D90404;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(217, 4, 4, 0.6);
}

/* CARD HEADER */

.tpc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* AVATAR */

.tpc-avatar {
  flex: 0 0 50px;
  height: 50px;
}

.tpc-avatar-img,
.tpc-avatar-fallback {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.tpc-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #ffdfc2 0%, #D90404 45%, #340000 100%);
  font-weight: 700;
  font-size: 22px;
}

/* MAIN TEXT */

.tpc-card-main {
  flex: 1;
  min-width: 0;
}

.tpc-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tpc-name {
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.tpc-username {
  font-size: 0.86rem;
  color: #cfcfcf;
  margin-top: 1px;
}

.tpc-gender {
  font-size: 0.8rem;
  color: #999;
  margin-top: 1px;
}

/* ======================
   FOOTER (METRICS + FLAG)
   ====================== */

.tpc-card-footer {
  position: relative;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #272727;
}

/* METRIC ROW – single line */

.tpc-metric-row-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 32px; /* bayrak için boşluk */
}

.tpc-metric {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
}

.tpc-metric-icon {
  color: #D90404;
  font-size: 0.9rem;
}

.tpc-metric-label {
  color: #D90404; /* CAWFA Red */
  font-weight: 500;
}

.tpc-metric-value {
  color: #ffffff;
  font-weight: 600;
}

.tpc-metric-sub {
  font-weight: 400;
  font-size: 0.74rem;
  color: #bcbcbc;
}

/* FLAG – bottom right */

.tpc-location-flag {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 1.1rem;
  line-height: 1;
}

.tpc-location-flag .fi {
  cursor: pointer;
}

/* ======================
   RESPONSIVE
   ====================== */

@media (max-width: 768px) {
  .tpc-section {
    padding: 16px 14px 18px;
    margin: 18px 0;
  }

  .tpc-header-left {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .tpc-header-right {
    justify-content: flex-start;
  }

  .tpc-card {
    min-width: 240px;
    max-width: 240px;
  }

  .tpc-name {
    max-width: 130px;
  }
}
