/* General Styles */
body,
html {
  font-family: Arial, sans-serif;
  background-color: #000000;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

:root {
  --bg: #000;
  --panel: #080808;
  --panel-soft: #101010;
  --text: #fff;
  --muted: #bfbfbf;
  --red: #ff0000;
  --red-dark: #c80000;
  --gold: #ffd700;
  --border: rgba(255, 255, 255, 0.12);
}


/* UFC History Section */
.random-war-section {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.random-war-section h2 {
  color: #ffffff;
  font-size: 2.5rem;
}

.random-war-section h1 {
  color: #ffffff;
  background: linear-gradient(80deg, #000, #ff0000);
  padding: 50px;

  font-size: 2.5rem;
}

.random-war-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ff0000;
}

.random-war-section .smallfact {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #ffffff;
}

button {
  padding: 10px 20px;
  font-size: 1.1rem;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #d32f2f;
}

/* Styling for war story content */
#warStoryContainer {
  margin-top: 20px;
  padding: 10px;
  background: #000000;
  border-radius: 20px;
  text-align: center;
}

#warStoryContainer h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 10px;
}

#warStoryContainer .summary {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.3;
  text-align: center;
}

#warStoryContainer .resultufc {
  font-size: 1.4rem;
  color: #fd0000;
  line-height: 1.2;
  font-style: italic;
}

#warStoryContainer img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border: 1px solid #ddd;
}

/* Article Section */
.article-section {
  padding: 30px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-top: 2px solid #ff0000;
  max-width: 1000px; /* Increased for better alignment of multiple images */
  margin: 0 auto;
}

.article-section h1 {
  background: linear-gradient(80deg, #000, #bba5a5);
  padding: 50px;
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.article-scroll-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-scroll-controls button {
  background-color: #ff0000;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

.article-scroll-controls button:hover {
  background-color: #d32f2f;
}

.featured-articles-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 15px 0;
  flex: 1;
}

.featured-articles-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for aesthetics */
}

.article-link {
  flex: 0 0 auto; /* Prevent flex from shrinking */
  width: 280px; /* Set fixed width for uniform cards */
  text-align: center;
}

.article-image {
  width: 100%; /* Make the image fit the container */
  height: 110px; /* Maintain a uniform height */
  object-fit: cover; /* Ensures the image fits without distortion */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.article-image:hover {
  transform: scale(1.05); /* Adds a subtle zoom effect on hover */
}

.article-link p {
  color: #ffffff; /* White text */
  text-decoration: none; /* Remove underline */
  font-size: 1rem;
  margin-top: 10px;
}

.article-link {
  text-decoration: none; /* Remove underline from the entire link */
}

.article-link p:hover {
  color: #ff0000; /* Change to red on hover */
  text-decoration: none; /* Ensure underline doesn't reappear on hover */
}

.article-section1 {
  padding: 30px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-top: 2px solid #ff0000;
  max-width: 1000px; /* Increased for better alignment of multiple images */
  margin: 0 auto;
}

.article-section1 h1 {
  background: linear-gradient(80deg, #000, #0000ff);
  padding: 50px;
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Footer */
footer {
  text-align: center;
  background-color: #ff0000;
  color: #fff;
  padding: 15px;
}

.soon {
  color: white;
}

.disclaimer {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 15px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Fighter Section */
.ufc-top15-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-top: 2px solid #ff0000;
}

.ufc-top15-section h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h1 {
  color: #ff0000;
  font-size: 2rem;
}

.full-roster-button {
  display: inline-block;
  background-color: #ff0000;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
}

.full-roster-button:hover {
  background-color: #d32f2f;
}

.fighter-scroll-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fighter-scroll-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ff0000;
  cursor: pointer;
}

.fighters-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  flex: 1;
}

.fighters-scroll-container::-webkit-scrollbar {
  display: none;
}

.fighter-card {
  min-width: 200px;
  background-color: #ff0000;
  border: 5px solid #ff0000;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

#champ {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid #ffd700;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

#crown {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid transparent;
background:
  linear-gradient(#000, #000) padding-box,
  linear-gradient(45deg, #ffd700, #ffffff, #ffd700) border-box;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;

  box-shadow:
    0 0 12px rgb(255, 255, 255),
    0 0 22px rgb(255, 255, 255);

  transition: box-shadow 0.4s ease-in-out, transform 0.3s ease-in-out;
}

#crown:hover {
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.6),
    0 0 60px rgb(255, 255, 255),
    0 0 90px rgb(255, 255, 255);

  transform: scale(1.03);
}

#bmf2 {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid transparent;
background:
  linear-gradient(#000, #000) padding-box,
  linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0) border-box;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;

  box-shadow:
    0 0 12px rgba(255, 219, 219, 0.575),
    0 0 22px rgb(255, 219, 219, 0.575);

  transition: box-shadow 0.4s ease-in-out, transform 0.3s ease-in-out;
}

#bmf2:hover {
  box-shadow:
    0 0 20px rgba(255, 219, 219, 0.575),
    0 0 40px rgba(255, 219, 219, 0.575),
    0 0 60px rgba(255, 219, 219, 0.575),
    0 0 90px rgb(255, 219, 219, 0.575);

  transform: scale(1.03);
}




.gold-gradient {
  background: linear-gradient(90deg, #d4af37, #e9e0b2, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.green-gradient {
  background: linear-gradient(90deg, #088d0f, #f7e27c, #088d0f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

#white {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid transparent;
  border-image: linear-gradient(90deg, #d4af37, #e9e0b2, #b8860b) 1;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

#sacred {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid transparent;
  border-image: linear-gradient(90deg, #088d0f, #f7e27c, #088d0f) 1;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.fighter-video {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
  display: block;

  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Subtle hover zoom */
.fighter-video:hover {
  transform: scale(1.05);
}

/* Optional glow version if you want it elite */
.fighter-video.glow {
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(255, 255, 255, 0.2);
}

.fighter-video.glow:hover {
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.7),
    0 0 40px rgba(255, 215, 0, 0.5),
    0 0 60px rgba(255, 255, 255, 0.4);
}


.fighter-image {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
}

.fighter-details h2 {
  font-size: 1rem;
  color: #ff0000;
  margin: 10px 0 5px 0;
}

.fighter-details h1 {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid #e60000;
  border-bottom: 2px solid #e60000; /* Adds a touch of the WAR red to the title */
  padding-bottom: 0.5rem;
}

.fighter-details p {
  font-size: 0.85rem;
  color: #ffffff;
  margin: 2px 0;
}

.skills p {
  font-size: 0.8rem;
  color: #ffd700; /* Gold color for stars */
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid #e60000;
}

/* Hide scrollbar for Webkit-based browsers */
.fighters-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Optional: Styling for other browsers */
.fighters-scroll-container {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .article-scroll-controls,
  .fighter-scroll-controls {
    gap: 10px;
  }

  .featured-articles-container,
  .fighters-scroll-container {
    flex: 1;
  }

  .article-image,
  .fighter-image {
    width: 150px;
  }

  .fighter-card {
    min-width: 150px;
  }

  .section-header h1 {
    font-size: 1.5rem;
  }
}
/* General container styling for each division */
.ufc-top15-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Scroll controls styling */
.fighter-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fighter-scroll-controls button {
  background-color: #ff0000;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

/* Container for fighters */
.fighters-scroll-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.fighters-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Fighter card styling */
.fighter-card {
  min-width: 200px;
  background-color: #000000;
  border: 5px solid #ff0000;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .fighter-card {
    min-width: 150px;
  }

  .fighter-scroll-controls button {
    font-size: 1.2rem;
    padding: 8px;
  }
}

.gold {
  color: gold;
}

.goldrod {
  color: goldenrod;
}

.red {
  color: red;
}

.black {
  color: #000;
}

.white {
  color: white;
  font-style: italic;
}

#silver {
  color: silver;
  min-width: 200px;
  background-color: #000000;
  border: 5px solid #c0c0c0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.bmf {
  color: silver;
}

/* General Division Header Styles */
.division-header {
  text-align: center;
  padding: 20px;
  /*background: linear-gradient(80deg, #000, #ffffff);*/
  color: white;
  border-bottom: 2px solid #ff0000; /* Gold border for premium feel */
  font-family: "Arial", sans-serif;
}

.ufcrankings {
  background: linear-gradient(80deg, #000, #ffd700);
  padding: 50px;
  color: red;
  font-size: 2.5rem;
}

.division-header .rankings {
  text-decoration: underline #ff0000;
}

/* Title Styling */
.division-header .division-title {
  font-size: 2.5em;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase; /* Optional for bold statement */
}

/* Subtitle Styling */
.division-header .division-subtitle {
  font-size: 1em;
  color: #ffffff; /* Gold color for elegance */
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.5px; /* Enhanced readability */
}

.division-subtitle strong {
  color: #ff2626;
  font-weight: 900;
}

/* Sponsors Section */
.sponsors-section {
  max-width: 1050px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
  border-top: 2px solid #ff0000;
}

.sponsors-title {
  background: linear-gradient(80deg, #000, var(--red));
  padding: 34px 18px;
  border-radius: 16px;
  margin: 0 0 18px 0;
  font-size: 2.2rem;
}

.sponsor-description{
  max-width:900px;
  margin:20px auto 35px auto;
  font-size:1rem;
  line-height:1.6;
  color:#ff0000;
  text-align:center;
}

.sponsor-description .white{
  color:#ffffff;
}

.sponsor-description .gold{
  color:#ffd700;
  font-weight:bold;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sponsor-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #1a1a1a;
  background: #050505;
  text-decoration: none;
  box-shadow: 0 0 22px rgb(255, 255, 255);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Keeps a perfect 720x450 aspect ratio (1.6) even if images vary */
.sponsor-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 450;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.sponsor-card:hover {
  transform: translateY(-2px);
  border-color: red;
  box-shadow: 0 0 30px rgb(255, 255, 255);
}

.sponsor-card:hover img {
  transform: scale(1.03);
}

.sponsor-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 60%);
}

.sponsor-name {
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.sponsor-cta {
  color: red;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
  .sponsors-title {
    font-size: 1.8rem;
  }
}

/* Warrior Creed Section */

.war-creed-section{
  max-width:1000px;
  margin:0 auto;
  padding:60px 20px;
  text-align:center;
  border-top:2px solid #ff0000;
}

.war-creed-title{
  background:linear-gradient(80deg,#000,#ff0000);
  padding:40px;
  font-size:2.4rem;
  border-radius:16px;
  margin-bottom:40px;
}

.war-creed{
  max-width:700px;
  margin:0 auto;
}

.creed-line{
  font-size:1.1rem;
  line-height:2.1;
  color:white;
  margin:14px 0;
  letter-spacing:0.5px;
}

.creed-line.intro{
  font-style:italic;
  color:#ffd700;
  margin-bottom:25px;
}

.creed-line.final{
  font-size:1.8rem;
  margin-top:35px;
  font-weight:bold;
}

.creed-line .red{
  color:#ff0000;
}

.creed-line .gold{
  color:#ffd700;
}

.creed-line .dogs{
  text-shadow:
    0 0 10px rgba(255,215,0,0.6),
    0 0 20px rgba(255,215,0,0.4);
}

/* Legends Search Bar */
.legend-search-wrap {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 12px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.legend-search {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  border: 2px solid #ff0000;
  background: #000;
  color: #fff;
  font-size: 1rem;
  outline: none;
  text-align: left;
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.legend-search::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.legend-search:focus {
  border-color: #ffd700;
  box-shadow:
    0 0 14px rgba(255, 215, 0, 0.18),
    0 0 24px rgba(255, 0, 0, 0.14);
}

/* Tablet */
@media (max-width: 768px) {
  .legend-search-wrap {
    max-width: 80%;
    padding: 0 12px;
    margin: 14px auto 10px auto;
  }

  .legend-search {
    font-size: 16px; /* prevents iPhone zoom */
    padding: 12px 14px;
    border-radius: 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .legend-search-wrap {
    padding: 0 10px;
  }

  .legend-search {
    font-size: 16px;
    padding: 11px 12px;
    border-radius: 10px;
  }
}

/* =========================================================
   WAR MEDIA CLEAN MODERN OVERRIDES
   UFC History + Heavyweight surroundings
   Fighter cards themselves are intentionally preserved.
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.08), transparent 34rem),
    #000;
}

/* =========================================================
   UFC HISTORY
========================================================= */

.random-war-section {
  position: relative;
  width: min(1000px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) 0;
  text-align: center;
}

/*======================================================
TITLE PANEL
======================================================*/

.history-title-panel{

    position:relative;

    overflow:hidden;

    padding:70px 40px 50px;

    background:

        radial-gradient(circle at top,
        rgba(255,0,0,.16),
        transparent 42%),

        linear-gradient(
        135deg,
        #050505 0%,
        #140000 45%,
        #3b0000 100%);

    border:1px solid rgba(255,0,0,.35);

    border-radius:22px 22px 0 0;

    box-shadow:

        0 25px 60px rgba(0,0,0,.6),

        inset 0 1px 0 rgba(255,255,255,.04);

}

/* subtle diagonal texture */

.history-title-panel::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        repeating-linear-gradient(

            -45deg,

            rgba(255,255,255,.015) 0,

            rgba(255,255,255,.015) 1px,

            transparent 1px,

            transparent 10px

        );

    pointer-events:none;

}

/* red glow */

.history-title-panel::after{

    content:"";

    position:absolute;

    left:50%;

    top:-120px;

    width:500px;

    height:300px;

    transform:translateX(-50%);

    background:

        radial-gradient(

        rgba(255,0,0,.22),

        transparent 70%);

    filter:blur(40px);

}

/*======================================================
TOP TEXT
======================================================*/

.history-kicker{

    display:block;

    margin-bottom:18px;

    color:#ffd700;

    font-family:"Barlow",sans-serif;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:5px;

    text-transform:uppercase;

}

/*======================================================
MAIN TITLE
======================================================*/

#ufc-history-title{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:22px;

    margin:0;

}

.history-title-red{

    color:#ff1b1b;

    font-family:"Bebas Neue",sans-serif;

    font-size:clamp(4rem,9vw,7rem);

    letter-spacing:4px;

    text-shadow:

        0 0 25px rgba(255,0,0,.25);

}

.history-title-divider{

    width:3px;

    height:65px;

    background:

        linear-gradient(

        transparent,

        #ff0000,

        transparent);

}

.history-title-white{

    color:white;

    font-family:"Bebas Neue",sans-serif;

    font-size:clamp(4rem,9vw,7rem);

    letter-spacing:4px;

    text-shadow:

        0 0 20px rgba(255,255,255,.08);

}

/*======================================================
BOTTOM TEXT
======================================================*/

.history-tagline{

    margin-top:18px;

    color:#cfcfcf;

    font-family:"Barlow",sans-serif;

    font-size:.95rem;

    font-weight:600;

    letter-spacing:6px;

    text-transform:uppercase;

}

.random-war-section h1 {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.18em;
  margin: 0;
  padding: 0;
  background: none;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
}

.history-title-red {
  color: #ff1010;
  text-shadow:
    0 4px 0 #750000,
    0 0 24px rgba(255, 0, 0, 0.3);
}

.history-title-white {
  color: #fff;
  text-shadow:
    0 4px 0 #555,
    0 0 20px rgba(255, 255, 255, 0.12);
}

.history-tagline,
.rankings-tagline {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #c7c7c7;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.38em;
  line-height: 1.5;
  text-transform: uppercase;
}

.history-body {
  width: calc(100% - 34px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 52px);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.99), rgba(5, 5, 5, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.history-copy {
  width: min(760px, 100%);
  margin: 0 auto;
}

.random-war-section .smallfact {
  margin: 0 auto 20px;
  color: #d8d8d8;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.82;
  text-align: center;
}

.random-war-section .smallfact strong {
  color: #ff2626;
  font-weight: 900;
}

.history-disciplines {
  margin-top: 42px;
}

.disciplines-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #ff1c1c;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.disciplines-heading::before,
.disciplines-heading::after {
  content: "";
  width: min(120px, 14vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff0000);
}

.disciplines-heading::after {
  background: linear-gradient(90deg, #ff0000, transparent);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.discipline-card {
  min-width: 0;
  padding: 26px 18px 24px;
  background:
    linear-gradient(145deg, rgba(255, 0, 0, 0.08), transparent),
    #090909;
  border: 1px solid rgba(255, 0, 0, 0.28);
  border-radius: 12px;
  text-align: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.discipline-card:hover {
  border-color: rgba(255, 0, 0, 0.72);
  box-shadow: 0 14px 34px rgba(255, 0, 0, 0.12);
  transform: translateY(-4px);
}

.discipline-number{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:56px;

    height:56px;

    margin-bottom:18px;

    border-radius:50%;

    border:2px solid #ff0000;

    background:
    radial-gradient(circle,#1b1b1b,#000);

    color:#ff1b1b;

    font-family:"Bebas Neue",sans-serif;

    font-size:1.7rem;

    letter-spacing:1px;

    box-shadow:
        0 0 15px rgba(255,0,0,.18);

}

.discipline-card h2{

    margin:12px 0 8px;

    color:#fff;

    font-family:"Bebas Neue", sans-serif;

    font-size:clamp(1.7rem,3vw,2.3rem);

    font-weight:400;

    letter-spacing:2px;

    line-height:1;

    text-transform:uppercase;

    text-shadow:
        0 0 10px rgba(255,0,0,.25);

}

.discipline-card p{

    margin:0;

    color:#cfcfcf;

    font-family:"Barlow",sans-serif;

    font-size:1rem;

    font-weight:500;

    line-height:1.75;

}

.discipline-style{

    display:block;

    margin-bottom:16px;

    color:#ff3d3d;

    font-family:"Barlow",sans-serif;

    font-size:.75rem;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}

.history-action {
  width: min(780px, 100%);
  margin: 38px auto 0;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 0, 0, 0.11), rgba(255, 255, 255, 0.02)),
    #080808;
  border: 1px solid rgba(255, 0, 0, 0.38);
  border-left: 4px solid #ff0000;
  border-radius: 13px;
  text-align: center;
}

.random-war-section .history-action p {
  margin: 0 0 20px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.65;
}

.history-explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  color: #fff;
  background: linear-gradient(180deg, #ff1c1c, #c80000);
  border: 1px solid #ff4848;
  border-radius: 8px;
  box-shadow:
    0 12px 28px rgba(255, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

#warStoryContainer {
  width: calc(100% - 34px);
  margin: 28px auto 0;
  padding: clamp(24px, 5vw, 38px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    #080808;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #ff0000;
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.56);
}

#warStoryContainer:empty {
  display: none;
}

/* =========================================================
   HEAVYWEIGHT RANKINGS SURROUNDINGS
========================================================= */

.heavyweight-rankings-section {
  position: relative;
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 90px) 16px;
  border-top: 1px solid rgba(255, 0, 0, 0.55);
}

/* =========================================================
   UFC RANKINGS HERO
========================================================= */

.rankings-heading-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: min(940px, 100%);
  margin: 0 auto;

  padding:
    clamp(48px, 7vw, 76px)
    clamp(20px, 5vw, 46px)
    clamp(38px, 5vw, 52px);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 215, 0, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 0, 0, 0.14),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #050505 0%,
      #170000 50%,
      #630000 100%
    );

  border: 1px solid rgba(255, 0, 0, 0.42);
  border-radius: 22px 22px 0 0;

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    0 0 42px rgba(255, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  text-align: center;
}

/* Subtle WAR texture */

.rankings-heading-panel::before {
  content: "";

  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 10px
    );

  pointer-events: none;
}

/* Red spotlight */

.rankings-heading-panel::after {
  content: "";

  position: absolute;
  z-index: -1;
  top: -170px;
  left: 50%;

  width: min(620px, 90%);
  height: 330px;

  background:
    radial-gradient(
      circle,
      rgba(255, 0, 0, 0.22),
      transparent 68%
    );

  filter: blur(26px);
  transform: translateX(-50%);
  pointer-events: none;
}

/* =========================================================
   KICKER
========================================================= */

.rankings-kicker {
  position: relative;
  z-index: 1;

  margin: 0 0 18px;

  color: #ffd700;

  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(0.78rem, 1.7vw, 0.92rem);
  font-weight: 800;

  letter-spacing: 0.32em;
  line-height: 1.4;

  text-transform: uppercase;
}

/* =========================================================
   MAIN UFC RANKINGS TITLE
========================================================= */

.ufcrankings {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: clamp(12px, 2.8vw, 25px);

  margin: 0;
  padding: 0;

  background: none;

  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(3.7rem, 10vw, 7rem);
  font-weight: 400;

  letter-spacing: 0.035em;
  line-height: 0.86;

  text-transform: uppercase;
}

.ufcrankings-red {
  color: #ff1818;

  text-shadow:
    0 4px 0 #680000,
    0 0 28px rgba(255, 0, 0, 0.3);
}

.ufcrankings-white {
  color: #ffffff;

  text-shadow:
    0 4px 0 rgba(80, 80, 80, 0.75),
    0 0 22px rgba(255, 255, 255, 0.1);
}

.ufcrankings-divider {
  display: block;

  width: 3px;
  height: clamp(48px, 8vw, 78px);

  background:
    linear-gradient(
      180deg,
      transparent,
      #ff1a1a 25%,
      #ff1a1a 75%,
      transparent
    );

  box-shadow: 0 0 14px rgba(255, 0, 0, 0.35);
}

/* =========================================================
   RANKINGS TAGLINE
========================================================= */

.rankings-tagline {
  position: relative;
  z-index: 1;

  margin: 24px 0 0;

  color: #d4d4d4;

  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700;

  letter-spacing: 0.4em;
  line-height: 1.5;

  text-transform: uppercase;
}

/* =========================================================
   DIVISION HEADER
========================================================= */

.division-header {
  position: relative;

  width: min(906px, calc(100% - 34px));
  margin: 0 auto 30px;

  padding:
    clamp(32px, 5vw, 50px)
    clamp(20px, 5vw, 48px);

  color: #fff;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 0, 0, 0.07),
      transparent 44%
    ),
    linear-gradient(
      180deg,
      #121212 0%,
      #070707 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-bottom: 3px solid #ff1717;
  border-radius: 0 0 18px 18px;

  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  text-align: center;
}

.division-label {
  display: inline-block;

  margin-bottom: 12px;
  padding: 7px 13px;

  color: #ff2929;
  background: rgba(255, 0, 0, 0.08);

  border: 1px solid rgba(255, 0, 0, 0.28);
  border-radius: 999px;

  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 800;

  letter-spacing: 0.23em;
  line-height: 1;

  text-transform: uppercase;
}

.division-header .rankings {
  max-width: 760px;
  margin: 0 auto;

  color: #ffffff;

  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2.15rem, 5.6vw, 3.75rem);
  font-weight: 400;

  letter-spacing: 0.045em;
  line-height: 1;

  text-decoration: none;
  text-transform: uppercase;

  text-shadow:
    0 3px 0 rgba(70, 0, 0, 0.8),
    0 0 20px rgba(255, 0, 0, 0.14);
}

/* Small red accent below heading */

.division-header .rankings::after {
  content: "";

  display: block;

  width: 74px;
  height: 3px;

  margin: 18px auto 0;

  background: linear-gradient(
    90deg,
    transparent,
    #ff1717,
    transparent
  );

  box-shadow: 0 0 12px rgba(255, 0, 0, 0.38);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .rankings-heading-panel {
    padding: 42px 16px 34px;
  }

  .ufcrankings {
    gap: 10px;
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .ufcrankings-divider {
    width: 2px;
    height: 48px;
  }

  .rankings-kicker {
    letter-spacing: 0.22em;
  }

  .rankings-tagline {
    margin-top: 20px;
    letter-spacing: 0.24em;
  }

  .division-header {
    width: calc(100% - 10px);
    padding: 30px 18px;
  }

  .division-header .rankings {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

@media (max-width: 400px) {
  .ufcrankings {
    flex-direction: column;
    gap: 5px;
  }

  .ufcrankings-divider {
    width: 86px;
    height: 2px;

    background:
      linear-gradient(
        90deg,
        transparent,
        #ff1717,
        transparent
      );
  }
}
.rankings-source {
  margin: 16px 0 0;
  color: #969696;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rankings-source a {
  color: #5794ff;
  text-decoration: none;
}

.division-subtitle {
  max-width: 760px;
  margin: 27px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.division-header .division-subtitle p {
  margin: 0 0 17px;
  color: #c9c9c9;
  font-size: clamp(0.96rem, 2vw, 1.05rem);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.72;
}

.division-header .division-subtitle strong {
  color: #fff;
}

.division-header .division-subtitle .gold {
  color: #ffd700;
}

.division-header .division-subtitle .division-closing {
  margin-bottom: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.06rem, 2.3vw, 1.22rem);
  font-style: italic;
}

.rankings-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rankings-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 10px 15px;

  color: #fff;
  background: linear-gradient(180deg, #101010, #070707);

  border: 1px solid transparent;
  border-radius: 999px;

  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* Champion legend item */
.legend-item:has(.legend-swatch--champion) {
  border-color: #ffd700;

  box-shadow:
    0 0 14px rgba(255, 215, 0, 0.16),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

/* Contender legend item */
.legend-item:has(.legend-swatch--contender) {
  border-color: #ff1a1a;

  box-shadow:
    0 0 14px rgba(255, 0, 0, 0.16),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

.legend-swatch {
  width: 11px;
  height: 11px;

  flex-shrink: 0;

  border-radius: 3px;
}

.legend-swatch--champion {
  background: #ffd700;

  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.85);
}

.legend-swatch--contender {
  background: #ff1717;

  box-shadow:
    0 0 10px rgba(255, 0, 0, 0.85);
}

.legend-item:has(.legend-swatch--champion) span:last-child {
  color: #ffe55c;
}

.legend-item:has(.legend-swatch--contender) span:last-child {
  color: #ff6262;
}

.heavyweight-rankings-section .fighter-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
}

.heavyweight-rankings-section .fighters-scroll-container {
  flex: 1;
  min-width: 0;
  padding-top: 22px;
  padding-bottom: 22px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.heavyweight-rankings-section .fighters-scroll-container::-webkit-scrollbar {
  display: none;
}

.fighter-scroll-button {
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  color: #fff;
  background: #0b0b0b;
  border: 1px solid rgba(255, 0, 0, 0.55);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.fighter-scroll-button:hover {
  color: #fff;
  background: #ff0000;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .random-war-section,
  .heavyweight-rankings-section {
    width: min(100% - 18px, 1080px);
  }

  .history-body,
  #warStoryContainer,
  .division-header {
    width: calc(100% - 12px);
  }

  .history-body,
  .division-header {
    padding: 29px 20px;
  }

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

  .heavyweight-rankings-section {
    padding-right: 5px;
    padding-left: 5px;
  }

  .fighter-scroll-button {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 1.08rem;
  }
}

@media (max-width: 480px) {
  .random-war-section,
  .heavyweight-rankings-section {
    width: 100%;
    padding-right: 7px;
    padding-left: 7px;
  }

  .history-title-panel,
  .rankings-heading-panel {
    padding: 34px 13px 28px;
    border-radius: 14px 14px 0 0;
  }

  .history-tagline,
  .rankings-tagline {
    letter-spacing: 0.22em;
  }

  .history-body,
  #warStoryContainer,
  .division-header {
    width: calc(100% - 8px);
  }

  .history-body,
  .division-header {
    padding: 25px 16px;
    border-radius: 0 0 14px 14px;
  }

  .history-action {
    padding: 22px 16px;
  }

  .history-explore-button {
    width: 100%;
  }

  .rankings-legend {
    align-items: stretch;
    flex-direction: column;
  }

  .legend-item {
    justify-content: center;
  }

  .heavyweight-rankings-section .fighter-scroll-controls {
    gap: 4px;
  }

  .fighter-scroll-button {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}
