:root{
  --bg:#0b0e13;
  --panel:#0f1420;
  --panel2:#0c111b;
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.52);
  --stroke:rgba(255,255,255,.10);
  --brand:#f5c400;
  /* Typography - matching main website */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', 'Montserrat', sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: var(--font-primary);
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* useful */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.section{padding:64px 0}
.section-alt{background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0))}
.section-head h2{
  font-family: var(--font-heading);
  font-weight:900;
  margin:0 0 10px 0;
  letter-spacing:.2px;
}
.section-head p{margin:0;color:var(--muted);max-width:72ch}

/* HERO */
.team-hero{
  position:relative;
  width:100vw;
  min-height:calc(80vh - 72px);
  height:auto;
  margin-top:72px; /* match your fixed navbar height */
  overflow:hidden;
  border-bottom:1px solid var(--stroke);
  padding: 40px 0;
}
.team-hero-bg{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transform:scale(1.02);
  z-index:0;
}
.team-hero-overlay{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 35% 45%, rgba(0,0,0,.35), rgba(0,0,0,.85)),
    linear-gradient(to bottom, rgba(0,0,0,.3), var(--bg));
  z-index:1;
}
.team-hero-inner{
  position:relative;
  max-width:1200px;
  margin:0 auto;
  min-height:100%;
  padding:40px 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:24px;
  z-index:2;
}
.team-identity{
  display:flex;
  gap:28px;
  align-items:flex-start;
  flex-wrap:wrap;
  width:100%;
}
.team-logo-wrap{
  width:140px;
  height:140px;
  min-width:140px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--stroke);
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.team-logo{
  width:120px;
  height:120px;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}
.team-meta{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.team-name{
  font-family: var(--font-heading);
  font-weight:900;
  font-size:clamp(32px, 5.5vw, 72px);
  line-height:1.1;
  margin:0 0 12px 0;
  word-wrap:break-word;
  hyphens:auto;
  text-align:left;
  width:100%;
}
.team-tagline{
  margin:0 0 16px 0;
  color:var(--muted);
  font-size:clamp(18px, 2.5vw, 22px);
  line-height:1.5;
  text-align:left;
  width:100%;
  font-weight:500;
  font-family: var(--font-primary);
}

.team-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
  width:100%;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(15,20,32,.65);
  backdrop-filter: blur(10px);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:clamp(12px, 1.5vw, 13px);
  white-space:nowrap;
  transition:all 0.2s ease;
  font-family: var(--font-primary);
}
.badge:hover{
  background:rgba(15,20,32,.8);
  transform:translateY(-1px);
}
.badge-rank::before{
  content:"🏆";
  opacity:.95;
  font-size:14px;
}
.badge-discord{
  border-color: rgba(88, 101, 242, 0.5);
  background: rgba(88, 101, 242, 0.15);
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.badge-discord::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.badge-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: rgba(88, 101, 242, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}
.badge-discord:hover::before {
  left: 100%;
}
.badge-discord .fab,
.badge-discord .fa-discord {
  color: #ffffff;
  font-size: 16px;
  margin-right: 8px;
}

.badge-support{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}
.support-btn{
  background:var(--brand);
  color:#0a0a0a;
  border:1px solid rgba(245,196,0,.6);
  border-radius:999px;
  padding:12px 20px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:all 0.2s ease;
  box-shadow:0 4px 12px rgba(245,196,0,.2);
  white-space:nowrap;
}
.support-btn:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(245,196,0,.3);
}
.support-btn.supported{
  opacity:0.7;
  cursor:not-allowed;
}
.support-count{
  font-weight:700;
  color:var(--brand);
  font-size:16px;
  min-width:24px;
}

.team-hero-cta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
  width:100%;
}
.btn{
  border-radius:999px;
  padding:14px 24px;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  border:1px solid var(--stroke);
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:all 0.2s ease;
  white-space:nowrap;
  font-family: var(--font-primary);
}
.btn i{
  font-size:16px;
  opacity:0.9;
}
.btn-primary{
  background:var(--brand);
  color:#0a0a0a;
  border-color:rgba(245,196,0,.6);
  box-shadow:0 4px 12px rgba(245,196,0,.2);
}
.btn-primary:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(245,196,0,.3);
}
.btn-ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-color:var(--stroke);
}
.btn-ghost:hover{
  background:rgba(255,255,255,.1);
  transform:translateY(-1px);
}

/* ensure anchor landing isn't hidden by header */
#staff, #squad { 
  scroll-margin-top: 92px; 
}

@media (max-width: 768px) {
  #staff, #squad { 
    scroll-margin-top: 80px; 
  }
}

/* STAFF */
.staff-root{display:flex;flex-direction:column;gap:22px}
.staff-row-title{
  font-family: var(--font-heading);
  font-weight:900;
  margin:24px 0 16px 0;
  color:rgba(255,255,255,.92);
  text-align: left;
  font-size: 20px;
}
.staff-row-title:first-child {
  margin-top: 0;
}
.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: -4px 0 16px 0;
  font-weight: 500;
  text-align: center;
}

.section-subtitle .team-name-highlight {
  color: var(--brand);
  font-weight: 700;
}
.staff-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.staff-card{
  grid-column: span 3;
  background:rgba(15,20,32,.75);
  border:1px solid var(--stroke);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.staff-card.featured{grid-column: span 6}
.staff-top{
  display:flex;gap:14px;
  padding:16px;
  align-items:center;
}
.staff-photo-wrapper {
  position: relative;
  cursor: pointer;
}
.staff-photo-wrapper:hover .photo-overlay {
  opacity: 1;
}
.staff-photo{
  width:56px;height:56px;
  border-radius:14px;
  object-fit:cover;
  background:rgba(255,255,255,.08);
  border:1px solid var(--stroke);
}
.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.6);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.photo-overlay i {
  color: white;
  font-size: 18px;
}
.staff-name{margin:0;font-weight:900}
.staff-role{margin:4px 0 0 0;color:var(--muted2);font-weight:700;font-size:12px;text-align:left}

.staff-body{
  padding:0 16px 16px 16px;
  display:grid;
  gap:10px;
}
.kv{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
  font-size:12px;
}
.kv span:first-child{color:var(--muted2);font-weight:700}
.kv span:last-child{font-weight:800}

/* Staff Photo Modal */
.staff-photo-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.staff-photo-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.staff-photo-modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
  border: 3px solid var(--brand);
}

.staff-photo-modal-name {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  margin-top: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.staff-photo-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}
.staff-photo-modal-close:hover {
  color: var(--brand);
}

/* CONTROLS */
.controls{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap:14px;
  margin-top:22px;
}
.control label{display:block;color:var(--muted2);font-size:12px;font-weight:700;margin-bottom:8px}
.control input, .control select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  outline:none;
}
.control input::placeholder{color:rgba(255,255,255,.45)}
.control select option{background:var(--panel);}

/* SQUAD GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
  margin-top:18px;
}
.player-card{
  background:rgba(15,20,32,.75);
  border:1px solid var(--stroke);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.player-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.player-top{
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:140px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
}
.player-img{
  height:110px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}
.player-body{padding:14px 14px 16px 14px;display:grid;gap:10px}
.player-name{margin:0;font-weight:900}
.pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{
  font-size:11px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
}
.pill.price{border-color:rgba(245,196,0,.35)}
.stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted2);
  font-size:12px;
  font-weight:700;
}

/* SKELETON + EMPTY */
.skeleton-grid{display:grid;gap:16px;margin-top:18px}
.squad-skeleton{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))}
.skeleton-card{
  height:160px;
  border-radius:16px;
  background:linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.09), rgba(255,255,255,.05));
  background-size: 200% 100%;
  animation: shimmer 1.1s infinite;
  border:1px solid rgba(255,255,255,.07);
}
@keyframes shimmer{
  0%{background-position: 200% 0}
  100%{background-position: -200% 0}
}
.empty{
  margin-top:18px;
  padding:18px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
}
.empty-title{font-weight:900}
.empty-sub{margin-top:6px;color:var(--muted)}

/* === SQUAD WRAPPER === */
.hpl-squad {
  padding: 64px 0;
}

.hpl-squad-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Staff section heading - center aligned and yellow */
#staff .hpl-squad-head {
  justify-content: center;
}

.squad-title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hpl-squad-head h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  margin: 0;
}

/* Staff section heading - yellow color */
#staff .hpl-squad-head h2 {
  color: var(--brand);
}

.squad-count {
  font-size: 18px;
  font-weight: 600;
  color: #ffd786;
  display: inline-block;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  white-space: nowrap;
}

.hpl-squad-controls {
  display: flex;
  gap: 10px;
}

.hpl-squad-controls input,
.hpl-squad-controls select {
  background: rgba(15,20,32,.75);
  border: 1px solid rgba(255,215,134,0.2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-primary);
}

.hpl-squad-controls input::placeholder {
  color: rgba(255,255,255,0.45);
}

.hpl-squad-controls select option {
  background: var(--panel);
}

/* === GRID === */
.hpl-squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

@media (max-width: 1200px) {
    .auction-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .auction-grid {
        grid-template-columns: 1fr;
    }
}

/* Top controls for filter */
.top-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: flex-start;
    align-items: center;
}

.search-box {
    padding: 8px 12px;
    font-size: 15px;
    width: 240px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 134, 0.25);
    background: #120b20;
    color: white;
}

.filter-btn {
    padding: 8px 14px;
    background: #1e2538;
    border: 1px solid rgba(255, 215, 134, 0.2);
    border-radius: 6px;
    color: #ffd786;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.filter-btn:hover {
    border-color: #ffd786;
    background: #252d42;
}

.applied-filter-text {
    color: #ffd786;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
}

/* Sort Modal */
.sort-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.sort-modal.open {
    display: flex;
}

.sort-modal-content {
    background: #1e2538;
    padding: 22px;
    border-radius: 10px;
    min-width: 260px;
    border: 1px solid rgba(255, 215, 134, 0.3);
    text-align: center;
}

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

.popup-title {
    color: #ffd786;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.popup-option {
    width: 100%;
    margin: 4px 0;
    padding: 8px 12px;
    background: #0e1527;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 134, 0.3);
    color: #ffd786;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-option:hover {
    background: #101d31;
    border-color: #ffd786;
}

.popup-option.active {
    background: rgba(156, 39, 176, 0.2);
    border-color: #9c27b0;
    color: #9c27b0;
    font-weight: 600;
}

.close-btn {
    margin-top: 14px;
    width: 100%;
    background: #263045;
    border-radius: 6px;
    padding: 8px;
    color: white;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: #2d3a52;
}

/* === PLAYER CARD === */
.hpl-card {
  background: linear-gradient(135deg, rgba(27,32,50,0.85), rgba(15,20,34,0.9));
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,215,134,0.2);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hpl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-color: rgba(255,215,134,0.35);
}

/* Top */
.hpl-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hpl-nickname {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hpl-strength {
  font-weight: 800;
  font-size: 15px;
  color: #ffd786;
  white-space: nowrap;
}

/* Rarity */
.hpl-rarity {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.world-class {
  background: rgba(156,39,176,0.2);
  color: #c77dff;
  border: 1px solid rgba(156,39,176,0.3);
}

/* Meta */
.hpl-meta {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.hpl-meta strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* Stars */
.hpl-stars {
  margin: 10px 0;
  color: #ffd786;
  font-size: 16px;
  letter-spacing: 2px;
}

/* Toggles */
.hpl-toggle {
  margin-top: 8px;
  cursor: pointer;
  font-weight: 700;
  color: #ffd786;
  font-size: 13px;
  user-select: none;
  padding: 6px 0;
  transition: opacity 0.2s;
}

.hpl-toggle:hover {
  opacity: 0.8;
}

.hpl-hidden {
  display: none;
  margin: 6px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted2);
  padding: 8px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.hpl-hidden.open {
  display: block;
}

.hpl-hidden strong {
  color: rgba(255,255,255,0.75);
}

/* Footer */
.hpl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hpl-bid {
  font-weight: 800;
  font-size: 16px;
  color: #ffd786;
}

.hpl-active-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Empty state */
.hpl-empty {
  margin-top: 32px;
  padding: 32px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  text-align: center;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 980px){
  .controls{grid-template-columns: 1fr 1fr}
  .staff-card{grid-column: span 6}
  .staff-card.featured{grid-column: span 12}
}

@media (max-width: 768px) {
  .section-head h2{
    font-size:clamp(24px, 5vw, 32px);
  }
  
  .section{
    padding:48px 0;
  }
  
  .container{
    padding:0 20px;
  }
  .hpl-squad-head {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hpl-squad-controls {
    width: 100%;
    flex-direction: column;
  }
  
  .hpl-squad-controls input,
  .hpl-squad-controls select {
    width: 100%;
  }
  
  .hpl-squad-grid {
    grid-template-columns: 1fr;
  }
  
  .top-controls {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .search-box {
    flex: 1;
    min-width: 0;
  }
  
  .filter-btn {
    margin-left: 10px;
    flex-shrink: 0;
  }
  
  .auction-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px){
  .team-hero{
    min-height:calc(70vh - 72px);
    padding:32px 0;
  }
  .team-hero-inner{
    padding:32px 20px;
    gap:20px;
  }
  .team-identity{
    flex-direction:row;
    align-items:flex-start;
    gap:16px;
  }
  .team-logo-wrap{
    width:120px;
    height:120px;
    min-width:120px;
  }
  .team-logo{
    width:100px;
    height:100px;
  }
  .team-name{
    font-size:clamp(28px, 6vw, 48px);
    margin-bottom:10px;
    text-align:left;
  }
  .team-tagline{
    font-size:clamp(16px, 2.2vw, 18px);
    margin-bottom:14px;
    text-align:left;
  }
  .team-badges{
    gap:8px;
    margin-top:12px;
  }
  .badge{
    padding:8px 12px;
    font-size:12px;
    gap:6px;
  }
  .badge-support{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .support-btn{
    width:100%;
    padding:14px 20px;
    font-size:14px;
    justify-content:center;
  }
  .team-hero-cta{
    flex-direction:column;
    width:100%;
  }
  .btn{
    width:100%;
    padding:14px 20px;
    text-align:center;
    font-size:15px;
  }
  .controls{grid-template-columns: 1fr}
  .staff-card{grid-column: span 12}
  .staff-card.featured{grid-column: span 12}
  .staff-photo {
    width: 70px;
    height: 70px;
  }
  .staff-card.featured .staff-photo {
    width: 80px;
    height: 80px;
  }
  .staff-name {
    font-size: 18px;
  }
  .staff-card.featured .staff-name {
    font-size: 20px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
  }
  .stat-icon i {
    font-size: 14px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value {
    font-size: 13px;
  }
}

@media (max-width: 480px){
  .team-hero{
    min-height:calc(65vh - 72px);
    padding:24px 0;
  }
  .team-hero-inner{
    padding:24px 16px;
    gap:18px;
  }
  .staff-card{grid-column: span 12}
  .staff-card.featured{grid-column: span 12}
  .team-identity{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }
  .team-logo-wrap{
    width:110px;
    height:110px;
    min-width:110px;
  }
  .team-logo{
    width:90px;
    height:90px;
  }
  .team-meta{
    width:100%;
    align-items:flex-start;
  }
  .team-name{
    font-size:clamp(26px, 7vw, 36px);
    text-align:left;
  }
  .team-tagline{
    text-align:left;
    font-size:clamp(15px, 2.5vw, 17px);
  }
  .team-badges{
    justify-content:flex-start;
    gap:8px;
  }
  .badge{
    font-size:11px;
    padding:8px 12px;
  }
  .badge-support{
    width:100%;
  }
  .support-btn{
    font-size:13px;
  }
}

/* FIXTURES */
.hpl-fixtures {
  padding: 80px 0;
}

.hpl-fixtures-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.hpl-fixtures-head h2 {
  font-size: 34px;
  font-weight: 900;
}

.hpl-fixtures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.fixture-card {
  background: linear-gradient(180deg, #15172c, #101224);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 215, 134, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fixture-date {
  font-size: 13px;
  opacity: 0.75;
}

.fixture-time {
  font-weight: 700;
  color: #ffd786;
}

.fixture-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.fixture-vs {
  font-size: 12px;
  opacity: 0.6;
}

.badge-support {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-btn {
  background:var(--brand);
  color: #111;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
   box-shadow: var(--shadow-md);
  cursor: pointer;
    border-color:rgba(245,196,0,.6);
}

.support-btn.supported {
  opacity: 0.6;
  cursor: not-allowed;
}

.support-btn:hover{filter:brightness(1.03)}
.support-count {
  font-weight: 700;
  color: #ffd166;
}

/* === AUCTION CARD STYLES (from player-auction-pool.html) === */
.auction-card {
    background: linear-gradient(135deg, rgba(30, 37, 56, 0.95), rgba(21, 27, 42, 0.95));
    border: 2px solid rgba(255, 215, 134, 0.2);
    border-radius: 14px;
    padding: 14px;
    box-sizing: border-box;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.auction-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 134, 0.35);
}

.power-block {
    font-weight: 700;
    color: #ffd786;
    display: inline-block;
    font-size: 16px;
}

.nickname {
    font-size: 19px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}

.auction-info div {
    font-size: 14px;
    margin-top: 4px;
}

.role-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.role-icon {
    font-size: 16px;
    display: inline-block;
}

/* Override style.css section-header for player cards */
.auction-card .section-header {
    margin-top: 12px;
    cursor: pointer;
    color: #ffd786;
    font-weight: 600;
    font-size: 14px;
    text-align: left !important;
    margin-bottom: 0px !important;
}

/* Also target section-header within auction cards for mobile */
@media (max-width: 768px) {
    .auction-card .section-header {
        margin-bottom: 0px !important;
        text-align: left !important;
    }
}

.hidden-section {
    display: none;
    font-size: 13px;
    margin-top: 6px;
}

.hidden-section.open {
    display: block;
}

.item-line {
    margin-bottom: 4px;
}

.star-block {
    margin-top: 12px;
    font-size: 18px;
    color: #ffd786;
}

.base-bid-block {
    margin-top: 8px;
    font-size: 14px;
    color: #ffd786;
    font-weight: 600;
}

.base-bid-label {
    font-size: 12px;
    color: rgba(255, 215, 134, 0.7);
    font-weight: 500;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rarity-tag {
    display: inline-block;
    padding: 3px 10px;
    margin-top: 4px;
    font-size: 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.rarity-common {
    background: linear-gradient(135deg, rgba(160, 160, 160, 0.2), rgba(120, 120, 120, 0.2));
    border: 1px solid rgba(160, 160, 160, 0.4);
    color: #a0a0a0;
}

.rarity-reliable {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4caf50;
}

.rarity-brilliant {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(25, 118, 210, 0.2));
    border: 1px solid rgba(33, 150, 243, 0.4);
    color: #2196f3;
}

.rarity-worldclass {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(123, 31, 162, 0.2));
    border: 1px solid rgba(156, 39, 176, 0.4);
    color: #9c27b0;
    box-shadow: 0 0 12px rgba(156, 39, 176, 0.3);
}

.equipment-rarity-basic {
    color: #4fc3f7;
    font-weight: 600;
}

.equipment-rarity-pro {
    color: #9c27b0;
    font-weight: 600;
}

.trait-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.sa-icons {
    display: flex;
    gap: 6px;
}

.sa-icon {
    width: 60px;
    height: auto;
}
