/* ====== Dark Theme Tokens (match your profile look) ====== */
:root {
  --gh-bg: #0f0f12;
  /* page bg */
  --gh-card: #16171b;
  /* card bg */
  --gh-border: #2a2b31;
  --gh-text: #d7d7db;
  --gh-muted: #8b8d93;
  --gh-accent: #FFDF00;
  /* your yellow */
  --gh-accent-weak: #f2c40022;
  /* faint */
  --gh-ink: #1a1b1f;
  /* ink button bg */
}

/* Base */

a.link-ink {
  color: var(--gh-text);
  text-decoration: none;
}

a.link-ink:hover {
  color: var(--gh-accent);
}

/* Float card (matches your existing vibe) */
.gg {
  background: var(--gh-card);
  border: 1px solid var(--gh-border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}


/* Buttons in dark style */
.btn-ink {
  background: transparent;
  color: var(--gh-accent);
  border: 1px solid var(--gh-accent);
  font-weight: 600;
}

.btn-ink:hover {
  color: #111;
  border-color: var(--gh-accent);
  background-color: var(--gh-accent);
}

/* ====== Hero ====== */
.team-hero {
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.team-hero__bg {
  /* layout/size */
  width: 100%;
  position: absolute;
  inset: 0;
  background-image: var(--team-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  /* filter: saturate(0.95) brightness(0.8); */
  transform: scale(1.02);
}

/* Fallback image when there’s no team.banner */
.team-hero__bg--default {
  background-image: url("/static/images/b2_2x.feb47b4a28ad.png");
}

.team-hero__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .27) 75%);
}

.team-hero__logo-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}

.team-hero__logo {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #2a2b3a;
  background: #0f1015;
  display: block;
}

.team-hero__logo--fallback {
  display: grid;
  place-items: center;
  color: #FFDF00;
  font-size: 26px;
}

.team-hero__logo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: conic-gradient(#FFDF00, #fd8700, #ffd86c, #FFDF00) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .45;
}


.team-hero__title {
  color: var(--gh-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.team-hero__tag {
  color: var(--gh-muted);
}

/* Responsive hero */
@media (max-width: 576px) {
  .team-hero {
    min-height: 220px;
  }

  .team-hero__logo-wrap {
    width: 76px;
    height: 76px;
  }

  .team-hero__logo {
    width: 76px;
    height: 76px;
  }

}

/* ================================
   TEAM ROSTER
   ================================ */

.team-roster-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  /* border: 1px solid rgba(255, 223, 0, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 0, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #101116;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36); */
}

.team-roster-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* background:
    linear-gradient(90deg, rgba(255, 223, 0, 0.08), transparent 28%, transparent 72%, rgba(255, 223, 0, 0.06)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 18px); */
  opacity: .45;
}

.team-roster-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.team-roster-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gh-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-roster-title {
  color: #f4f4f5;
  font-size: 1.25rem;
  font-weight: 900;
}

.team-roster-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.team-roster-count,
.team-roster-leave,
.team-roster-join,
.team-roster-locked {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.team-roster-count {
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
}

.team-roster-leave {
  color: #ff4d61;
  border: 1px solid rgba(255, 77, 97, .55);
  background: rgba(255, 77, 97, .08);
}

.team-roster-leave:hover {
  color: #fff;
  background: rgba(255, 77, 97, .82);
  border-color: rgba(255, 77, 97, .95);
}

.team-roster-join {
  color: #101116;
  border: 1px solid var(--gh-accent);
  background: var(--gh-accent);
}

.team-roster-locked {
  color: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}

.team-roster-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.team-roster-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 34px 10px;
  box-sizing: border-box;
  scroll-padding-left: 34px;
  scroll-padding-right: 34px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.team-roster-scroll::-webkit-scrollbar {
  display: none;
}

.team-roster-item {
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
  scroll-snap-align: start;
}

.team-player-card {
  position: relative;
  height: 100%;
  min-height: 342px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 223, 0, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
    #111217;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .38);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-player-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 223, 0, .58);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 223, 0, .12);
}

.team-player-avatar-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.team-player-avatar-frame {
  position: relative;
  display: block;
  padding: 9px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 223, 0, .55), rgba(255,255,255,.08), rgba(255, 223, 0, .18));
}

.team-player-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
  background: #0b0c10;
  border: 1px solid rgba(0, 0, 0, .45);
}

.team-player-info {
  padding: 13px 4px 0;
}

.team-player-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 25px;
  margin-bottom: 8px;
}

.team-player-role {
  display: inline-flex;
  align-items: center;
  max-width: 130px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--gh-accent);
  background: rgba(255, 223, 0, .10);
  border: 1px solid rgba(255, 223, 0, .24);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}



.team-player-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #f4f4f5;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
}

.team-player-name:hover {
  color: var(--gh-accent);
}

.team-player-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-player-badges {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  font-size: .95rem;
  line-height: 1;
}

.team-player-divider {
  height: 1px;
  margin: 13px 0 11px;
  background: linear-gradient(90deg, rgba(255, 223, 0, .42), rgba(255,255,255,.08), transparent);
}

.roster-socials {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
}

.roster-social {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

.roster-social:hover {
  transform: translateY(-2px);
}

.roster-social--twitch {
  color: #9146FF;
  border-color: rgba(145, 70, 255, .38);
}

.roster-social--steam {
  color: #c7d5e0;
  border-color: rgba(199, 213, 224, .32);
}

.roster-social--discord {
  color: #5865F2;
  border-color: rgba(88, 101, 242, .42);
}

.roster-social--youtube {
  color: #FF0000;
  border-color: rgba(255, 0, 0, .42);
}

.roster-social--twitch:hover { background: #9146FF; color: #fff; }
.roster-social--steam:hover { background: #c7d5e0; color: #111; }
.roster-social--discord:hover { background: #5865F2; color: #fff; }
.roster-social--youtube:hover { background: #FF0000; color: #fff; }

.team-player-no-socials {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  font-weight: 700;
}

.team-roster-empty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 120px;
  padding: 20px;
  color: rgba(255,255,255,.62);
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.team-roster-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 213, 0, 0.42);
  border-radius: 999px;
  background: rgba(15, 16, 21, 0.94);
  color: #ffd500;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.team-roster-arrow:hover {
  border-color: #ffd500;
  background: rgba(255, 213, 0, 0.14);
}

.team-roster-arrow--left {
  left: 8px;
}

.team-roster-arrow--right {
  right: 8px;
}

@media (max-width: 768px) {
  .team-roster-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .team-roster-head {
    flex-direction: column;
    align-items: stretch;
  }

  .team-roster-actions {
    justify-content: flex-start;
  }

  .team-roster-arrow {
    display: none;
  }

  .team-roster-scroll {
    gap: 14px;
    padding-left: 4px;
    padding-right: 4px;
    scroll-padding-left: 4px;
    scroll-padding-right: 4px;
  }

  .team-roster-item {
    flex-basis: 220px;
    width: 220px;
    max-width: 220px;
  }

  .team-player-card {
    min-height: 308px;
  }

  .team-player-name {
    font-size: .95rem;
  }
}

/* ================================
   TEAM OVERVIEW TAB
   ================================ */

.gh-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
}

.gh-overview-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: .75rem .85rem;
}

.gh-overview-item--full {
  grid-column: 1 / -1;
}

.gh-overview-label {
  font-size: .78rem;
  color: var(--gh-muted);
  margin-bottom: .25rem;
}

.gh-overview-value {
  font-size: .95rem;
  color: var(--gh-text);
}

.gh-section-title {
  font-weight: 600;
  font-size: .92rem;
}

.gh-section-text {
  color: var(--gh-text);
  opacity: .92;
  font-size: .9rem;
}

/* Status pill */
.gh-status-pill {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.gh-status-recruiting {
  border-color: rgba(255, 223, 0, 0.45);
  background: rgba(255, 223, 0, 0.12);
  color: var(--gh-accent);
}

.gh-status-active {
  border-color: rgba(46, 229, 107, 0.30);
  background: rgba(46, 229, 107, 0.10);
}

.gh-status-inactive {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gh-muted);
}

/* Social buttons */
/* .gh-social-btn{
  border-radius: 15px;
} */

@media (max-width: 576px) {
  .gh-overview-grid {
    grid-template-columns: 1fr;
  }
}










/* =========================================================
   NAV (you use .floating-nav in the template)
   ========================================================= */
.team-event-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 14px auto;
  width: min(100%, 1320px);
  padding: 0 12px;
}

.team-event-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  font-weight: 900;
  white-space: nowrap;
}

.team-event-tabs .nav-link:hover,
.team-event-tabs .nav-link.active {
  border-color: rgba(255, 213, 0, 0.38);
  background: rgba(184, 156, 1, 0.06);
  color: #ffd500 !important;
}

@media (max-width: 768px) {
  .team-event-tabs {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 4px 8px;
    margin: 12px 0 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .team-event-tabs .nav-link {
    flex: 0 0 auto;
    min-width: 96px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
    scroll-snap-align: start;
  }

  .team-event-tabs .nav-link i {
    font-size: 0.85rem;
    margin-right: 4px !important;
  }

  .team-event-tabs::-webkit-scrollbar {
    display: none;
  }

  .team-event-tabs {
    scrollbar-width: none;
  }
}




/* =========================================================
   Custom Bootstrap-like column for 5 cards per row on lg
   (you already use col-lg-2-4 in the template)
   ========================================================= */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
    max-width: 20%;
  }
}