/* /rosters/rosters.css */

.rosters-hero{
  padding-top: 56px;
}

.rosters-title{
  margin: 12px 0 0 0;
  color: var(--w1);
  font-size: clamp(32px, 3.3vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.rosters-panel{
  padding: 10px 0 20px 0;
}

/* ===== Index Menu Cards ===== */

.rosters-menu{
  display:grid;
  gap:12px;
  margin-top: 6px;
}

.menu-card{
  display:block;
  text-decoration:none;
  border-radius: var(--r);
  border: 1px solid rgba(189,223,255,0.16);
  background: rgba(248,248,248,0.04);
  padding: 16px;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.menu-card:hover{
  transform: translateY(-1px);
  background: rgba(248,248,248,0.06);
  border-color: rgba(189,223,255,0.20);
}

.menu-title{
  color: var(--w1);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.menu-text{
  margin-top: 6px;
  color: var(--w2);
  line-height: 1.55;
}

/* ===== Staff List ===== */

.staff-tip{
  color: var(--w2);
  line-height: 1.65;
}

.staff-section{
  margin-top: 18px;
}

.staff-subtitle{
  margin-top: 18px;
}

.staff-list{
  display:grid;
  gap:10px;
  margin-top: 10px;
}

/* Base card */
.staff-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;

  border-radius: var(--r);
  border: 1px solid rgba(189,223,255,0.16);
  background: rgba(248,248,248,0.04);
  padding: 14px;
}

/* Make staff card clickable (anchor) */
a.staff-link,
a.staff-link:link,
a.staff-link:visited,
a.staff-link:hover,
a.staff-link:active{
  text-decoration: none !important; /* kills underline/blue line */
  color: inherit !important;        /* kills visited-purple/blue */
}

.staff-link{
  cursor: pointer;

  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.staff-link:hover{
  transform: translateY(-1px);
  background: rgba(248,248,248,0.06);
  border-color: rgba(189,223,255,0.20);
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

/* Replace default blue focus */
.staff-link:focus{
  outline: none !important;
}

.staff-link:focus-visible{
  outline: 2px solid rgba(189,223,255,0.32) !important;
  outline-offset: 3px;
}

/* Right side: role + arrow */
.staff-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}

.staff-go{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(248,248,248,0.60);
  border-bottom: 2px solid rgba(248,248,248,0.60);
  transform: rotate(-45deg);
}

.staff-main{
  min-width: 0;
}

.staff-name{
  color: var(--w1);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.staff-desc{
  margin-top: 6px;
  color: var(--w2);
  line-height: 1.55;
}

.staff-role{
  flex: 0 0 auto;
  color: var(--w1);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.14);
}

/* ===== Team Buttons (links) ===== */

.team-buttons{
  display:grid;
  gap:12px;
  margin-top: 10px;
}

.team-btn{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;

  border-radius: var(--r);
  border: 1px solid rgba(189,223,255,0.16);
  background: rgba(248,248,248,0.04);
  padding: 16px;

  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.team-btn:hover{
  transform: translateY(-1px);
  background: rgba(248,248,248,0.06);
  border-color: rgba(189,223,255,0.20);
}

.team-logo-slot{
  width: 64px;
  height: 64px;
  border-radius: 16px;

  display:grid;
  place-items:center;

  color: rgba(248,248,248,0.78);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.10em;

  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.14);
}

.team-logo-slot img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}

.team-meta{
  min-width: 0;
}

.team-name{
  color: var(--w1);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.team-sub{
  margin-top: 4px;
  color: var(--w2);
  line-height: 1.4;
  font-size: 13px;
}

/* small arrow on the right */
.link-btn{
  justify-content:space-between;
}

.team-go{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(248,248,248,0.60);
  border-bottom: 2px solid rgba(248,248,248,0.60);
  transform: rotate(-45deg);
  margin-left: 10px;
}

/* ===== Team Page: big circular logo ===== */

.hero-card .team-logo-big{
  width: 300px;
  height: 300px;

  margin: 10px auto 0 auto;

  border-radius: 999px;
  border: 1px solid rgba(189,223,255,0.16);
  background: rgba(248,248,248,0.03);

  display:flex;
  align-items:center;
  justify-content:center;

  padding: 24px;
  overflow:hidden;

  box-shadow:
    0 0 0 1px rgba(189,223,255,0.12),
    0 0 30px rgba(189,223,255,0.08);
}

.hero-card .team-logo-big img{
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: drop-shadow(0 0 18px rgba(189,223,255,0.16));
}

/* ===== Team Page: roster grid (max 8 => 4x2) ===== */

.roster-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top: 10px;
}

.roster-card{
  border-radius: var(--r2);
  border: 1px solid rgba(189,223,255,0.14);
  background: rgba(248,248,248,0.03);
  padding: 12px;

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;

  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.roster-card:hover{
  transform: translateY(-1px);
  background: rgba(248,248,248,0.04);
  border-color: rgba(189,223,255,0.18);
}

.roster-name{
  color: var(--w1);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 14px;
  line-height: 1.15;
}

.roster-role{
  margin-top: 6px;

  color: var(--w2);
  font-weight: 850;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.14);
}

/* ===== Responsive ===== */

@media (max-width: 980px){
  .roster-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px){
  .staff-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .staff-right{
    width:100%;
    justify-content:space-between;
  }

  .roster-grid{
    grid-template-columns: 1fr;
  }

  .roster-card{
    flex-direction:row;
    text-align:left;
    align-items:center;
    gap:12px;
  }

  .roster-name{
    font-size: 15px;
  }

  .roster-role{
    margin-top: 4px;
  }
}