/* ==========================================================================
   UFC.GRIMALDI.TV - Dark Octagon & ESPN Matchup Design System
   ========================================================================== */

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

:root {
  --bg-dark: #070709;
  --bg-card: #111218;
  --bg-card-hover: #181924;
  --bg-glass: rgba(18, 20, 30, 0.75);
  
  --red-primary: #e71d36;
  --red-glow: rgba(231, 29, 54, 0.4);
  --gold-accent: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --blue-accent: #0088ff;
  --green-accent: #00e676;
  
  --text-main: #f0f2f8;
  --text-muted: #9aa0b4;
  --text-dim: #5c6278;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-active: rgba(231, 29, 54, 0.5);
  
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  
  --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(231, 29, 54, 0.25);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(231, 29, 54, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0e;
}
::-webkit-scrollbar-thumb {
  background: #2a2c3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Header & Ticker */
.top-ticker {
  background: #040406;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 101;
}

.ticker-label {
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  gap: 32px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item strong {
  color: #fff;
}

.ticker-tag {
  color: var(--gold-accent);
  font-weight: 700;
  font-size: 0.75rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Site Navbar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: linear-gradient(135deg, var(--red-primary), #990014);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  box-shadow: 0 0 12px var(--red-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
}

.brand-name span {
  color: var(--gold-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-btn {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(231, 29, 54, 0.2), rgba(231, 29, 54, 0.05));
  border: 1px solid rgba(231, 29, 54, 0.4);
  box-shadow: 0 0 15px rgba(231, 29, 54, 0.2);
}

.nav-btn.special-btn {
  background: linear-gradient(135deg, #d4af37 0%, #aa8410 100%);
  color: #000;
  font-weight: 700;
  border: none;
}
.nav-btn.special-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 16px 8px 38px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  width: 200px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  width: 260px;
  border-color: var(--red-primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px var(--red-glow);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

/* Page Layout Wrappers */
.main-content {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 24px 80px 24px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Hero Section */
.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  background: #0f1017;
  border: 1px solid var(--border-glass);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-main);
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(110%) brightness(90%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #070709 0%, rgba(7, 7, 9, 0.6) 50%, rgba(7, 7, 9, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.hero-summary {
  font-size: 1.1rem;
  color: #c5cad8;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary) 0%, #b80017 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--red-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(231, 29, 54, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Section Header styling */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 28px;
  background: var(--red-primary);
  border-radius: 3px;
}

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

.filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.filter-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.filter-chip.active {
  background: var(--red-primary);
  color: #fff;
  border-color: var(--red-primary);
}

/* News Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 29, 54, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.story-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1a1b26;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.story-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--gold-accent);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

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

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 12px;
}

.story-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.read-more-link {
  color: var(--red-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.read-more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ESPN PLAYER VS PLAYER COMPARISON (TALE OF THE TAPE & SIMULATOR)
   ========================================================================== */

.pvp-header-banner {
  position: relative;
  background: linear-gradient(180deg, #161824 0%, #0c0d12 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: var(--shadow-main);
  overflow: hidden;
}

.pvp-header-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(231, 29, 54, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pvp-main-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px;
}
.pvp-main-title span {
  color: var(--red-primary);
}

.pvp-sub-title {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 20px auto;
}

.preset-matchups {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.preset-btn:hover {
  background: rgba(231, 29, 54, 0.15);
  border-color: var(--red-primary);
  color: #fff;
}
.preset-btn.active {
  background: linear-gradient(135deg, var(--red-primary), #990014);
  color: #fff;
  border-color: var(--red-primary);
  box-shadow: 0 0 12px var(--red-glow);
}

/* Matchup Arena Grid Layout */
.matchup-arena {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 20px;
  margin-bottom: 36px;
  align-items: stretch;
}

.fighter-card-select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-main);
  transition: border-color 0.3s ease;
}

.fighter-card-select.corner-red {
  border-top: 4px solid var(--red-primary);
}

.fighter-card-select.corner-blue {
  border-top: 4px solid var(--blue-accent);
}

.corner-label {
  display: inline-block;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.corner-red .corner-label {
  background: rgba(231, 29, 54, 0.2);
  color: var(--red-primary);
  border: 1px solid rgba(231, 29, 54, 0.4);
}

.corner-blue .corner-label {
  background: rgba(0, 136, 255, 0.2);
  color: var(--blue-accent);
  border: 1px solid rgba(0, 136, 255, 0.4);
}

.fighter-dropdown-select {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  width: 100%;
  margin-bottom: 20px;
  outline: none;
}
.fighter-dropdown-select option {
  background: #111218;
  color: #fff;
}

.fighter-profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.fighter-avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
}

.champ-badge {
  position: absolute;
  bottom: -4px;
  background: linear-gradient(135deg, var(--gold-accent), #aa8410);
  color: #000;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--gold-glow);
}

.fighter-name-display {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.1;
  color: #fff;
}

.fighter-nickname-display {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.fighter-record-display {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* VS Center Divider Column */
.vs-divider-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.vs-badge-large {
  background: radial-gradient(circle, var(--red-primary) 0%, #800010 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--red-glow);
  border: 3px solid #fff;
  margin-bottom: 16px;
}

.simulate-btn {
  background: linear-gradient(135deg, var(--gold-accent), #aa8410);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: transform 0.25s ease;
}
.simulate-btn:hover {
  transform: scale(1.05);
}

/* ESPN Tale of the Tape Table */
.tale-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-main);
}

.tale-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}

.tape-row {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.tape-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.val-left {
  text-align: right;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  padding-right: 16px;
}

.val-right {
  text-align: left;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  padding-left: 16px;
}

.tape-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.winner-val {
  color: var(--green-accent) !important;
  font-size: 1.25rem !important;
}

/* Radar & Skill Attribute Comparison Bars */
.skills-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.skill-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.skill-bar-item {
  margin-bottom: 18px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.progress-fill-left {
  height: 100%;
  background: linear-gradient(90deg, #990014, var(--red-primary));
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill-right {
  height: 100%;
  background: linear-gradient(90deg, #0055aa, var(--blue-accent));
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Win Simulator & AI Breakdown Card */
.simulator-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(18, 20, 30, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.sim-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.prob-meter-container {
  margin-bottom: 24px;
}

.prob-meter-track {
  height: 24px;
  background: #000;
  border-radius: var(--radius-pill);
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border-glass);
  margin-bottom: 8px;
}

.prob-fill-f1 {
  background: linear-gradient(90deg, #b80017, var(--red-primary));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  transition: width 0.8s ease;
}

.prob-fill-f2 {
  background: linear-gradient(90deg, var(--blue-accent), #004499);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  transition: width 0.8s ease;
}

.prob-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
}

.sim-breakdown-text {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Upcoming Events Tab */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  box-shadow: var(--shadow-main);
}

.event-poster-col {
  position: relative;
  background: #000;
  min-height: 280px;
}

.event-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.event-details-col {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.event-date-badge {
  background: rgba(231, 29, 54, 0.15);
  border: 1px solid rgba(231, 29, 54, 0.4);
  color: var(--red-primary);
  font-family: var(--font-tech);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}

.event-card-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 6px;
}

.event-location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Countdown Clock */
.countdown-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.clock-segment {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 65px;
}

.clock-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-accent);
  line-height: 1;
}

.clock-label {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Fight Card Table */
.fight-card-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.fight-card-table th {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fight-card-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
}

.title-bout-row {
  background: rgba(212, 175, 55, 0.05);
}

.title-tag-gold {
  color: var(--gold-accent);
  font-weight: 700;
  font-family: var(--font-tech);
  font-size: 0.8rem;
}

/* Champions & Rankings Grid */
.champs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.champ-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.champ-div-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.champ-name-big {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-accent);
  line-height: 1.1;
}

/* Modal View */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-content {
  background: #11121a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer */
.main-footer {
  background: #040406;
  border-top: 1px solid var(--border-glass);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .matchup-arena {
    grid-template-columns: 1fr;
  }
  .vs-divider-column {
    margin: 16px 0;
  }
  .skills-comparison-grid {
    grid-template-columns: 1fr;
  }
  .event-banner-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .tape-row {
    grid-template-columns: 1fr 100px 1fr;
    font-size: 0.85rem;
  }
}


