/* =========================
   GLOBAL
========================= */
body {
  margin: 0;
  background: #0f0f0f;
  font-family: "Inter", sans-serif;
  color: white;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Keep links from turning purple/blue */
a, a:visited {
  color: inherit;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  width: 100%;
  background: #111;
  padding: 30px 0;
  border-bottom: 1px solid #222;
}

.nav-container {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mma {
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
}

.logo-icon {
  width: 22px;
  height: 26px;
  filter: brightness(0.6);
}

.logo-bridge {
  font-family: "Pacifico", cursive;
  font-size: 28px;
  color: cyan;
}

/* NAV LINKS */
.nav-links {
  margin: 0 auto;
  display: flex;
  gap: 48px;
  list-style: none;
  padding: 0;
}

.nav-links li a,
.nav-links li a:visited {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.6px;
  opacity: 0.9;
}

.nav-links li a:hover {
  color: cyan;
  opacity: 1;
}

/* SEARCH */
.search-box {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 360px;
  padding: 13px 48px 13px 20px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #141414;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.search-box input::placeholder {
  color: #777;
}

.search-box input:focus {
  border-color: cyan;
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.18);
  background: #161616;
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon svg {
  width: 19px;
  height: 19px;
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   HERO
========================= */
.hero {
  background: url("images/UFC-311.jpeg") center/cover no-repeat;
  height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}

.hero h1, .hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 40px;
  margin: 0;
}

.hero p {
  margin-top: 8px;
  color: #bbb;
}

/* =========================
   MAIN CONTENT LAYOUT
========================= */
.content-container {
  width: min(1100px, 92%);
  margin: 40px auto;
  display: flex;
  gap: 30px;
}

.left-column {
  flex: 2;
}

.card-row {
  display: flex;
  gap: 20px;
}

/* Make anchor behave as flex item */
.card-row > a {
  flex: 1;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* =========================
   STORY CARD
========================= */
.medium-card {
  height: 260px;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.medium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.medium-card:hover .card-image {
  transform: scale(1.07);
}

.medium-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
}

.medium-card h2 {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  z-index: 2;
  font-size: 18px;
  margin: 0;
}

/* IMAGES */
.story1 { background-image: url("images/324 main event.jpeg"); }
.story2 { background-image: url("images/Illia Max 308.jpeg"); }
.story3 { background-image: url("images/Justin Gaethje.jpeg"); }

/* =========================
   SIDEBAR
========================= */
.sidebar {
  flex: 1;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  height: fit-content;
}

.sidebar h3 {
  margin-top: 0;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 12px;
  color: #ccc;
}

/* =========================
   ARTICLE PAGE
========================= */
.article-hero {
  width: 100%;
  padding: 80px 0 40px;
  text-align: center;
  background: #0f0f0f;
}

.article-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.article-meta {
  color: #888;
  font-size: 14px;
}

.article-container {
  width: 700px;
  margin: 40px auto;
  font-size: 17px;
  line-height: 1.7;
  color: #ddd;
}

.article-container p {
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: cyan;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* =========================
   ARTICLE PAGE (WHITE)
========================= */
.article-page {
  background: #ffffff;
  color: #111;
}

.article-page .navbar {
  background: #111;
}

.article-page .nav-links li a {
  color: white;
  text-decoration: none;
}

.article-wrapper {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: "Inter", sans-serif;
}

.article-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
}

.article-wrapper p {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 26px;
}

/* keep your white-page back-link override */
.article-page .back-link {
  display: inline-block;
  margin-top: 30px;
  font-weight: 500;
  color: #0066ff;
  text-decoration: none;
}

.article-page .back-link:hover {
  text-decoration: underline;
}

/* =========================
   PFP PAGE (5 big cards/row)
========================= */
/* widen page but keep clean margins */
.pfp-page .content-container {
  width: 96%;
  max-width: 1600px;
  margin: 0 auto;
}

/* switch to grid for PFP cards */
.pfp-page .card-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 24px;
  row-gap: 90px;
}

/* keep card size EXACTLY the same */
.pfp-page .medium-card {
  height: 260px;
}

.pfp-page .card-row > a {
  width: 100%;
}

/* Responsive fallback */
@media (max-width: 1200px) {
  .pfp-page .card-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pfp-page .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box input { width: 240px; }
}

/* =========================
   EVENTS PAGE (NEW SYSTEM)
   Uses: .page, .event, .drop, .fight-row, drawer
========================= */
.page {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 28px 0 70px;
}

.page-header {
  margin-bottom: 18px;
}

.page-title {
  font-size: 42px;
  letter-spacing: -0.3px;
  margin: 0;
}

.page-sub {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.45);
  border-radius: 16px;
  overflow: hidden;
}

.event[open] {
  border-color: rgba(255,255,255,0.16);
}

.event-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  gap: 14px;
}

.event-sum::-webkit-details-marker {
  display: none;
}

.event-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-tag {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.70);
  background: rgba(0,0,0,0.35);
}

.event-subline {
  margin-top: 6px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dim {
  color: rgba(255,255,255,0.65);
}

.dot {
  color: rgba(255,255,255,0.35);
}

.event-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-chip {
  font-size: 12px;
  letter-spacing: 1px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.35);
}

.event-chev {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  transform: translateY(1px);
}

/* Cinematic expanded body */
.event-body.cinematic {
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
}

.poster-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  min-height: 280px;
}

.event-poster {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.05);
}

/* Drops */
.event-drops {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drop {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.drop-sum {
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.drop-sum::-webkit-details-marker {
  display: none;
}

.drop-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.count {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.chev {
  color: rgba(255,255,255,0.6);
}

/* Fight cards inside dropdown */
.drop-body {
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Make fights clickable without looking like a default button */
.fight-row {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(0,0,0,0.45);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
  font-family: inherit;
  color: inherit;
}

.fight-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
}

.fight-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.fight-icons .ico {
  font-size: 14px;
  opacity: 0.9;
  margin-left: 6px;
}

/* MAIN / CO-MAIN */
.slot {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.35);
}

.main-slot {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
}

.comain-slot {
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
}

.fight-hero {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.07), rgba(0,0,0,0.60));
  border-color: rgba(255,255,255,0.18);
}

.fight-hero .fight-names {
  font-size: 19px;
}

.fight-hero-2 .fight-names {
  font-size: 17px;
}

.fight-names {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  font-size: 15px;
}

.fight-vs {
  color: rgba(255,255,255,0.45);
  font-weight: 800;
}

.fight-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.20);
}

.pill-dim {
  color: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.10);
}

/* Empty states */
.empty {
  color: rgba(255,255,255,0.60);
  padding: 10px 4px;
}

.empty.big {
  padding: 22px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
}

/* Drawer */
.no-scroll { overflow: hidden; }

.drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 9999;
}

.drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(560px, 92vw);
  background: rgba(10,10,10,0.92);
  border-left: 1px solid rgba(255,255,255,0.12);
  box-shadow: -20px 0 60px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.drawer-top {
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.drawer-title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.8);
}

.drawer-x {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.75);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.drawer-content {
  padding: 16px;
  overflow: auto;
}

.drawer-hero {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.45);
  border-radius: 18px;
  padding: 16px;
}

.drawer-fightline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.drawer-a, .drawer-b {
  font-size: 20px;
  font-weight: 900;
}

.drawer-vs {
  color: rgba(255,255,255,0.45);
  font-weight: 900;
  letter-spacing: 2px;
  text-align: center;
}

.drawer-pills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-sub {
  margin-top: 14px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

.drawer-event {
  font-weight: 900;
  color: rgba(255,255,255,0.84);
}

.drawer-meta {
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
}

.drawer-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.drawer-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 14px;
}

.drawer-card-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.drawer-lines .line {
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
}

.drawer-lines .line:first-child { border-top: 0; }

.hint {
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .event-body.cinematic {
    grid-template-columns: 1fr;
  }
  .poster-wrap {
    min-height: 240px;
  }
  .logo { text-decoration: none; }
/* =========================
   FIGHTER PROFILE (DRAWER)
========================= */

.drawer-kicker {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

.fighter-head {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.fighter-avatar {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

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

.fighter-name {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.fighter-subrow {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flag {
  font-size: 16px;
  line-height: 1;
}

.record-pill {
  font-weight: 900;
}

.stats-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
  padding: 12px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  font-weight: 800;
}

.stat-val {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,0.90);
}

.last5 {
  margin-top: 14px;
}

.last5-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.last5-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wl {
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  letter-spacing: 0.5px;
}

.wl.win {
  border-color: rgba(0, 255, 140, 0.35);
  background: rgba(0, 255, 140, 0.12);
  color: rgba(200, 255, 230, 0.95);
}

.wl.loss {
  border-color: rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.10);
  color: rgba(255, 210, 210, 0.95);
}

.top-wins {
  margin-top: 14px;
}

.top-wins .hint {
  margin-top: 0;
}
/* =========================
   PFP DRAWER POLISH
========================= */

.last5-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bout{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  padding: 12px;
}

.bout-top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.wl{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.14);
}

.wl-w{
  color: rgba(150,255,180,0.95);
  border-color: rgba(80,200,120,0.35);
  background: rgba(50,160,90,0.15);
}

.wl-l{
  color: rgba(255,150,150,0.95);
  border-color: rgba(220,80,80,0.35);
  background: rgba(170,50,50,0.15);
}

.wl-na{
  color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.06);
}

.bout-opp{
  font-weight: 900;
}

.bout-date{
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 700;
}

.bout-sub{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stats-grid{
  display: grid;
  gap: 10px;
}

.stat-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-row:first-child{
  padding-top: 0;
  border-top: 0;
}

.stat-label{
  color: rgba(255,255,255,0.55);
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 12px;
  text-transform: uppercase;
}

.stat-value{
  font-weight: 800;
  color: rgba(255,255,255,0.85);
}

}
/* =========================
   PFP LAST 5 – COLOR ONLY
   SAFE / SCOPED
========================= */

.pfp-page .drawer .last5-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pfp-page .drawer .bout {
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
}

.pfp-page .drawer .bout.win {
  background: rgba(0, 255, 140, 0.12);
  border-color: rgba(0, 255, 140, 0.35);
}

.pfp-page .drawer .bout.loss {
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 80, 80, 0.35);
}

.pfp-page .drawer .bout-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.pfp-page .drawer .wl {
  width: 26px;
  height: 22px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfp-page .drawer .wl.win {
  background: rgba(0, 255, 140, 0.28);
  color: #caffea;
}

.pfp-page .drawer .wl.loss {
  background: rgba(255, 80, 80, 0.28);
  color: #ffdada;
}
/* Subtle pulse on hover */
.pfp-page .drawer .bout {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pfp-page .drawer .bout:hover {
  transform: translateY(-1px);
}

.pfp-page .drawer .bout.win:hover {
  box-shadow: 0 0 0 1px rgba(0,255,140,0.35),
              0 0 18px rgba(0,255,140,0.15);
}

.pfp-page .drawer .bout.loss:hover {
  box-shadow: 0 0 0 1px rgba(255,80,80,0.35),
              0 0 18px rgba(255,80,80,0.15);
}


.pfp-page .drawer .bout-opp {
  font-weight: 900;
}

.pfp-page .drawer .bout-date {
  font-size: 12px;
  opacity: 0.6;
}

.pfp-page .drawer .bout-sub {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}
/* Hide bottom profile stats in PFP drawer */
.pfp-page .drawer .drawer-card:last-of-type {
  display: none;
}
.streak {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.streak .wl {
  width: 22px;
  height: 20px;
  font-size: 11px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-col {
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 12px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 10px;
}

.form-name { font-weight: 700; }
.form-record { opacity: 0.7; font-size: 12px; }

.form-list { display: grid; gap: 6px; }

.form-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.form-badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}

.form-badge.win {
  background: rgba(0, 200, 120, 0.2);
  color: #3ddc97;
}

.form-badge.loss {
  background: rgba(220, 60, 60, 0.2);
  color: #ff6b6b;
}

.form-date { opacity: 0.5; font-size: 11px; }

/* ==============================================
   MMA BRIDGE - LOADING STATES CSS
   ============================================== */

/* Add this to the bottom of your style.css file */

/* ========================================
   LOADING SPINNER
   ======================================== */

   .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 300px;
  }
  
  .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: cyan;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  
  .spinner.large {
    width: 64px;
    height: 64px;
    border-width: 5px;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .loading-text {
    margin-top: 1.5rem;
    color: #999;
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  /* ========================================
     SKELETON LOADERS
     ======================================== */
  
  .skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .skeleton-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1rem;
    overflow: hidden;
  }
  
  .skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(
      90deg,
      #222 0%,
      #2a2a2a 50%,
      #222 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .skeleton-line {
    height: 16px;
    background: linear-gradient(
      90deg,
      #222 0%,
      #2a2a2a 50%,
      #222 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
  }
  
  .skeleton-line.short {
    width: 60%;
  }
  
  .skeleton-line.medium {
    width: 80%;
  }
  
  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  
  /* Skeleton Events */
  .skeleton-events {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .skeleton-event {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
  }
  
  /* Skeleton News Cards */
  .skeleton-news {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
  }
  
  .skeleton-news .skeleton-card {
    min-width: 300px;
  }
  
  /* ========================================
     ERROR DISPLAY
     ======================================== */
  
  .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
  }
  
  .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  
  .error-container h3 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }
  
  .error-container p {
    color: #999;
    margin-bottom: 2rem;
    max-width: 400px;
  }
  
  .retry-button {
    padding: 0.75rem 1.5rem;
    background: cyan;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
  }
  
  .retry-button:hover {
    background: #00e5e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
  }
  
  .retry-button:active {
    transform: translateY(0);
  }
  
  /* ========================================
     GLOBAL LOADING OVERLAY
     ======================================== */
  
  .global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .global-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .global-loading-content p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
  }
  
  /* ========================================
     RESPONSIVE
     ======================================== */
  
  @media (max-width: 768px) {
    .skeleton-grid {
      grid-template-columns: 1fr;
    }
    
    .loading-container {
      min-height: 200px;
      padding: 3rem 1rem;
    }
    
    .error-container {
      min-height: 200px;
      padding: 3rem 1rem;
    }
  }
