/* ====================================================
   about-me-2-0.css — NXV About Me / Team Page v4.0
   Matches index1-2-0.css design language exactly
   ==================================================== */

/* ══ HERO (Team page hero — extends tc-page-hero) ══ */

/* Override team-cards.css gradient on title */
.tc-hero-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(2rem, 6vw, 4.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin: 12px 0 14px !important;
  text-shadow: 0 0 60px rgba(42,125,216,.3), 0 2px 0 rgba(0,0,0,.5) !important;
  /* Ensure no gradient-clip leaks from team-cards.css */
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
}
.tc-page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 160px 24px 80px; /* 36px promo + 60px navbar + 64px gap */
  text-align: center;
  background: radial-gradient(ellipse 110% 90% at 50% 0%, #0d1825 0%, #0a0a0f 65%);
}

/* Grid overlay matching homepage hero */
.am-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42,125,216,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,125,216,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
  z-index: 0;
}

/* Fade bottom */
.am-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, #0a0a0f);
  pointer-events: none;
  z-index: 2;
}

/* Chess background symbols — identical to homepage */
.am-chess-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.am-chess-sym {
  position: absolute;
  font-size: var(--sz, 90px);
  color: rgba(42,125,216,.025);
  animation: amChessDrift var(--dur, 20s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
  user-select: none;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(42,125,216,.08));
}
@keyframes amChessDrift {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%       { transform: translateY(-28px) rotate(4deg) scale(1.05); }
  66%       { transform: translateY(18px) rotate(-3deg) scale(.97); }
}

/* Glow behind hero */
.tc-page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(42,125,216,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Hero inner content */
.tc-hero-inner {
  position: relative;
  z-index: 3;
}

/* Hero title — gradient accent matching homepage em style */
.tc-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  margin: 12px 0 14px;
  text-shadow: 0 0 60px rgba(42,125,216,.3), 0 2px 0 rgba(0,0,0,.5);
}
.tc-hero-title em {
  font-style: normal;
  color: #2A7DD8;
  /* Override any gradient-clip from team-cards.css */
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  text-shadow: 0 0 30px rgba(42,125,216,.5);
  position: relative;
  display: inline-block;
}
.tc-hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2A7DD8, #1F7A8C, transparent);
  box-shadow: 0 0 12px #2A7DD8;
}

.tc-hero-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(206,206,206,.55);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.tc-hero-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(42,125,216,.1);
  border: 1px solid rgba(42,125,216,.28);
  border-radius: 50px;
  padding: 9px 24px;
  backdrop-filter: blur(14px);
}
.tc-count-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2A7DD8;
  text-shadow: 0 0 14px rgba(42,125,216,.5);
}
.tc-count-lbl {
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem;
  color: rgba(206,206,206,.5);
  letter-spacing: .06em;
}

/* ══ TEAM SECTION ══ */
.tc-section {
  background: #0a0a0f;
  padding: 70px 0 100px;
  position: relative;
}
.tc-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,125,216,.18), rgba(31,122,140,.12), transparent);
}

.tc-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ══ GRID ══ */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ══ CARD ══ */
.tc-card {
  position: relative;
  background: rgba(10,10,20,.65);
  border: 1px solid rgba(42,125,216,.1);
  border-radius: 20px;
  padding: 32px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition:
    transform .45s cubic-bezier(.34,1.2,.64,1),
    border-color .3s,
    box-shadow .3s;
  cursor: pointer;
  --mx: 50%; --my: 50%;
}

/* Scan-line texture matching feat-card */
.tc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(42,125,216,.012) 3px,
    rgba(42,125,216,.012) 4px
  );
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s;
}

/* Top accent line */
.tc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2A7DD8, #1F7A8C, transparent);
  opacity: 0;
  transition: opacity .4s;
}

.tc-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(42,125,216,.38);
  box-shadow:
    0 20px 56px rgba(0,0,0,.5),
    0 0 40px rgba(42,125,216,.08),
    0 0 0 1px rgba(42,125,216,.18);
}
.tc-card:hover::before { opacity: 1; }
.tc-card:hover::after  { opacity: 1; }

/* Radial glow on mouse position */
.tc-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mx) var(--my), rgba(42,125,216,.11), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.tc-card:hover .tc-card-glow { opacity: 1; }

/* ── Availability badge ── */
.tc-avail-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Exo 2', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid;
}
.tc-avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avail-on  { color: #22d35e; border-color: rgba(34,211,94,.3); background: rgba(34,211,94,.08); }
.avail-on  .tc-avail-dot { background: #22d35e; box-shadow: 0 0 5px #22d35e; animation: dotPulse 2s ease-in-out infinite; }
.avail-busy { color: #f59e0b; border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }
.avail-busy .tc-avail-dot { background: #f59e0b; }
.avail-off  { color: rgba(206,206,206,.4); border-color: rgba(206,206,206,.1); background: rgba(206,206,206,.04); }
.avail-off  .tc-avail-dot { background: #6b7280; }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 5px #22d35e; }
  50%       { box-shadow: 0 0 12px #22d35e; }
}

/* ── Avatar ── */
.tc-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.tc-spin-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #2A7DD8;
  border-right-color: #1F7A8C;
  animation: tcSpin 3s linear infinite;
}
@keyframes tcSpin { to { transform: rotate(360deg); } }

.tc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(42,125,216,.22);
  background: linear-gradient(135deg, #060e1c, #0a1a30);
}
.tc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Text elements ── */
.tc-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: .03em;
}
.tc-role {
  font-family: 'Exo 2', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #2A7DD8;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.tc-location {
  font-family: 'Exo 2', sans-serif;
  font-size: .78rem;
  color: rgba(206,206,206,.38);
  display: flex;
  align-items: center;
  gap: 5px;
}
.tc-location i { color: #1F7A8C; font-size: .7rem; }

.tc-bio-preview {
  font-family: 'Exo 2', sans-serif;
  font-size: .8rem;
  color: rgba(206,206,206,.5);
  text-align: center;
  line-height: 1.6;
  max-width: 100%;
  margin: 2px 0;
}

/* ── Stats ── */
.tc-stats {
  display: flex;
  gap: 16px;
  margin: 4px 0 2px;
  border-top: 1px solid rgba(42,125,216,.1);
  border-bottom: 1px solid rgba(42,125,216,.1);
  padding: 10px 0;
  width: 100%;
  justify-content: center;
}
.tc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(42,125,216,.06);
  border: 1px solid rgba(42,125,216,.12);
  border-radius: 10px;
  padding: 8px 14px;
  transition: all .3s;
}
.tc-card:hover .tc-stat {
  background: rgba(42,125,216,.12);
  border-color: rgba(42,125,216,.22);
}
.tc-stat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: #2A7DD8;
  text-shadow: 0 0 10px rgba(42,125,216,.4);
}
.tc-stat-lbl {
  font-family: 'Exo 2', sans-serif;
  font-size: .66rem;
  color: rgba(206,206,206,.38);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Skills preview ── */
.tc-skills-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 4px 0;
}
.tc-skill-mini { display: flex; align-items: center; gap: 8px; }
.tc-skill-mini-name {
  font-family: 'Exo 2', sans-serif;
  font-size: .72rem;
  color: rgba(206,206,206,.55);
  min-width: 86px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-skill-mini-bar {
  flex: 1;
  height: 4px;
  background: rgba(42,125,216,.1);
  border-radius: 4px;
  overflow: hidden;
}
.tc-skill-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #2A7DD8, #1F7A8C);
  border-radius: 4px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.tc-skill-mini-pct {
  font-family: 'Orbitron', sans-serif;
  font-size: .64rem;
  color: #1F7A8C;
  min-width: 28px;
  text-align: right;
}

/* ── Social icons ── */
.tc-socials {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}
.tc-soc {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(42,125,216,.07);
  border: 1px solid rgba(42,125,216,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: rgba(206,206,206,.45);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.tc-card:hover .tc-soc:hover {
  background: rgba(42,125,216,.2);
  border-color: rgba(42,125,216,.35);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
}

/* ── View button ── */
.tc-view-btn {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(42,125,216,.7);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: gap .25s, color .25s;
}
.tc-card:hover .tc-view-btn {
  gap: 14px;
  color: #2A7DD8;
}
.tc-view-btn i { transition: transform .25s; }
.tc-card:hover .tc-view-btn i { transform: translateX(4px); }

/* ══ EMPTY STATE ══ */
.tc-empty {
  text-align: center;
  padding: 80px 24px;
  background: rgba(10,10,20,.5);
  border: 1px dashed rgba(42,125,216,.2);
  border-radius: 20px;
}
.tc-empty-icon {
  font-size: 3rem;
  color: rgba(42,125,216,.25);
  margin-bottom: 20px;
}
.tc-empty h3 {
  font-family: 'Orbitron', sans-serif;
  color: rgba(206,206,206,.45);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.tc-empty p {
  font-family: 'Exo 2', sans-serif;
  color: rgba(206,206,206,.3);
  font-size: .9rem;
  margin-bottom: 24px;
}
.tc-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,125,216,.12);
  border: 1px solid rgba(42,125,216,.3);
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: #2A7DD8;
  text-decoration: none;
  transition: all .28s;
}
.tc-empty-cta:hover {
  background: rgba(42,125,216,.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(42,125,216,.22);
}

/* ══ REVEAL ANIMATIONS — consistent with index ══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible    { opacity: 1; transform: none; }
.reveal-scale {
  opacity: 0;
  transform: scale(.87) translateY(18px);
  transition: opacity .9s cubic-bezier(.34,1.06,.64,1), transform .9s cubic-bezier(.34,1.06,.64,1);
}
.reveal-scale.visible { opacity: 1; transform: none; }

.rd1 { transition-delay: .06s; }
.rd2 { transition-delay: .14s; }
.rd3 { transition-delay: .22s; }
.rd4 { transition-delay: .30s; }
.rd5 { transition-delay: .38s; }
.rd6 { transition-delay: .46s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .tc-section { padding: 52px 0 70px; }
  .tc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tc-page-hero { padding: 110px 20px 60px; min-height: 46vh; }
}
@media (max-width: 600px) {
  .tc-grid { grid-template-columns: 1fr; gap: 16px; }
  .tc-hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .tc-inner { padding: 0 16px; }
  .tc-page-hero { padding: 100px 16px 50px; }
}