/* ==========================================================================
   ULTIMATE STRONGMAN PRODUCTIONS - OFFICIAL THEME
   Styled in accordance with https://ultimatestrongman.tv/
   ========================================================================== */

/* Base Reset & Variables */
:root {
  --bg-body: #121212;
  --bg-topbar: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-card-hover: #252525;
  --bg-surface: #151515;
  --bg-box: #0b0b0b;

  --border-color: #2d2d2d;
  --border-subtle: #242424;
  --border-focus: #e63946;

  --brand-red: #e63946;
  --brand-red-hover: #ff4d5a;
  --brand-gold: #f59e0b;
  --brand-gold-light: #fbbf24;

  --text-white: #ffffff;
  --text-main: #eeeeee;
  --text-body: #d0d0d0;
  --text-muted: #a0a0a0;
  --text-dim: #707070;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout Containers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TOP SOCIAL & ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.88rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.top-bar-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.text-red-500 {
  color: var(--brand-red);
  font-weight: 700;
}

.top-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.top-social-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: var(--transition);
}

.top-social-link:hover {
  color: var(--brand-red-hover);
}

.top-social-sep {
  color: var(--text-muted);
  margin: 0 3px;
  user-select: none;
}

.footer-social-bar {
  margin-top: 18px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #ffffff;
}

.social-btn.facebook:hover {
  background-color: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.social-btn.twitter:hover {
  background-color: #000000;
  border-color: #333333;
  color: #ffffff;
}

.social-btn.youtube:hover {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.mobile-social-bar {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
}

.mobile-social-bar a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: var(--transition);
}

.mobile-social-bar a:hover {
  color: var(--brand-red);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-bar-links a {
  color: var(--text-body);
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin-left: 0;
}

.top-bar-links a:hover {
  color: var(--brand-red-hover);
}

.top-bar-badge-2027 {
  background: rgba(230, 57, 70, 0.22);
  border: 1px solid rgba(230, 57, 70, 0.7);
  color: #fecaca !important;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: var(--transition);
}

.top-bar-badge-2027:hover {
  background: rgba(230, 57, 70, 0.4);
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
  padding: 18px 0 14px 0;
  text-align: center;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

header.site-header.scrolled {
  padding: 10px 0 8px 0;
  background-color: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-brand {
  display: inline-block;
  margin-bottom: 12px;
  transition: margin 0.25s ease;
}

header.site-header.scrolled .header-brand {
  margin-bottom: 6px;
}

.logo-img {
  max-height: 80px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: max-height 0.25s ease, transform 0.2s ease;
}

header.site-header.scrolled .logo-img {
  max-height: 52px;
}

.logo-img:hover {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 8px 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-body);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-red);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: rgba(230, 57, 70, 0.2);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  background-color: #141416;
  border-bottom: 2px solid var(--brand-red);
  padding: 14px 20px 16px 20px;
  gap: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  z-index: 1001;
  text-align: left;
}

.mobile-drawer.open {
  display: flex;
  animation: slideDownMenu 0.22s ease-out;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-drawer .nav-link {
  font-size: 0.92rem;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #eeeeee;
  letter-spacing: 0.5px;
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link:active {
  color: var(--brand-red);
  padding-left: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 55px 0 45px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: #0b0d12;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 17, 23, 0.22) 0%, rgba(14, 17, 23, 0.76) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-tag {
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--text-white);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
}

.hero-lead {
  font-size: 1.15rem;
  color: #f1f5f9;
  max-width: 820px;
  margin: 0 auto 25px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   HERO TEASER PILL
   ========================================================================== */
.hero-teaser-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(14, 18, 25, 0.94);
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.65);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(245, 158, 11, 0.2);
  cursor: default;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hero-teaser-pill:hover {
  transform: translateY(-2px);
  border-color: #fbbf24;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
}

.hero-teaser-pill i {
  color: #fbbf24;
}

/* ==========================================================================
   2027 SEASON SPOTLIGHT BOX
   ========================================================================== */
.season-2027-spotlight {
  max-width: 880px;
  margin: 24px auto 28px;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12) 0%, transparent 60%), rgba(16, 20, 28, 0.96);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  text-align: left;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 158, 11, 0.1);
  position: relative;
  z-index: 2;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

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

.spotlight-tag {
  color: var(--brand-red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fde047;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #eab308;
  box-shadow: 0 0 8px #eab308;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}

.spotlight-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spotlight-desc {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.spotlight-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

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

.perk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-icon {
  font-size: 1.25rem;
  color: #f59e0b;
  margin-top: 2px;
  flex-shrink: 0;
}

.perk-info strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.perk-info span {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  display: block;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.spotlight-guarantee {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000 !important;
  font-weight: 900;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: var(--transition);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
  color: #000000 !important;
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  outline: none;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #262626;
  border-color: #383838;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #333333;
  border-color: #555555;
  transform: translateY(-2px);
}

.btn-c5 {
  background-color: #b91c1c;
  color: #ffffff;
}

.btn-c5:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  padding: 45px 0 25px 0;
}

.section-title {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   2026 CHAMPIONS SECTION
   ========================================================================== */
.champions-section {
  padding: 20px 0 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

/* 2026 Tour Champions Layout: 3 cards on Row 1, 2 centered on Row 2 */
#championsGrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

#championsGrid > .champion-card:nth-child(1),
#championsGrid > .champion-card:nth-child(2),
#championsGrid > .champion-card:nth-child(3) {
  grid-column: span 2;
}

#championsGrid > .champion-card:nth-child(4) {
  grid-column: 2 / span 2;
}

#championsGrid > .champion-card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 960px) {
  #championsGrid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  #championsGrid > .champion-card:nth-child(1),
  #championsGrid > .champion-card:nth-child(2),
  #championsGrid > .champion-card:nth-child(3),
  #championsGrid > .champion-card:nth-child(4),
  #championsGrid > .champion-card:nth-child(5) {
    grid-column: auto;
  }
}

.champion-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.champion-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
}

.champion-card.featured {
  border-color: var(--brand-red);
  background-color: #221c1d;
}

.champion-banner-wrapper {
  width: 100%;
  padding-top: 60%; /* Aspect Ratio */
  position: relative;
  background-color: var(--bg-box);
  border-bottom: 1px solid var(--border-color);
}

.champion-banner-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champion-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(18, 18, 18, 0.88);
  border: 1px solid var(--brand-red);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.champion-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.champion-comp-title {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.champion-name {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 8px;
  font-weight: 800;
}

.champion-stats {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.champion-points {
  color: var(--brand-gold-light);
  font-weight: 700;
}

.champion-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* ==========================================================================
   RESULTS CENTER
   ========================================================================== */
.results-section {
  padding: 20px 0 60px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Results Center Competition Switcher */
.comp-tabs-container {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-group-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.comp-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  padding-bottom: 0;
}

.comp-tab-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comp-tab-btn:hover {
  color: var(--text-white);
  border-color: #666;
  background-color: #262626;
  transform: translateY(-1px);
}

.comp-tab-btn.active {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.comp-tab-btn.featured-btn {
  border-color: #554020;
}

.comp-tab-btn.featured-btn.active {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
}

/* Active Comp Summary Box */
.comp-summary-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 25px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.comp-summary-info h3 {
  font-size: 1.45rem;
  color: var(--text-white);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.comp-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comp-summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* View Sub-tabs & Search */
.results-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 15px;
}

.results-view-tabs {
  display: flex;
  gap: 6px;
}

.view-btn {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.view-btn:hover {
  color: #fff;
  border-color: #555;
}

.view-btn.active {
  background-color: #2c2c2c;
  color: #ffffff;
  border-color: var(--brand-red);
}

.search-input-wrap {
  position: relative;
  width: 250px;
}

.search-input-wrap input {
  width: 100%;
  background-color: var(--bg-box);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.search-input-wrap input:focus {
  border-color: var(--brand-red);
}

/* Standings Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.results-table th {
  background-color: #161616;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
}

.results-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

.results-table tr:hover td {
  background-color: #242424;
}

.results-table tr.podium-gold td {
  background-color: rgba(245, 158, 11, 0.05);
}

.rank-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  background-color: #2a2a2a;
  color: #ddd;
}

.rank-badge.rank-1 {
  background-color: var(--brand-gold);
  color: #000000;
}

.rank-badge.rank-2 {
  background-color: #cbd5e1;
  color: #000000;
}

.rank-badge.rank-3 {
  background-color: #d97706;
  color: #ffffff;
}

.athlete-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.98rem;
}

.athlete-details {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pts-highlight {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-gold-light);
}

/* Event Breakdown Matrix & Disciplines */
.events-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}

.event-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.event-box-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.event-box-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-box-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
}

.event-box-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
}

.event-box-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background-color: var(--bg-box);
  border-radius: 4px;
  font-size: 0.85rem;
  border-left: 3px solid #333;
}

.event-box-row.winner-row {
  border-left-color: var(--brand-red);
  background-color: #171415;
}

.event-athlete-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-metric-badge {
  display: inline-block;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 2px;
}

.event-pts-badge {
  font-weight: 800;
  color: var(--brand-gold-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   BROADCASTS & VIDEO HUB
   ========================================================================== */
.media-section {
  padding: 20px 0 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

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

.media-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
}

.video-thumb-wrapper {
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  position: relative;
  background-color: #000;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumb-wrapper:hover .video-thumb-img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(230, 57, 70, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transition: var(--transition);
}

.video-thumb-wrapper:hover .video-play-btn {
  background-color: #ff4d5a;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-live-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--brand-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-live-pill.pill-welsh {
  background-color: #16a34a;
}

.video-live-pill.pill-dual {
  background: linear-gradient(90deg, #dc2626 0%, #16a34a 100%);
}

.video-badge-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #fde047;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.c5-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #1f2937 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.c5-big-logo {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 5px;
}

.media-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.media-tag {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.media-card-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.media-card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-section {
  padding: 20px 0 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.gallery-filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover {
  color: #fff;
  border-color: #555;
}

.gallery-filter-btn.active {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

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

.gallery-card {
  height: 220px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background-color: var(--bg-box);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0.9;
}

.gallery-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   2027 PRIORITY DISCOUNT CTA & TOUR RECAP
   ========================================================================== */
.tour-section {
  padding: 20px 0 70px 0;
}

/* Priority Discount Subscription Card */
.subscribe-cta-card {
  background: linear-gradient(135deg, #1e1b1c 0%, #171415 100%);
  border: 2px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 860px;
  margin: 0 auto 35px;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.12);
}

.subscribe-cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.subscribe-icon-badge {
  width: 60px;
  height: 60px;
  background-color: var(--bg-box);
  border: 1px solid var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.subscribe-text h3 {
  font-size: 1.35rem;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.subscribe-text p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.subscribe-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 15px;
}

.subscribe-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.subscribe-input {
  width: 100%;
  padding: 10px 12px;
  background-color: var(--bg-box);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-main);
  transition: var(--transition);
}

.subscribe-input:focus {
  border-color: var(--brand-red);
}

.subscribe-success-box {
  background-color: var(--bg-box);
  border: 1px solid #10b981;
  border-radius: var(--radius-sm);
  padding: 25px;
  text-align: center;
  margin-top: 15px;
}

/* Tour List */
.tour-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.tour-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  transition: var(--transition);
}

.tour-item:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.tour-date {
  background-color: var(--bg-box);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 90px;
}

.tour-date-month {
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.tour-date-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.tour-info {
  flex-grow: 1;
}

.tour-info h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.tour-venue {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS (SCORECARD, LIGHTBOX, PRIORITY SUBSCRIBE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 620px;
  padding: 25px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-topbar);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 25px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

.footer-brand h2 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-brand p {
  color: var(--text-body);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* ==========================================================================
   COOKIE & PRIVACY BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(22, 22, 22, 0.96);
  border-top: 1px solid var(--border-color);
  padding: 12px 0;
  z-index: 1900;
  backdrop-filter: blur(8px);
  display: block;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   FAQ SECTION (Rich Snippets & Fan Guide)
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-list {
  max-width: 880px;
  margin: 35px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(220, 38, 38, 0.45);
}

.faq-item.active {
  border-color: var(--brand-red);
  box-shadow: 0 4px 24px rgba(220, 38, 38, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 15px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #fca5a5;
}

.faq-chevron {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

.faq-answer strong {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 860px) {
  /* Top Announcement Bar */
  .top-bar {
    padding: 6px 0;
  }

  .top-bar-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .top-bar-announcement {
    justify-content: center;
    width: 100%;
    font-size: 0.8rem;
    gap: 6px;
  }

  .top-social-link {
    font-size: 0.8rem;
    gap: 4px;
  }

  .top-bar-links {
    justify-content: center;
    width: 100%;
    gap: 10px;
    font-size: 0.78rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 4px;
  }

  .top-bar-links::-webkit-scrollbar {
    display: none;
  }

  .top-bar-links a {
    font-size: 0.78rem;
  }

  .top-bar-badge-2027 {
    padding: 2px 8px;
    font-size: 0.74rem;
  }

  /* Compact Sleek Sticky Header on Mobile */
  header.site-header {
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  header.site-header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
  }

  header.site-header .container,
  header.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  header.site-header .header-brand,
  header.site-header.scrolled .header-brand {
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .logo-img,
  header.site-header.scrolled .logo-img {
    max-height: 40px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .subscribe-inputs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .hide-mobile-xs {
    display: none !important;
  }

  .top-bar {
    padding: 5px 0;
  }

  .top-bar .container {
    padding: 0 8px;
  }

  .top-bar-inner {
    gap: 4px;
  }

  .top-bar-announcement {
    font-size: 0.76rem;
    gap: 5px;
  }

  .top-bar-label {
    font-size: 0.76rem;
  }

  .top-social-link {
    font-size: 0.76rem;
    gap: 3px;
  }

  .top-social-sep {
    margin: 0 1px;
  }

  .top-bar-links {
    gap: 8px;
  }

  .top-bar-links a {
    font-size: 0.74rem;
    gap: 3px;
  }

  .top-bar-badge-2027 {
    padding: 2px 7px;
    font-size: 0.72rem;
    letter-spacing: 0.2px;
  }

  .logo-img,
  header.site-header.scrolled .logo-img {
    max-height: 36px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .season-2027-spotlight {
    margin: 18px auto 22px;
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .comp-summary-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .tour-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .subscribe-cta-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ATHLETE HEADSHOTS & AVATAR SYSTEM
   ========================================================================== */

/* Standings Table Athlete Avatars */
.athlete-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.athlete-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(230, 57, 70, 0.35) 0%, #171717 80%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.athlete-avatar.podium-avatar.rank-1 {
  border-color: var(--brand-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.35) 0%, #1a1712 80%);
}

.athlete-avatar.podium-avatar.rank-2 {
  border-color: #cbd5e1;
  box-shadow: 0 0 10px rgba(203, 213, 225, 0.35);
  background: radial-gradient(circle at 50% 40%, rgba(203, 213, 225, 0.25) 0%, #18191a 80%);
}

.athlete-avatar.podium-avatar.rank-3 {
  border-color: #d97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.35);
  background: radial-gradient(circle at 50% 40%, rgba(217, 119, 6, 0.25) 0%, #1a1612 80%);
}

.avatar-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.results-table tr:hover .avatar-headshot {
  transform: scale(1.08);
}

.avatar-initials {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Event Disciplines Matrix Mini Avatars */
.event-athlete-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-avatar {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(230, 57, 70, 0.3) 0%, #1c1c1c 85%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mini-avatar span {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-muted);
}

/* 2026 Athlete Roster Grid & Cards */
.roster-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.roster-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roster-filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.roster-filter-btn:hover {
  color: #ffffff;
  border-color: #555555;
  background-color: #262626;
}

.roster-filter-btn.active {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.athlete-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.athlete-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.athlete-card.has-headshot {
  border-color: rgba(230, 57, 70, 0.3);
}

.athlete-card.has-headshot:hover {
  border-color: var(--brand-red);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.2);
}

.athlete-card-banner {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(230, 57, 70, 0.3) 0%, rgba(24, 24, 27, 0.95) 75%), #0c0c0e;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.athlete-cutout-img {
  height: 100%;
  max-height: 195px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.athlete-card:hover .athlete-cutout-img {
  transform: scale(1.06) translateY(-2px);
}

.athlete-placeholder-banner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at 50% 50%, rgba(40, 40, 50, 0.45) 0%, #121214 100%);
}

.athlete-monogram-shield {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(230, 57, 70, 0.5);
  background: rgba(18, 18, 18, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.athlete-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 15, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.athlete-headshot-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(230, 57, 70, 0.9);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Scorecard Modal Athlete Hero Banner */
.scorecard-athlete-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 16px;
  background: radial-gradient(ellipse at left, rgba(230, 57, 70, 0.18) 0%, rgba(20, 20, 20, 0) 75%), #141416;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-red);
}

.scorecard-headshot-box {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(230, 57, 70, 0.4) 0%, #18181a 80%);
  border: 2px solid var(--brand-red);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.25);
  flex-shrink: 0;
}

.scorecard-headshot-img {
  height: 100%;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}

.scorecard-headshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  background: #1f1f23;
}

.scorecard-hero-details {
  flex-grow: 1;
}

.scorecard-comp-badge {
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.scorecard-athlete-name {
  font-size: 1.55rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.scorecard-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.scorecard-meta-chips span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Champions Grid Cutout Overlay */
.champion-headshot-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(230, 57, 70, 0.4) 0%, #151515 85%);
  border: 2px solid var(--brand-gold);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}

.champion-headshot-badge img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* Active Comp Summary Box Winner Chip */
.comp-winner-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 8px;
  border-radius: 20px;
}

.comp-winner-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-winner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
