/* General Styles */
body,
html {
  font-family: Arial, sans-serif;
  background-color: #000000;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* 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;
}


.gold-gradient {
  background: linear-gradient(90deg, #d4af37, #f7e27c, #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, #f7e27c, #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-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;
}

#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 */
}
