@charset "UTF-8";
  
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/*
Fade in from left animation
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-150px); }
  to { opacity: 1; transform: translateX(0); }
}
*/


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

body {
  background-color: #24252A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: white;
}

li, a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500px;
  font-size: 16px;
  color: #edf0f1;
  text-decoration: none;
}

.logo {
  width: 140px;
  height: 140px;
  cursor: pointer;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 10px;
  position: relative;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav-links li a {
  transition: all 500ms ease 0s;
}

.nav-links li a:hover {
  color: #33d0ac;
  background-color: rgb(65, 64, 64);
  padding: 0px 30px;
}


.divider {
  position: absolute;
  margin-bottom: 16px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #bc6ef0
}

.container {
  max-width: 1450px; /* The maximum width your content will grow to */
  margin: 0 auto;    /* "0" for top/bottom, "auto" for left/right (centers it) */
  padding: 0 1rem;   /* "0" for top/bottom, "1rem" for left/right */
}

.luban-banner {
  position: relative;
  height: 100vh; /* Fixed viewport height */
  min-height: 400px;
  max-height: 700px;
  background-image: url('../images/Luban_No.7_epic-skin.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 500ms ease-in-out forwards;
}

.luban-splash {
  display: none;
}

/* This add the fade at the bottom (huge btw)*/
.luban-banner::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%; /* Adjust this to control how much of the image fades */
  background: linear-gradient(to top, #2b2c30 0%, transparent 100%);
  pointer-events: none; /* This ensures clicks pass through to the image */
}

.text-overlay {
  text-align: center;
  color: white;
  position: absolute;
  top: 80%; /* Always center vertically */
  left: 50%;
  transform: translate(-50%, -50%); /* True center */
  z-index: 2;
  width: 90%; /* Prevent overflow */
  padding: 20px;
  background-color: #21212213;
}

.text-overlay h1 {
  font-size: clamp(2rem, 8vw, 4.25rem);
  text-shadow: 0px 0px 1em rgba(0, 0, 0, 0.8);
  font-weight: bold;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  line-height: 1.2;
}

.text-overlay p {
  font-size: clamp(1.2rem, 4vw, 3rem);
  text-shadow: 0px 0px 1em rgba(0, 0, 0, 0.8);
  font-weight: bold;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  line-height: 1.3;
}

.introduction-section h2 {
  color: white;
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.introduction-section h2::before {
   content: "";
   display: inline-block;
   width: 40px;
   height: 20px;
   background-color: #a8f888;
   clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
   margin-right: 10px;
}

.introduction-section h2::after {
  content: '';
  display: inline-block;
  background-color: #a8f888;
  height: 4px;
  flex: 1;
  margin-left: 10px;
}

p {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.9em;
  margin-bottom: 15px;
}

h2::before {
   content: "";
   display: inline-block;
   width: 40px;
   height: 25px;
   background-color: #a8f888;
   margin-right: 10px;
}
 
h2::after {
  content: '';
  display: inline-block;
  background-color: #a8f888;
  height: 4px;
  flex: 1;
  margin-left: 10px;
}

/* ===== MATCHUP SECTION ===== */
.matchup-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  justify-content: center;
  margin: 30px 0;
  padding: 0 20px;
}

.matchup-link {
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.matchup-link:hover {
  transform: translateY(-5px);
  background: rgba(168, 248, 136, 0.1);
  box-shadow: 0 8px 20px rgba(168, 248, 136, 0.2);
}

.matchup-link img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.matchup-link:hover img {
  border-color: #a8f888;
  transform: scale(1.05);
}

.hero-name-label {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.matchup-link:hover .hero-name-label {
  color: #a8f888;
}

/* Section Header */
.matchup-section-header {
  text-align: center;
  margin: 30px 0 20px 0;
  font-size: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #bc6ef0;
  grid-column: 1 / -1;
}

.matchup-section-header::before,
.matchup-section-header::after {
  content: '';
  display: inline-block;
  background-color: #bc6ef0;
  height: 4px;
  flex: 1;
}

/* ===== MATCHUP EXPLANATION ===== */
.matchup-explanation {
  margin-top: 30px;
  padding: 25px;
  background: rgba(30, 30, 35, 0.95);
  border-radius: 16px;
  border: 2px solid #bc6ef0;
  box-shadow: 0 8px 32px rgba(188, 110, 240, 0.2);
}

.matchup-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-name {
  font-size: 30px;
  font-weight: 700;
  color: #cdfdb9;
  margin: 0;
}

.matchup-summary {
  font-size: 16px;
  margin: 12px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.matchup-summary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.neutral-matchup {
  color: #ffb347;
  border-left-color: #ffb347;
}

.positive-matchup {
  color: #00d42a;
  border-left-color: #6bcf7f;
}

.negative-matchup {
  color: #ff6b6b;
  border-left-color: #ff6b6b;
}

.explanation-text {
  font-size: 23px;
  line-height: 1.6;
  color: #ffffff;
  margin-top: 20px;
  padding: 16px;
  background: rgba(163, 74, 237, 0.08);
  border-radius: 8px;
  border-left: 4px solid #7035ca;
}

/* ===== GENERAL THREATS SECTION ===== */
.threats-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #bc6ef0;
}

.threats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
}

.threat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.threat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(8px);
}

.threat-item.high {
  border-left: 4px solid #ff6b6b;
  background: linear-gradient(90deg, rgba(255, 107, 107, 0.1), rgba(255, 255, 255, 0.05));
}

.threat-item.medium {
  border-left: 4px solid #ffd93d;
  background: linear-gradient(90deg, rgba(255, 217, 61, 0.1), rgba(255, 255, 255, 0.05));
}

.threat-item.low {
  border-left: 4px solid #6bcf7f;
  background: linear-gradient(90deg, rgba(107, 207, 127, 0.1), rgba(255, 255, 255, 0.05));
}

.threat-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.threat-item.high .threat-image {
  border-color: #ff6b6b;
}

.threat-item.medium .threat-image {
  border-color: #ffd93d;
}

.threat-item.low .threat-image {
  border-color: #6bcf7f;
}

.threat-info {
  flex: 1;
  font-size: 2em;
}

.threat-name {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.threat-reason {
  color: #b0b0b0;
  font-size: 1.5em;
  line-height: 1.4;
}

.threat-severity {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
  flex-shrink: 0;
}

.threat-item.high .threat-severity {
  background: #ff6b6b;
  color: #fff;
}

.threat-item.medium .threat-severity {
  background: #ffd93d;
  color: #333;
}

.threat-item.low .threat-severity {
  background: #6bcf7f;
  color: #fff;
}

.hero-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column nowrap;
  position: relative;
}

.select-hero {
  font-size: 69px; /* lol */
  font-weight: bold;
  text-shadow: 0 0 1em rgba(0, 0, 0, 0.334);
  border-top: 4px solid #c87df0;
}

.hero-selector img {
  margin-top: 20px;
  max-width: 600px;
}

.new-release {
  background-color: rgb(243, 94, 94);
  color: rgb(255, 255, 255);
  padding: clamp(3px, 1vw, 5px) clamp(12px, 3vw, 20px);
  font-size: clamp(14px, 3vw, 30px);
  border-radius: 50px;
  font-weight: 800;
  font-style: italic;
  margin-top: -20px; /* Adjust based on your layout */
  z-index: 2;
  /* Remove absolute positioning */
  position: static;
  margin-left: 0;
}

.hero-name {
  margin-top: 30px;
  font-size: 39px;
  font-weight: normal;
  text-shadow: 0 0 1em rgba(0, 0, 0, 0.334);
  margin-bottom: 20px;
  color: white
  ;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .matchup-section {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 25px;
    padding: 0 15px;
  }
  
  .matchup-link img {
    width: 80px;
    height: 80px;
  }
  
  .hero-name-label {
    font-size: 12px;
  }
  
  .matchup-explanation {
    padding: 20px;
    margin-top: 25px;
  }
  
  .matchup-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .hero-name {
    font-size: 20px;
  }
  
  .threat-item {
    padding: 12px;
    gap: 15px;
  }
  
  .threat-image {
    width: 50px;
    height: 50px;
  }
  
  .matchup-section-header {
    font-size: 28px;
    margin: 30px 0 25px 0;
  }
}

@media (max-width: 480px) {
  .matchup-section {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 20px;
  }
  
  .matchup-link img {
    width: 70px;
    height: 70px;
  }
  
  .hero-name-label {
    font-size: 11px;
  }
  
  .threat-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .threat-severity {
    margin-left: 0;
  }
}