@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;
  padding: 0 30px;
  background-color: rgb(65, 64, 64);
}


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

.container {
  max-width: 1450px; 
  margin: 0 auto;    
  padding: 0 1rem;   
}

.luban-banner {
  position: relative;
  height: 100vh; 
  min-height: 400px;
  max-height: 700px;
  background-image: url('../images/Luban_No.7_veggie_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%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  z-index: 2;
  width: 90%; 
  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;
}

.cat-throw {
  position: absolute;
  width: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 90px;
}

.bongo-cat {
  max-width: 50px;
  max-height: 50px;
  margin-left: 20px;
}

.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;
}

.img-build img {
  max-height: 1200px;
  max-width: 1200px;
  margin-top: 20px;
}

.img-build {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.build-section h1, .arcana-section h1 {
  text-align: center;
  margin-top: 20px;
  font-size: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.cat-smooch {
  max-width: 40px;
  max-height: 40px;
  margin-left: 10px;
  position: absolute;
}

h2 {
  display: flex;
  align-items: center;
  margin-top: 30px;
  font-size: 40px;
}

h2::before {
   content: "";
   display: inline-block;
   width: 40px;
   height: 25px;
   background-color: #a8f888;
   clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
   margin-right: 10px;
}
 
h2::after {
  content: '';
  display: inline-block;
  background-color: #a8f888;
  height: 4px;
  flex: 1;
  margin-left: 10px;
}

.red-arcana{
  color: #e85e5e;
}

.blue-arcana {
  color: #7878ff;
}

.green-arcana {
  color: rgb(133, 214, 133);
}

.red-side::before,
.red-side::after {
  background-color: #e85e5e;
}

.blue-side::before,
.blue-side::after {
  background-color: #5858f0;
}

.item-link {
    color: #a0ffc8;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

.tooltip, .arcana-tooltip {
  position: absolute;
  background: #242524;
  border: 1.5px solid #a7ecc9;
  border-radius: 8px;
  padding: 10px;
  max-width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  display: none;
  transform: none;
  left: 0;
  top: 0;
  max-width: min(250px, 90vw);
  word-wrap: break-word;
}


.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tooltip-header-arcana {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.arcana-link {
   text-decoration: underline;
   cursor: pointer;
   font-weight: bold;
}

.tooltip-img {
   width: 50px;
   height: 50px;
   margin-right: 27px;
   border: 1px solid #ccc;
   flex-shrink: 0;
}

.arcana-tooltip img {
  border: none;
  margin-left: 30px;
  margin-bottom: 6px;
}

.tooltip-name {
    font-weight: bold;
    color: white;
}

.tooltip-cost {
    color: #D4AF37;
    font-weight: bold;
}

.tooltip-effect {
    clear: both;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

.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 #FFA500;
}

.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; 
  z-index: 2;
  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;
}

.positive { color: rgb(156, 236, 156); }
.neutral { color: #ffffff; }
.physical-def { color: orange; }
.magical-def, .debuff { color: rgb(133, 206, 254); }
.physical-dmg { color: rgb(248, 95, 19); }
.physical-item { color: rgb(245, 94, 94); }
.magical-dmg { color: rgb(203, 118, 203);}