/* UNIVERSAL COMBAT CHAMPIONSHIP (UCC) — COMPLETE STYLE BUNDLE */

/* === FILE: variables.css === */
/* 
  UNIVERSAL COMBAT CHAMPIONSHIP (UCC)
  Official UFC.com Replica Stylesheet & Design System
  Rebuilt from Scratch to Match UFC.com Layout, Header, Typography & Components 100%
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700;800;900&display=swap');

:root {
  /* Exact UFC Color Palette */
  --ufc-black: #000000;
  --ufc-dark-bg: #0B0B0D;
  --ufc-card-bg: #141419;
  --ufc-card-hover: #1E1E26;
  --ufc-surface: #191921;
  --ufc-light-bg: #F4F4F6;
  
  --ufc-red: #D20A0A;
  --ufc-red-bright: #FF1E27;
  --ufc-red-dark: #900505;
  --ufc-red-glow: rgba(210, 10, 10, 0.55);
  
  --ufc-gold: #FFD700;
  --ufc-gold-dark: #C5A000;
  
  --ufc-white: #FFFFFF;
  --ufc-silver-bright: #F5F7FA;
  --ufc-silver-sub: #9EA3B4;
  --ufc-silver-dark: #404454;
  
  --ufc-border: #262633;
  --ufc-border-light: rgba(255, 255, 255, 0.12);
  
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --header-height: 85px;
  --bottombar-height: 44px;
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--ufc-light-bg);
  color: #111111;
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea, a {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

button:focus, input:focus, select:focus, textarea:focus, a:focus,
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.nav-search-btn, .mobile-menu-btn {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
  color: #000000;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}



/* === FILE: header.css === */
/* ===================================================================
   UFC STICKY HEADER — FLOATING WHITE CARD → FULL-WIDTH BLACK ON SCROLL
   =================================================================== */

#header-placeholder {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}


/* Center-Outward Reveal Animation on Page Load & Navigation */
.header-container {
  max-width: 1350px;
  height: 75px;
  margin: 0.8rem auto 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: #FFFFFF;
  color: #000000;
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: max-width 0.45s ease, margin 0.45s ease, border-radius 0.45s ease,
              background-color 0.45s ease, box-shadow 0.45s ease, height 0.45s ease,
              padding 0.45s ease;

  /* User Exact Animation Setup */
  transform-origin: center;
  transform: scaleX(0);
  animation: centerReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Content wrapper handles fade-in so text doesn't squish during scale */
.nav-left, .header-logo-wrapper, .nav-right, .mobile-logo-left, .mobile-nav-center {
  opacity: 0;
  animation: fadeIn 0.4s ease-out 0.4s forwards;
}

/* User Exact Keyframe Animations */
@keyframes centerReveal {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}




/* Red bottom accent line extending across container */
.header-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: var(--ufc-red, #D20A0A);
  transform-origin: center;
  box-shadow: 0 0 10px rgba(210, 10, 10, 0.6);
  border-radius: 0 0 6px 6px;
  transition: border-radius 0.45s ease, height 0.45s ease, box-shadow 0.45s ease;
}

/* ---- Navigation Links (Left) ---- */
.nav-left {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #000000;
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active, .nav-link.highlight {
  color: var(--ufc-red, #D20A0A);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--ufc-red, #D20A0A);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after, .nav-link.highlight::after {
  width: 100%;
}

/* ---- Center Logo ---- */
.header-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.header-logo-img {
  height: 62px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(210, 10, 10, 0.4));
  transition: transform 0.3s ease;
}

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

.header-logo-line {
  width: 40px;
  height: 3px;
  background-color: var(--ufc-red, #D20A0A);
  margin-top: 2px;
}

/* ---- Right Navigation & CTAs ---- */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.btn-primary, .btn-dark, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ufc-red, #D20A0A);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(210, 10, 10, 0.4);
  border: none;
}

.btn-primary:hover {
  background: #E80C0C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 10, 10, 0.6);
  color: #FFFFFF !important;
}

.btn-dark {
  background: #000000;
  color: #FFFFFF !important;
  border: 2px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
  background: var(--ufc-red, #D20A0A);
  border-color: var(--ufc-red, #D20A0A);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 10, 10, 0.5);
}

.btn-outline {
  background: transparent;
  color: #000000 !important;
  border: 2px solid #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}


.nav-search-btn {
  background: transparent;
  border: none;
  color: #000000;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-search-btn:hover {
  color: var(--ufc-red, #D20A0A);
  transform: scale(1.1);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}


/* ===================================================================
   SCROLLED STATE — FULL-WIDTH PITCH BLACK BAR WITH 100% RED LINE
   =================================================================== */

.site-header.scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background-color: #000000 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.95) !important;
}

.site-header.scrolled .header-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-color: #000000 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  height: 68px !important;
  padding: 0 3.5rem !important;
  clip-path: none !important;
}


.site-header.scrolled .header-container::after {
  border-radius: 0 !important;
  height: 4px !important;
  box-shadow: 0 0 14px rgba(210, 10, 10, 0.8) !important;
}

.site-header.scrolled .nav-link {
  color: #FFFFFF !important;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.scrolled .nav-link.highlight {
  color: var(--ufc-red, #D20A0A) !important;
}

.site-header.scrolled .nav-search-btn,
.site-header.scrolled .mobile-menu-btn {
  color: #FFFFFF !important;
}



/* ===================================================================
   SEARCH OVERLAY — FULLSCREEN DARK MODAL
   =================================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}

.search-overlay.active,
.search-overlay.show {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  width: 90%;
  max-width: 720px;
  background: #111116;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay.active .search-modal,
.search-overlay.show .search-modal {
  transform: translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-header .search-icon {
  color: var(--ufc-red, #D20A0A);
  font-size: 1.2rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  caret-color: var(--ufc-red, #D20A0A);
  outline: none;
}

.search-input::placeholder {
  color: #666;
}

.search-close-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.search-close-btn:hover {
  color: var(--ufc-red, #D20A0A);
}

.search-results {
  padding: 1rem 1.5rem;
  max-height: 50vh;
  overflow-y: auto;
}

.search-empty {
  color: #666;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}


/* ===================================================================
   MOBILE DRAWER OVERLAY NAVIGATION
   =================================================================== */

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  right: 0;
  top: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #0B0B0D;
  border-left: 3px solid var(--ufc-red, #D20A0A);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-logo {
  height: 40px;
  width: auto;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #FFFFFF;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  padding: 0.8rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
}

.mobile-drawer-link:hover {
  background: rgba(210, 10, 10, 0.15);
  color: var(--ufc-red, #D20A0A);
}

.mobile-drawer-link.highlight {
  color: var(--ufc-red, #D20A0A);
}

.mobile-drawer-link i {
  width: 24px;
  text-align: center;
  color: #FFFFFF;
}

.mobile-drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--ufc-red, #D20A0A);
  color: #FFFFFF;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  text-transform: uppercase;
  box-shadow: 0 5px 20px rgba(210, 10, 10, 0.4);
}

.mobile-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0 1rem 0;
}

.mobile-drawer-subheading {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 0.85rem;
  color: #888888;
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.mobile-drawer-sublink {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #CCCCCC;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.5rem 0.5rem;
  transition: color 0.2s ease;
}

.mobile-drawer-sublink i {
  color: #666666;
  font-size: 0.9rem;
  width: 20px;
}

.mobile-drawer-sublink:hover {
  color: var(--ufc-red, #D20A0A);
}

.mobile-drawer-sublink:hover i {
  color: var(--ufc-red, #D20A0A);
}


/* ===================================================================
   RESPONSIVE HEADER & MOBILE MENU
   =================================================================== */

/* Responsive Desktop Header Nav Gap adjustment */
@media (max-width: 1200px) {
  .nav-left {
    gap: 1.2rem;
  }
}



/* === FILE: hero.css === */
/* --- UFC HERO MAIN EVENT & TOP STORIES (UFC HOMEPAGE GRID) --- */
.ufc-hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

/* Main Event Left Hero Card */
.ufc-hero-main {
  background: var(--ufc-black);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 980px;
}

/* --- HERO SLIDING BACKGROUND CAROUSEL ENGINE --- */
.hero-slider-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  z-index: 1;
  transform: scale(1.12);
  transition: opacity 1.2s ease-in-out, transform 4.5s ease-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.0);
  transition: opacity 1.2s ease-in-out, transform 4.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.prev-active {
  opacity: 0;
  z-index: 1;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out;
}



.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.2) 0%, rgba(10, 10, 15, 0.55) 55%, rgba(5, 5, 8, 0.92) 100%);
}

.slide-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(210, 10, 10, 0.88);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 4px;
  z-index: 5;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-bg-graphic {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.hero-octagon-wire {
  width: 620px;
  height: 620px;
  border: 2px solid rgba(210, 10, 10, 0.35);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.hero-logo-big {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  height: 180px;
  max-height: 180px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--ufc-red-glow, rgba(210, 10, 10, 0.6)));
  z-index: 3;
}


.hero-overlay-box {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  padding: 2.2rem;
  border-top: 5px solid var(--ufc-red);
}

.hero-category-tag {
  font-family: var(--font-heading);
  color: var(--ufc-red);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.hero-main-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: #000000;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.hero-description {
  color: #444444;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  max-width: 750px;
}

.hero-btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Right Side Column: TOP STORIES */
.top-stories-col {
  background: var(--ufc-surface);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--ufc-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.top-stories-header {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--ufc-red);
}

.top-stories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ufc-border);
}

.story-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-num {
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.story-body {
  display: flex;
  flex-direction: column;
}

.story-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--ufc-silver-sub);
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.story-headline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
}

.story-headline:hover {
  color: var(--ufc-red-bright);
}

/* --- UFC MATCHUP COUNTDOWN BANNER --- */
.matchup-countdown-section {
  background: #000000;
  border-top: 1px solid var(--ufc-border);
  border-bottom: 1px solid var(--ufc-border);
  padding: 3.5rem 1.5rem;
  color: #FFFFFF;
}

.matchup-countdown-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--ufc-card-bg);
  border: 2px solid var(--ufc-red);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(210, 10, 10, 0.2);
}

.matchup-header-emblem {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ufc-red);
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.matchup-title-big {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.countdown-box-black {
  background: #000000;
  border: 1px solid var(--ufc-border);
  display: inline-flex;
  gap: 2rem;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.countdown-sub {
  font-size: 0.75rem;
  color: var(--ufc-silver-sub);
  letter-spacing: 1.5px;
  margin-top: 0.4rem;
}

/* Countdown Timer — Mobile Responsive */
@media (max-width: 600px) {
  .matchup-countdown-section {
    padding: 2rem 1rem;
  }
  .matchup-countdown-container {
    padding: 1.5rem 1rem;
  }
  .countdown-box-black {
    gap: 1rem;
    padding: 1rem 1.2rem;
    width: 100%;
    justify-content: center;
  }
  .countdown-number {
    font-size: 2rem;
  }
  .countdown-sub {
    font-size: 0.65rem;
  }
  .matchup-title-big {
    font-size: 1.8rem;
  }
}

/* --- UPCOMING EVENTS CAROUSEL / LIST --- */
.section-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid #DDDDDD;
  padding-bottom: 1rem;
}

.section-title-big {
  font-size: 2.8rem;
  color: #000000;
}

.events-carousel-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.event-row-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.event-row-card:hover {
  border-color: var(--ufc-red);
  box-shadow: 0 8px 25px rgba(210, 10, 10, 0.15);
}

.event-emblem-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ufc-red);
  letter-spacing: 1.5px;
}

.event-match-title {
  font-size: 1.8rem;
  color: #000000;
}

.event-details-text {
  color: #666666;
  font-size: 0.95rem;
}

.event-row-actions {
  display: flex;
  gap: 1rem;
}

/* Responsive Hero & Homepage Rules */
@media (max-width: 990px) {
  .ufc-hero-container {
    grid-template-columns: 1fr !important;
    padding: 1rem 1rem 2rem 1rem !important;
  }

  .ufc-hero-main {
    min-height: 720px !important;
  }

  .hero-slide {
    background-position: center 32% !important;
  }

  .hero-logo-big {
    height: 130px !important;
    max-height: 130px !important;
    top: 25px !important;
  }

  .hero-octagon-wire {
    width: 420px !important;
    height: 420px !important;
  }

  .hero-overlay-box {
    padding: 1.6rem 1.4rem !important;
  }

  .hero-main-title {
    font-size: 2.2rem !important;
  }

  .hero-description {
    font-size: 0.95rem !important;
    margin-bottom: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .ufc-hero-main {
    min-height: 680px !important;
  }

  .hero-logo-big {
    height: 110px !important;
    top: 20px !important;
  }
}





/* === FILE: components.css === */
/* --- ENROLL & ROSTER ADMIN MODAL --- */
.enroll-section {
  padding: 4rem 1.5rem;
}

.live-preview-column {
  position: sticky;
  top: 100px;
}

.preview-card-box {
  background: #000000;
  border: 2px solid var(--ufc-red);
  border-radius: 12px;
  padding: 2rem;
  color: #FFFFFF;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ufc-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.card-logo-mini {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.card-logo-mini img {
  height: 100%;
  max-height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.card-name {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.card-role-tag {
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 1rem;
}

.card-city {
  color: var(--ufc-silver-sub);
  font-size: 0.9rem;
}

.card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--ufc-border);
}

.card-stat-pill {
  background: var(--ufc-card-bg);
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--ufc-border);
}

.card-extra-info {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ufc-silver-sub);
}

.recent-feed-box {
  margin-top: 2rem;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.5rem;
}

.recent-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-enrollee-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #EEEEEE;
}

.recent-enrollee-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(210, 10, 10, 0.1);
  color: var(--ufc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feed-info {
  flex: 1;
}

.feed-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #000000;
}

.feed-badge {
  font-size: 0.7rem;
  background: #000000;
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.feed-meta {
  font-size: 0.8rem;
  color: #777777;
}

/* Modal Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--ufc-dark-bg);
  border: 1px solid var(--ufc-border);
  border-radius: 12px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
  background: #000000;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--ufc-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-toolbar {
  padding: 1.2rem 2rem;
  background: var(--ufc-card-bg);
  border-bottom: 1px solid var(--ufc-border);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

.table-responsive {
  overflow-x: auto;
  padding: 1.5rem 2rem;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.roster-table th, .roster-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--ufc-border);
  font-size: 0.95rem;
}

.roster-table th {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  color: var(--ufc-silver-sub);
  text-transform: uppercase;
}

.roster-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
}

.badge-fighter {
  background: rgba(210, 10, 10, 0.2);
  color: var(--ufc-red-bright);
}

.badge-fan {
  background: rgba(30, 144, 255, 0.2);
  color: #1E90FF;
}

.badge-sponsor {
  background: rgba(255, 215, 0, 0.2);
  color: var(--ufc-gold);
}

.submit-btn-container {
  margin-top: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.form-success-message {
  display: none;
  background: rgba(210, 10, 10, 0.1);
  border: 2px solid var(--ufc-red);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}

.form-success-message.show {
  display: block;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--ufc-red);
  margin-bottom: 1rem;
}


/* Announcement Bar & Ad Slots */
/* --- FIXED ANCHORED BOTTOM ANNOUNCEMENT BAR (UFC EXACT) --- */
.fixed-bottom-bar {
  display: none !important;
}

.bottom-bar-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bottom-bar-btn {
  background: #FFFFFF;
  color: var(--ufc-red);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}

.bottom-close-btn {
  position: absolute;
  right: 20px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
}

/* --- GOOGLE ADSENSE SPONSORED AD SLOTS --- */
.google-ad-container {
  max-width: 1350px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.ad-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ufc-silver-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.ad-slot-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ad-slot-box.rect-ad {
  min-height: 250px;
}

.ad-placeholder-text {
  color: var(--ufc-silver-dark);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

.ad-placeholder-text i {
  color: #4285F4;
  font-size: 1.2rem;
}



/* === FILE: pages.css === */
/* --- FEATURED MEDIA GRID --- */
.featured-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.media-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--ufc-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.media-thumb-placeholder {
  height: 200px;
  background: var(--ufc-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ufc-red);
  font-size: 3.5rem;
  position: relative;
}

.play-icon-overlay {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(210, 10, 10, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px var(--ufc-red-glow);
}

.media-body {
  padding: 1.8rem;
}

.media-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--ufc-red);
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
}

.media-title {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.media-desc {
  color: #666666;
  font-size: 0.95rem;
}

/* --- ATHLETES RANKINGS SHOWCASE --- */
.rankings-section-dark {
  background: var(--ufc-black);
  color: #FFFFFF;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--ufc-border);
}

.rankings-header-white {
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 3rem;
  text-align: center;
}

.champions-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.champion-card {
  background: var(--ufc-card-bg);
  border: 1px solid var(--ufc-border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.champion-crown-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--ufc-gold);
  font-size: 1.2rem;
}

.champion-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--ufc-surface);
  border: 2px solid var(--ufc-gold);
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--ufc-silver-sub);
}

.champion-name {
  font-size: 1.6rem;
  color: #FFFFFF;
}

.champion-division {
  font-family: var(--font-heading);
  color: var(--ufc-gold);
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
}

.champion-record {
  font-size: 0.9rem;
  color: var(--ufc-silver-sub);
}

/* --- DYNAMIC ENROLLMENT FORM & PREVIEW --- */
.enroll-section-dark {
  background: var(--ufc-dark-bg);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--ufc-border);
  color: #FFFFFF;
}

.enroll-wrapper-grid {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
}

.enroll-container {
  background: var(--ufc-card-bg);
  border: 1px solid var(--ufc-border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.enroll-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background: var(--ufc-black);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--ufc-border);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--ufc-silver-sub);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.tab-btn.active {
  background: var(--ufc-red) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(210, 10, 10, 0.4);
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}


.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.form-label span {
  color: var(--ufc-red);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--ufc-black);
  border: 1px solid var(--ufc-border);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--ufc-red);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.fighter-fields {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--ufc-border);
}

.fighter-fields.show {
  display: grid;
}

.preview-badge-card {
  background: linear-gradient(145deg, #181824 0%, #0B0B0E 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid var(--ufc-red);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px var(--ufc-red-glow);
}


/* --- TOP TICKER BAR --- */
.top-ticker {
  background: var(--ufc-black);
  color: #FFFFFF;
  border-bottom: 1px solid var(--ufc-border);
  padding: 0.5rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
}

.ticker-content {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-live {
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px var(--ufc-red-glow);
}

/* --- PAGE HERO BANNER SYSTEM --- */
.page-banner {
  background: linear-gradient(180deg, #09090C 0%, #121217 100%);
  color: #FFFFFF;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  border-bottom: 1px solid var(--ufc-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(210, 10, 10, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ufc-red);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  background: rgba(210, 10, 10, 0.12);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(210, 10, 10, 0.3);
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
}

.page-subtitle {
  color: var(--ufc-silver-sub);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* --- EVENTS PAGE STYLES --- */
.filter-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  color: #222222;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--ufc-red);
  color: #FFFFFF;
  border-color: var(--ufc-red);
  box-shadow: 0 4px 15px var(--ufc-red-glow);
}

.event-hero-card {
  background: linear-gradient(145deg, #16161F 0%, #0B0B0E 100%);
  border: 2px solid var(--ufc-red);
  border-radius: 12px;
  padding: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.event-hero-card .event-code {
  color: var(--ufc-red-bright);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.event-hero-card .event-meta-details {
  color: #DDDDDD;
  font-size: 0.95rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.event-hero-card .event-meta-details span i {
  color: var(--ufc-red-bright);
  margin-right: 0.4rem;
}

.event-status-badge {
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.matchup-row-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.8rem 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.matchup-row-card:hover {
  border-color: var(--ufc-red);
  box-shadow: 0 8px 25px rgba(210, 10, 10, 0.12);
}

.matchup-header-badge {
  font-family: var(--font-heading);
  color: var(--ufc-red);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #EEEEEE;
  padding-bottom: 0.6rem;
}

.matchup-row-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.fighter-col {
  display: flex;
  flex-direction: column;
}

.fighter-col-left {
  text-align: left;
}

.fighter-col-right {
  text-align: right;
}

.fighter-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: 0.5px;
}

.fighter-country {
  font-size: 0.85rem;
  color: #666666;
  font-weight: 600;
  margin-top: 0.2rem;
}

.vs-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ufc-red);
  background: rgba(210, 10, 10, 0.08);
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid rgba(210, 10, 10, 0.18);
}

.matchup-row-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.8rem;
}

.matchup-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.fighter-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  flex: 1;
  min-width: 220px;
  padding: 1.2rem;
  border-radius: 8px;
}

.event-hero-card .fighter-side.red-corner {
  background: linear-gradient(135deg, rgba(210, 10, 10, 0.4) 0%, rgba(100, 5, 5, 0.65) 100%);
  border: 1px solid rgba(255, 50, 50, 0.5);
}

.event-hero-card .fighter-side.blue-corner {
  background: linear-gradient(135deg, rgba(30, 120, 255, 0.4) 0%, rgba(10, 50, 130, 0.65) 100%);
  border: 1px solid rgba(80, 160, 255, 0.5);
}

.corner-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 3px;
  color: #FFFFFF;
}

.red-corner .corner-label {
  background: var(--ufc-red);
}

.blue-corner .corner-label {
  background: #1E78FF;
}

.fighter-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.1;
}

.event-hero-card .fighter-name {
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.fighter-record {
  font-size: 0.85rem;
  color: #666666;
  font-weight: 600;
}

.event-hero-card .fighter-record {
  color: #DDDDDD;
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 1rem;
}

.vs-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ufc-red);
  box-shadow: 0 0 15px var(--ufc-red-glow);
}

.division-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ufc-gold);
  letter-spacing: 1.5px;
  text-align: center;
  white-space: nowrap;
}

.event-hero-card .btn-outline {
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.event-hero-card .btn-outline:hover {
  background: var(--ufc-red);
  border-color: var(--ufc-red);
  color: #FFFFFF;
}

.vs-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ufc-red);
}

.weight-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ufc-red);
  letter-spacing: 1.2px;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.card-section-title {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ufc-red);
  padding-bottom: 0.5rem;
}

/* --- ATHLETES ROSTER PAGE --- */
.roster-filter-toolbar {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box-wrapper input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
}

.division-select-wrapper select, #divisionFilter {
  height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--ufc-border, #262633);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background-color: #000000 !important;
  color: #FFFFFF !important;
  cursor: pointer;
  outline: none;
}


.athletes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.athlete-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.athlete-card:hover {
  transform: translateY(-6px);
  border-color: var(--ufc-red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.athlete-card-body {
  padding: 1.5rem 1.6rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}


.athlete-avatar-placeholder {
  height: 220px;
  background: radial-gradient(circle at 50% 40%, #1A1A22 0%, #08080B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ufc-silver-dark);
  font-size: 4rem;
  position: relative;
}

.athlete-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.athlete-name {
  font-size: 1.6rem;
  color: #000000;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.athlete-nickname {
  font-style: italic;
  color: var(--ufc-red);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.athlete-division {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #666666;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.athlete-country {
  font-size: 0.85rem;
  color: #888888;
}

.athlete-record-box {
  background: var(--ufc-light-bg);
  padding: 0.8rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 1rem;
}

.stat-pill {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lbl {
  display: block;
  font-size: 0.68rem;
  color: #777777;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
}

.val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #000000;
  line-height: 1.1;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* --- RANKINGS PAGE STYLES --- */
.rankings-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.rankings-box {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rankings-box-header {
  background: #000000;
  color: #FFFFFF;
  padding: 1.1rem 1.5rem;
  border-bottom: 3px solid var(--ufc-red);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.rankings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rankings-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid #EEEEEE;
  transition: background 0.2s ease;
  background: #FFFFFF;
}

.rankings-list li:hover {
  background: #F9F9FB;
}

.rank-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ufc-red);
  width: 30px;
  text-align: center;
}

.fighter-info-cell {
  flex: 1;
}

.f-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #000000;
}

.f-sub {
  font-size: 0.85rem;
  color: #666666;
}

.belt-icon {
  color: var(--ufc-gold);
  font-size: 1.3rem;
}

.text-gold {
  color: var(--ufc-gold);
}

/* --- FIGHT PASS PRICING & FEATURES --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.plan-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.featured-plan {
  border: 2px solid var(--ufc-red);
  box-shadow: 0 10px 30px rgba(210, 10, 10, 0.18);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ufc-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 20px;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--ufc-red);
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  color: #777777;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #444444;
}

.plan-features li i {
  color: var(--ufc-red);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(210, 10, 10, 0.1);
  color: var(--ufc-red);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}

.feature-title {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 0.6rem;
}

.feature-text {
  color: #666666;
  font-size: 0.95rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.6rem;
  color: #000000;
  margin-bottom: 0.5rem;
}

.text-red {
  color: var(--ufc-red);
}

.mt-5 {
  margin-top: 3rem;
}

/* --- NEWS PAGE STYLES --- */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.news-article-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.8rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--ufc-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.article-title {
  font-size: 1.35rem;
  color: #000000;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

/* --- ADDITIONAL UTILITY & SUB-ELEMENT STYLES --- */
.ucc-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.article-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ufc-red);
  letter-spacing: 1.2px;
  margin-bottom: 0.4rem;
}

.article-meta {
  font-size: 0.85rem;
  color: #777777;
  margin-top: 0.8rem;
}

.article-snippet {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.4;
}

.division-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ufc-red);
  letter-spacing: 1.2px;
  margin-bottom: 0.3rem;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.event-code {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ufc-red);
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
}

.event-main-info {
  flex: 1;
}

.event-meta-details {
  color: #666666;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.f-left {
  text-align: left;
}

.matchup-detail {
  text-align: center;
  padding: 0 1rem;
}

.vs-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ufc-red);
}

.mt-3 {
  margin-top: 1.5rem !important;
}

/* --- DESKTOP HEADER (1025px and up) --- */
@media (min-width: 1025px) {
  .nav-left {
    display: flex !important;
    align-items: center !important;
  }

  .header-logo-wrapper {
    display: flex !important;
  }

  .nav-right .nav-link, .nav-right .btn-primary {
    display: inline-flex !important;
  }

  .mobile-logo-left, .mobile-nav-center {
    display: none !important;
  }
}

/* --- UFC EXACT MOBILE HEADER DROPDOWN LAYOUT (1024px and down) --- */
.mobile-logo-left, .mobile-nav-center {
  display: none;
}

@media (max-width: 1024px) {

  .site-header {
    pointer-events: auto;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 10000;
    background: transparent;
  }
  
  .header-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    height: 65px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    border-radius: 0 !important;
    align-items: center !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    /* Disable desktop scaleX animation on mobile — prevents horizontal overflow */
    transform: none !important;
    animation: fadeIn 0.5s ease-out forwards !important;
  }

  .site-header.scrolled .header-container {
    background: #000000 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
  }

  .nav-left, .header-logo-wrapper, .nav-right .nav-link, .nav-right .btn-primary {
    display: none !important;
  }



  .mobile-logo-left {
    display: flex !important;
    align-items: center !important;
  }

  .mobile-logo-left .header-logo-img {
    height: 38px;
    width: auto;
  }

  .mobile-nav-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    height: 100% !important;
  }

  .mobile-nav-trigger {
    background: #FFFFFF;
    border: 1.5px solid #CCCCCC;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    position: relative;
    height: 48px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .site-header.scrolled .mobile-nav-trigger {
    background: #141419 !important;
    border-color: var(--ufc-border, #262633) !important;
    color: #FFFFFF !important;
  }

  .nav-chevron {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    color: #000000;
  }

  .site-header.scrolled .nav-chevron {
    color: #FFFFFF !important;
  }

  .mobile-nav-trigger.open .nav-chevron {
    transform: rotate(180deg);
  }

  .mobile-trigger-red-bar {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3.5px;
    background-color: var(--ufc-red, #D20A0A);
    border-radius: 2px 2px 0 0;
  }

  /* Mobile Dropdown Menu Container */
  .mobile-dropdown-menu {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 250px;
    background: #000000;
    border: 1px solid var(--ufc-border, #262633);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10005;
  }

  .mobile-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-drop-item {
    padding: 0.75rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-drop-item:last-child {
    border-bottom: none;
  }

  .mobile-drop-item:hover, .mobile-drop-item.active {
    background: rgba(210, 10, 10, 0.15);
    color: var(--ufc-red-bright, #FF1E27);
  }

  .mobile-drop-item.highlight-enroll {
    color: var(--ufc-red-bright, #FF1E27);
    font-weight: 800;
  }

  .nav-right .nav-search-btn {
    display: flex !important;
  }
  .live-preview-column {
    position: static;
  }

  .enroll-wrapper-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .page-banner {
    padding: 2.5rem 1rem 2rem 1rem;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }

  .matchup-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .fighter-side {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .fighter-side.f-right {
    justify-content: center;
    text-align: center;
  }

  .matchup-row-card {
    padding: 1.4rem 1.2rem;
  }

  .roster-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .search-box-wrapper input {
    width: 100%;
  }

  .division-select-wrapper select,
  .region-selector-dropdown select {
    width: 100%;
  }

  .athletes-grid,
  .plans-grid,
  .features-grid,
  .news-cards-grid,
  .champions-grid,
  .partner-slots-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .enroll-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .fixed-bottom-bar {
    font-size: 0.8rem;
    padding: 0 1rem;
  }

  .bottom-bar-content span {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-logo-img {
    height: 40px;
  }

  .btn-primary, .btn-outline {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  .tab-btn {
    font-size: 0.78rem;
    padding: 8px;
  }

  .preview-card-box {
    padding: 1.2rem;
  }

  .card-name {
    font-size: 1.4rem;
  }

  .card-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TEAMS & FANTASY BOUT ARENA PAGE STYLES
   ============================================================ */

/* Tab Switcher */
.team-tab-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-tab-btn.active {
  background: var(--ufc-red) !important;
  color: #FFF !important;
  border-color: var(--ufc-red) !important;
  box-shadow: 0 5px 25px var(--ufc-red-glow);
}

.team-tab-content {
  animation: fadeSlideIn 0.45s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Squad Builder Grid */
.squad-builder-grid {
  align-items: start;
}

/* Bout Draft Cards */
.bout-draft-card {
  background: #0E0E12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.bout-draft-card:hover {
  border-color: rgba(210, 10, 10, 0.35);
}

.bout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: #111116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bout-num-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--ufc-red);
  text-transform: uppercase;
}

.bout-cap {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--ufc-gold);
  letter-spacing: 1px;
  font-weight: 700;
}

.bout-fighters-choice {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.fighter-option-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  position: relative;
}

.fighter-option-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.fighter-option-btn.selected {
  background: rgba(210, 10, 10, 0.08);
  border-color: var(--ufc-red);
}

.fighter-option-btn.selected::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  color: #FFF;
  background: var(--ufc-red);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fighter-option-btn .f-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.fighter-option-btn .f-sub {
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.3px;
}

.f-cost {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ufc-gold);
  white-space: nowrap;
  padding-left: 0.8rem;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ufc-red);
  background: #0A0A0E;
  letter-spacing: 2px;
  min-width: 50px;
  text-shadow: 0 0 10px var(--ufc-red-glow);
}

/* Squad Summary Sidebar */
.squad-summary-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.squad-card-box {
  background: #0E0E12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}

.squad-header {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.squad-header i {
  color: var(--ufc-red);
}

.squad-fighter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.squad-fighter-row:last-child {
  border-bottom: none;
}

.sf-bout-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--ufc-red);
  letter-spacing: 1px;
  font-weight: 700;
}

.sf-fighter-name {
  font-size: 0.92rem;
  color: #FFF;
  font-weight: 600;
}

.sf-fighter-flag {
  font-size: 0.78rem;
  color: #888;
}

.sf-credits {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--ufc-gold);
  font-weight: 800;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Franchise Cards */
.franchise-card {
  background: #0E0E12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.franchise-card:hover {
  border-color: rgba(210, 10, 10, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(210, 10, 10, 0.12);
}

.franchise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ufc-red), var(--ufc-gold));
}

.franchise-badge {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ufc-gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.8rem;
}

.franchise-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.franchise-location {
  font-size: 0.88rem;
  color: #999;
  margin-bottom: 0.8rem;
}

.franchise-location i {
  color: var(--ufc-red);
  margin-right: 4px;
}

.franchise-price-tag {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--ufc-gold);
  background: rgba(255, 215, 0, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px dashed rgba(255, 215, 0, 0.2);
}

.franchise-desc {
  font-size: 0.9rem;
  color: #AAA;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Squad Locked Overlay Toast */
.squad-locked-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1A1A22;
  border: 2px solid var(--ufc-gold);
  border-radius: 10px;
  padding: 1.5rem 2.5rem;
  z-index: 99999;
  text-align: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.squad-locked-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.squad-locked-toast h3 {
  font-family: var(--font-heading);
  color: var(--ufc-gold);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
}

.squad-locked-toast p {
  color: #CCC;
  font-size: 0.9rem;
}

/* Responsive: Teams Page */
@media (max-width: 900px) {
  .squad-builder-grid {
    grid-template-columns: 1fr !important;
  }

  .bout-fighters-choice {
    flex-direction: column;
  }

  .vs-divider {
    padding: 0.5rem 0;
    min-width: auto;
  }

  .squad-summary-sidebar {
    position: static;
  }

  .franchise-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === FILE: footer.css === */
/* --- UFC MULTI-COLUMN FOOTER --- */
.site-footer {
  background: #040405;
  color: #FFFFFF;
  border-top: 3px solid var(--ufc-red);
  padding: 5rem 1.5rem 6rem 1.5rem; /* Extra padding for bottom fixed bar */
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--ufc-border);
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px var(--ufc-red-glow));
}

.footer-socials {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ufc-card-bg);
  border: 1px solid var(--ufc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background: var(--ufc-red);
  border-color: var(--ufc-red);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--ufc-red-glow);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  color: #FFFFFF;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--ufc-red);
}

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

.footer-links a {
  color: var(--ufc-silver-sub);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 6px;
}

.partners-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--ufc-border);
  border-bottom: 1px solid var(--ufc-border);
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.partner-badge {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ufc-silver-sub);
  letter-spacing: 2px;
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ufc-silver-dark);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* --- OFFICIAL PARTNER CALLOUT SECTION (ATTRACT SPONSORS) --- */
.partners-bar-callout {
  border-top: 1px solid var(--ufc-border);
  border-bottom: 1px solid var(--ufc-border);
  padding: 3rem 0;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.partner-callout-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-callout-title {
  font-size: 1.8rem;
  color: #FFFFFF;
  letter-spacing: 1.8px;
  margin-bottom: 0.6rem;
}

.partner-callout-subtitle {
  color: var(--ufc-silver-sub);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}


.partner-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.partner-slot-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--ufc-border);
  border-radius: 8px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.partner-slot-card:hover {
  border-color: var(--ufc-red);
  background: rgba(210, 10, 10, 0.08);
  transform: translateY(-4px);
}

.partner-slot-card.highlight {
  border-color: var(--ufc-gold);
  background: rgba(255, 215, 0, 0.05);
}

.slot-icon {
  font-size: 2rem;
  color: var(--ufc-silver-sub);
  margin-bottom: 0.8rem;
}

.partner-slot-card.highlight .slot-icon {
  color: var(--ufc-gold);
}

.slot-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1.2px;
  margin-bottom: 0.4rem;
}

.slot-status {
  font-size: 0.75rem;
  color: var(--ufc-red);
  font-weight: 800;
  letter-spacing: 1.5px;
  background: rgba(210, 10, 10, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
}

.slot-status.action {
  color: #FFFFFF;
  background: var(--ufc-gold-dark);
}

/* --- UFC EXACT REPLICA FOOTER --- */
.site-footer {
  background-color: #111113;
  color: #FFFFFF;
  padding: 3rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container-exact {
  max-width: 1440px;
  margin: 0 auto;
}

/* Top Brand — Centered logo + region */
.footer-top-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  padding-bottom: 2rem;
}

.footer-logo-exact {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.region-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}

.region-btn:hover {
  color: var(--ufc-red);
}

/* Divider line */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

/* Link columns grid — 3 columns on mobile to match UFC */
.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

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

.footer-column-links a {
  color: #8A8A8F;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column-links a:hover {
  color: #FFFFFF;
}

/* Legal links row */
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.footer-legal-row a {
  color: #666;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-row a:hover {
  color: #FFFFFF;
}

/* Copyright text */
.footer-copyright {
  max-width: 1440px;
  margin: 0 auto;
  color: #555;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
}

/* Desktop: widen layout */
@media (min-width: 768px) {
  .site-footer {
    padding: 4.5rem 3rem 3rem 3rem;
  }
  .footer-columns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .footer-column-title {
    font-size: 1.05rem;
  }
  .footer-column-links a {
    font-size: 0.88rem;
  }
}
