/* ==========================================================================
   DP World ILT20 Season 5 - Auction Match Center Stylesheet
   Figma Reference: Desktop - 5 (Live Updates & Teams)
   Brand Guidelines: Season 5 Typography (Cutmark & Cutmark Narrow)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cutmark Official Brand Typography
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cutmark Narrow';
  src: url('../fonts/CutmarkNarrow-Bold.woff2?v=3.7') format('woff2'),
       url('../fonts/CutmarkNarrow-Bold.woff?v=3.7') format('woff'),
       url('../fonts/CutmarkNarrow-Bold.ttf?v=3.7') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cutmark Narrow';
  src: url('../fonts/CutmarkNarrow-Demi.woff2?v=3.7') format('woff2'),
       url('../fonts/CutmarkNarrow-Demi.woff?v=3.7') format('woff'),
       url('../fonts/CutmarkNarrow-Demi.ttf?v=3.7') format('truetype');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cutmark';
  src: url('../fonts/Cutmark-Bold.woff2?v=3.7') format('woff2'),
       url('../fonts/Cutmark-Bold.woff?v=3.7') format('woff'),
       url('../fonts/Cutmark-Bold.ttf?v=3.7') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cutmark';
  src: url('../fonts/Cutmark-Regular.woff2?v=3.7') format('woff2'),
       url('../fonts/Cutmark-Regular.woff?v=3.7') format('woff'),
       url('../fonts/Cutmark-Regular.ttf?v=3.7') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cutmark';
  src: url('../fonts/Cutmark-Light.woff2?v=3.7') format('woff2'),
       url('../fonts/Cutmark-Light.woff?v=3.7') format('woff'),
       url('../fonts/Cutmark-Light.ttf?v=3.7') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cutmark Light';
  src: url('../fonts/Cutmark-Light.woff2?v=3.7') format('woff2'),
       url('../fonts/Cutmark-Light.woff?v=3.7') format('woff'),
       url('../fonts/Cutmark-Light.ttf?v=3.7') format('truetype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Brand Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Guidelines Season 5 Core Palette */
  --color-purple-page: #421066;
  --color-purple-container: #300A4B;
  --color-purple-border: #290543;
  --color-purple-secondary: #610886;
  --color-card-from: #38004F;
  --color-card-to: #7900AA;
  --color-pink-primary: #F00080;
  --color-pink-hover: #D40071;
  --color-lime-primary: #B9E249;
  --color-white: #FFFFFF;
  --color-gray-border: #9093A2;
  --color-gray-text: rgba(255, 255, 255, 0.75);

  /* Typography Families */
  --font-display: 'Cutmark Narrow', 'Cutmark', 'Barlow Condensed', sans-serif;
  --font-heading: 'Cutmark Narrow', 'Cutmark', sans-serif;
  --font-body: 'Cutmark', 'Cutmark Light', 'Inter', -apple-system, sans-serif;
  --font-numbers: 'Cutmark Narrow', 'Cutmark', sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Base Layout
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auction-body {
  background-color: var(--color-purple-page);
  color: var(--color-white);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Header Section (DP World ILT20 Logo & Live Auction Match Center)
   -------------------------------------------------------------------------- */
.auction-header-section {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #180026 0%, #200033 100%);
  border-bottom: 1px solid rgba(240, 0, 128, 0.3);
  padding: 22px 20px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.auction-header-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.auction-header-logo-wrap {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.auction-header-badge-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.auction-header-badge-logo:hover {
  transform: scale(1.05);
}

.auction-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auction-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 0, 128, 0.12);
  border: 1.5px solid #F00080;
  padding: 5px 16px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: 0 0 16px rgba(240, 0, 128, 0.35);
}

.header-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #F00080;
  border-radius: 50%;
  box-shadow: 0 0 8px #F00080;
  animation: headerPulse 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes headerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.auction-header-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin: 0;
}

@media (max-width: 900px) {
  .auction-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .auction-header-logo-wrap {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
  }
  .auction-header-badge-logo {
    height: 52px;
  }
  .auction-header-title {
    font-size: 20px;
  }
  .auction-live-badge {
    font-size: 11px;
    padding: 4px 12px;
  }
}

/* --------------------------------------------------------------------------
   Top Switcher Tabs Section (Figma Desktop - 5)
   -------------------------------------------------------------------------- */
.auction-tabs-section {
  max-width: 1250px;
  width: 100%;
  margin: 24px auto 0;
  padding: 0 16px;
}

.auction-tabs-nav {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.auction-tab-btn {
  flex: 1;
  max-width: 620px;
  height: 59px;
  border-radius: 10px;
  background: #FDF9FF;
  border: 1.5px solid var(--color-purple-secondary);
  color: var(--color-purple-page);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.auction-tab-btn.active {
  background: var(--color-pink-primary);
  border-color: var(--color-pink-primary);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(240, 0, 128, 0.4);
}

.auction-tab-btn:hover:not(.active) {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.live-pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--color-lime-primary);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(206, 255, 0, 0.7);
  animation: livePulseDot 2s infinite ease-out;
  flex-shrink: 0;
}

.auction-tab-btn:not(.active) .live-pulse-dot {
  background-color: #10B981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes livePulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(206, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(206, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(206, 255, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   Main Content Layout & Outer Box (Figma Desktop - 5)
   -------------------------------------------------------------------------- */
.auction-main-content {
  position: relative;
  max-width: 1250px;
  width: calc(100% - 32px);
  margin: 24px auto 60px;
  background: var(--color-purple-container);
  border: 1px solid var(--color-purple-border);
  border-radius: 10px;
  padding: 32px 18px 48px;
  min-height: 700px;
}

/* Big Outlined Header Watermark */
.auction-section-watermark {
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 2px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(185, 226, 73, 0.55);
  margin: 0 0 20px 14px;
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Player Card (Figma Desktop - 5)
   128px height, 1.64px solid #F2D586 border, Arabic calligraphy texture,
   199px full-height solid rectangular team block, Cutmark typography
   -------------------------------------------------------------------------- */
.auction-players-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.auction-player-card {
  max-width: 1214px;
  width: 100%;
  height: 128px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--color-card-from) 0%, var(--color-card-to) 100%);
  border: 1.64px solid #F2D586;
  border-radius: 9.8px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Arabic calligraphy background texture overlay matching Figma Desktop - 5 */
.auction-player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/card-texture.png') no-repeat right 190px center;
  background-size: 520px auto;
  mix-blend-mode: soft-light;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.auction-player-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 0, 128, 0.3);
}

/* Left Section: Avatar & Details */
.auction-player-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  padding-left: 20px;
  position: relative;
  z-index: 2;
}

.auction-player-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-white);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.auction-player-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auction-player-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.auction-player-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auction-player-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-role {
  background: var(--color-purple-secondary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3.6px;
  line-height: 1.2;
}

.badge-category {
  background: var(--color-pink-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3.6px;
  line-height: 1.2;
}

/* Middle Divider: Concentric Target Ring Icon from Figma Desktop - 5 */
.auction-player-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.auction-ring-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #F00080;
  background: transparent;
  display: inline-block;
  box-shadow: 0 0 8px rgba(240, 0, 128, 0.6);
}

/* Right Section: Locked Group for Team Block & Price Block */
.auction-card-right {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Center-Right: Team Block (199px width x full card height solid rectangle box matching Figma Desktop - 5) */
.auction-team-block {
  width: 199px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  z-index: 2;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
}

.auction-team-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/team-watermark-1.png') no-repeat center center;
  background-size: cover;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.auction-team-logo-img {
  max-width: 140px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

/* Authentic ILT20 Franchise Team Backgrounds & Gradients from Figma Desktop - 5 */
.team-bg-117, .team-bg-362 { /* Abu Dhabi Knight Riders */
  background-color: #421066;
  background-image: linear-gradient(201deg, rgb(66, 16, 102) 3%, rgba(66, 16, 102, 0.32) 48%, rgba(66, 16, 102, 0.76) 76%, rgb(66, 16, 102) 100%);
}

.team-bg-118, .team-bg-364 { /* Dubai Capitals */
  background-color: #CC1A27;
  background-image: linear-gradient(201deg, rgb(204, 26, 39) 3%, rgba(204, 26, 39, 0.32) 48%, rgba(204, 26, 39, 0.76) 76%, rgb(204, 26, 39) 100%);
}

.team-bg-119, .team-bg-363 { /* Desert Vipers */
  background-color: #063624;
  background-image: linear-gradient(201deg, rgb(6, 53, 35) 3%, rgba(6, 53, 35, 0.32) 48%, rgba(6, 53, 35, 0.76) 76%, rgb(6, 53, 35) 100%);
}

.team-bg-120, .team-bg-365 { /* Gulf Giants */
  background-color: #F57F1B;
  background-image: linear-gradient(201deg, rgb(245, 127, 27) 3%, rgba(245, 127, 27) 0.32) 48%, rgba(245, 127, 27) 0.76) 76%, rgb(245, 127, 27) 100%);
}

.team-bg-121, .team-bg-366 { /* MI Emirates */
  background-color: #023E7D;
  background-image: linear-gradient(201deg, rgb(2, 62, 125) 3%, rgba(2, 62, 125) 0.32) 48%, rgba(2, 62, 125) 0.76) 76%, rgb(2, 62, 125) 100%);
}

.team-bg-122, .team-bg-367 { /* Sharjah Warriorz */
  background-color: #F9A72A;
  background-image: linear-gradient(201deg, rgb(249, 167, 42) 3%, rgba(249, 167, 42) 0.32) 48%, rgba(249, 167, 42) 0.76) 76%, rgb(249, 167, 42) 100%);
}

/* Far Right: Price Block (215px width with centered vertical alignment matching Figma Desktop - 5) */
.auction-price-block {
  width: 215px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(56, 0, 79, 0.5) 0%, rgba(121, 0, 170, 0.5) 100%);
}

.auction-price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auction-price-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  text-transform: none;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.2;
}

.auction-price-val {
  font-family: var(--font-numbers);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-lime-primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-presigned {
  display: inline-block;
  background: #FFB800;
  color: #120120;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   TAB 2: TEAMS VIEW COMPONENTS
   -------------------------------------------------------------------------- */
.team-selector-card {
  position: relative;
  z-index: 2;
  background: #25043B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.team-selector-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: stretch;
}

.team-selector-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  background: #350953;
  text-align: center;
}

.team-selector-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
}

.team-selector-item.active {
  border-color: var(--color-pink-primary);
  box-shadow: 0 0 16px rgba(240, 0, 128, 0.55);
}

.team-all-btn {
  background: var(--color-pink-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px;
}

.team-all-btn:not(.active) {
  background: #380D57;
  color: rgba(255, 255, 255, 0.8);
}

.team-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats Bar */
.auction-stats-bar {
  position: relative;
  z-index: 2;
  background: #27063F;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-bottom: 24px;
}

.auction-stat-box {
  background: #27063F;
  padding: 14px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.auction-stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-text);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.auction-stat-value {
  font-family: var(--font-numbers);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-lime-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filters Header & Toggle Controls */
.auction-filter-control-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.auction-filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 4, 59, 0.9);
  border: 1.5px solid rgba(240, 0, 128, 0.5);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.auction-filter-toggle-btn:hover {
  background: var(--color-pink-primary);
  border-color: var(--color-pink-primary);
  box-shadow: 0 0 12px rgba(240, 0, 128, 0.4);
}

.auction-filter-toggle-btn i {
  font-size: 12px;
}

.auction-active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(206, 255, 0, 0.15);
  border: 1px solid var(--color-lime-primary);
  color: var(--color-lime-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Filters Bar */
.auction-filters-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.auction-filters-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.auction-filter-dropdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auction-filter-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auction-filter-select {
  background: #25043B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 8px 34px 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: 170px;
}

.auction-filter-select:focus {
  outline: none;
  border-color: var(--color-pink-primary);
}

.auction-filter-select option {
  background: #200435;
  color: var(--color-white);
}

.auction-reset-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-pink-primary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.auction-reset-filter:hover {
  background: rgba(240, 0, 128, 0.12);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Sponsors Section (Figma Desktop - 5)
   -------------------------------------------------------------------------- */
.auction-sponsors-section {
  background: var(--color-white);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 16px 40px;
  text-align: center;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.auction-sponsors-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.auction-sponsors-banner-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Footer Section (Figma Desktop - 5)
   -------------------------------------------------------------------------- */
.auction-footer-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #38004F;
  overflow: hidden;
}

.auction-footer-inner {
  width: 100%;
}

.auction-footer-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .team-selector-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .auction-stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
  .auction-tab-btn {
    font-size: 20px;
    height: 52px;
  }
  .auction-section-watermark {
    font-size: 76px;
  }
  .auction-team-block {
    width: 160px;
  }
  .auction-price-block {
    width: 180px;
    padding: 0 10px;
  }
  .auction-price-label {
    font-size: 13.5px;
  }
  .auction-price-val {
    font-size: 28px;
  }
  .badge-presigned {
    font-size: 14px;
    padding: 6px 14px;
  }
}

@media (max-width: 768px) {
  .auction-tabs-section {
    padding: 14px 10px 0;
    margin-top: 14px;
  }
  .auction-tabs-nav {
    gap: 8px;
  }
  .auction-tab-btn {
    font-size: 17px;
    height: 48px;
    border-radius: 8px;
  }
  .live-pulse-dot {
    width: 7px;
    height: 7px;
    margin-right: 6px;
  }
  .auction-main-content {
    padding: 14px 10px 24px;
    width: calc(100% - 16px);
    margin: 14px auto 36px;
    border-radius: 8px;
  }
  .auction-section-watermark {
    font-size: 38px;
    margin: 0 0 12px 2px;
    letter-spacing: 1px;
    -webkit-text-stroke: 1.2px rgba(185, 226, 73, 0.55);
  }

  .auction-players-list {
    gap: 12px;
  }

  /* Two-Section Mobile Card: Top = Player Profile, Bottom = Team & Price Strip */
  .auction-player-card {
    height: auto;
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
  }

  .auction-player-card::before {
    background-size: cover;
    background-position: right center;
    opacity: 0.45;
  }

  /* Top Section: Player Details */
  .auction-player-left {
    width: 100%;
    padding: 12px 14px 10px;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(242, 213, 134, 0.2);
  }

  .auction-player-avatar-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .auction-player-name {
    font-size: 17px;
    white-space: normal;
    line-height: 1.2;
  }

  .auction-player-badges {
    gap: 6px;
    margin-top: 2px;
  }

  .badge-role,
  .badge-category {
    font-size: 11px;
    padding: 2.5px 8px;
  }

  /* Hide desktop divider ring on mobile */
  .auction-player-divider {
    display: none !important;
  }

  /* Bottom Strip on Mobile: 58px height spanning 50% Team + 50% Price */
  .auction-card-right {
    display: flex;
    width: 100%;
    height: 58px;
    align-items: stretch;
  }

  .auction-team-block {
    flex: 0 0 115px;
    width: 115px;
    height: 100%;
    min-height: 58px;
    margin: 0;
    border-radius: 0;
    padding: 0 6px;
  }

  .auction-team-logo-img {
    max-width: 95px;
    max-height: 50px;
  }

  .auction-price-block {
    flex: 1;
    width: auto;
    height: 100%;
    min-height: 58px;
    padding: 0 8px;
    margin: 0;
    background: rgba(30, 4, 45, 0.9);
    border-left: 1px solid rgba(242, 213, 134, 0.2);
  }

  .auction-price-label {
    font-size: 11px;
    line-height: 1;
    margin-bottom: 2px;
    white-space: nowrap;
    opacity: 0.85;
  }

  .auction-price-val {
    font-size: 21px;
    line-height: 1;
    white-space: nowrap;
  }

  .badge-presigned {
    font-size: 12px;
    padding: 4px 10px;
    letter-spacing: 0.4px;
    white-space: nowrap;
  }

  /* Teams Tab on Mobile: Horizontal Swipeable Slider in One Single Line */
  .team-selector-card {
    padding: 10px 8px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  .team-selector-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    gap: 8px;
    padding: 2px 4px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 0, 128, 0.5) transparent;
  }
  .team-selector-grid::-webkit-scrollbar {
    height: 4px;
  }
  .team-selector-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }
  .team-selector-grid::-webkit-scrollbar-thumb {
    background: rgba(240, 0, 128, 0.5);
    border-radius: 4px;
  }
  .team-all-btn {
    scroll-snap-align: start;
    flex: 0 0 auto;
    min-width: 82px;
    height: 48px;
    min-height: 48px;
    font-size: 0.82rem;
    padding: 0 12px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .team-selector-item:not(.team-all-btn) {
    scroll-snap-align: start;
    flex: 0 0 52px;
    min-width: 52px;
    max-width: 54px;
    height: 48px;
    min-height: 48px;
    padding: 3px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .team-card-thumb {
    height: 100%;
    max-height: 42px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }

  .auction-filter-control-bar {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .auction-filter-toggle-btn {
    font-size: 11.5px;
    padding: 7px 12px;
  }
  .auction-active-filter-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  .auction-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
  }
  .auction-stat-box {
    padding: 8px 10px;
  }
  .auction-stat-label {
    font-size: 11px;
  }
  .auction-stat-value {
    font-size: 18px;
  }

  .auction-filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
  .auction-filters-group {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .auction-filter-dropdown {
    width: 100%;
  }
  .auction-filter-select {
    width: 100%;
    min-width: unset;
    height: 40px;
    font-size: 14px;
  }
  .auction-reset-filter {
    width: 100%;
    justify-content: center;
    height: 38px;
  }

  .auction-sponsors-section {
    padding: 16px 10px 20px;
  }
}

@media (max-width: 480px) {
  .auction-tab-btn {
    font-size: 15px;
    height: 44px;
  }
  .auction-section-watermark {
    font-size: 32px;
  }
  .auction-player-name {
    font-size: 16px;
  }
  .auction-price-val {
    font-size: 19px;
  }
}
