/* ===== FONTS ===== */
@font-face {
  font-family: "Final Fantasy Script Collection - Final Fantasy VII";
  src: url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/Final_Fantasy_VII.eot") format("eot"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/Final_Fantasy_VII.woff") format("woff"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/Final_Fantasy_VII.ttf") format("truetype"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/Final_Fantasy_VII.svg#FinalFantasyVII") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Pixel Cyr Normal";
  src: url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/pixcyr2.eot") format("eot"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/pixcyr2.woff") format("woff"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/pixcyr2.ttf") format("truetype"),
    url("https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/fonts/pixcyr2.svg#PixelCyr-Normal") format("svg");
  font-weight: normal;
  font-style: normal;
}

    /* Default cursor */
    body, html, textarea {
      cursor: url("https://pwnedby1400.neocities.org/images/Normal-Select.png"), crosshair;
    }

    /* Links default */
    a {
      cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
    }

    /* Links hover */
    a:hover {
      cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
    }

    /* Help elements */
    .help-cursor {
      cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
    }

    /* Interactive elements */
    .interactive {
      cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
    }
    
    .status {
            position: relative;
            display: inline-block;
            cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
            color: #0066cc;
            border-bottom: 1px dotted #666;
            margin: 0 2px;
            z-index: 1; 

        }
        
       
.status::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(200, 0, 0, 0.9);
    color: white;
    padding: 8px 15px; 
    border-radius: 6px;
    font-size: 28px; 
    white-space: pre-line;
    min-width: 200px; 
    max-width: 500px; 
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    line-height: 1.2; /* Tighter line spacing */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #ff0000;
    word-break: keep-all;
    margin-bottom: 10px; 
}

.status::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(200, 0, 0, 0.9) transparent transparent transparent; /* Red arrow */
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
        
        .status:hover::before,
        .status:hover::after {
            opacity: 0.8;
        }
      
        .status.haste {
            color: #b828ac;
        }
        
        .status.slowness {
            color:#b82828;
        }
        
        .status.staggered {
            color: #b82828;
        }
        
        .status.bleeding {
            color: #b82828;
        }
        
        .status.tracked {
            color: #4eb828;
        }
/* COPY ALL ABOVE INTO OTHER .CSS'S, ADD WHAT IS NEEDED. */


body {
  font-family: "Final Fantasy Script Collection - Final Fantasy VII";
  font-size: 40px;
  background-color: black;
  color: white;
  font-smooth: never;
  -webkit-font-smoothing: none;
  line-height: 20px;
  margin: 0;
  padding: 10px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}


.container.dark {
  background: rgba(151, 0, 0, 0.4);
  border: 2px solid white;
  border-radius: 8px;
  padding: 15px 15px 10px; 
  position: relative;
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.container.dark::before {
  position: absolute;
  display: block;
  content: '';
  height: calc(100% - 4px); 
  width: calc(100% - 4px);
  box-sizing: border-box;
  top: 2px;
  left: 2px;
  z-index: 0;
}

.container.dark p {
  margin: 5px 0 0; 
  padding: 0 10px; 
  position: relative;
  z-index: 1;
  font-size: 30px; 
  line-height: 1.2;
  text-shadow: 2px 2px black;
}

/* Header Links */
.header-links {
  display: flex;
  justify-content: center;
  gap: 15px; 
  margin-top: 5px; 
  position: relative;
  z-index: 2;
}

.header-links a {
  display: flex;
  color: red;
  cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 5px;
  margin: 4;
  font-size: 50px; 
  text-shadow: 2px 2px black;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.header-links a:hover {
  animation: glitch 0.3s linear infinite;
  cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
}

@keyframes glitch {
  0% {
    transform: translate(0);
    text-shadow: 2px 2px black, -2px -2px gray;
  }
  20% {
    transform: translate(-2px, 2px);
    text-shadow: -2px 2px black, 2px -2px gray;
  }
  40% {
    transform: translate(2px, -2px);
    text-shadow: 2px -2px black, -2px 2px gray;
  }
  60% {
    transform: translate(-2px, 0);
    text-shadow: -2px 0 black, 2px 0 gray;
  }
  80% {
    transform: translate(0, -2px);
    text-shadow: 0 -2px black, 0 2px gray;
  }
  100% {
    transform: translate(0);
    text-shadow: 2px 2px black, -2px -2px gray;
  }
}
/* Title */
.title {
  text-transform: uppercase;
  color: lightgrey;
  text-shadow: 4px 4px black;
  font-size: 50px;
  line-height: 4px;
  margin-left: 10px;
  margin-bottom: 0.5rem;
  margin-top: 0;
  -webkit-transform: scale(1, 0.5);
  position: relative;
  z-index: 1;
}

/* Input Field */
.field {
  margin: 0 1rem;
}

.input {
  border: 0px;
  width: 100%;
  padding-bottom: 0.5rem;
  height: 2px;
  font-family: "Final Fantasy Script Collection - Final Fantasy VII";
  font-size: 40px;
  background-color: transparent;
  background: linear-gradient(to right, white 0%, white 50%, transparent 50%, transparent 100%) repeat-x left bottom;
  background-size: 30px 2px;
  color: white;
}

/* Progress Bar */
.progress {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3px;
  position: relative;
  margin-bottom: 1rem;
  height: 12px;
  width: 100%;
}

.progress.primary > .bar {
  background-image: linear-gradient(to right, #B62F28, #E93F36);
  height: 12px;
}

.progress > .subtitle {
  position: absolute;
  top: 50%;
  left: 11.2%;
  transform: translateY(-50%);
  font-family: "Pixel Cyr Normal";
  background-color: rgba(0, 0, 0, 0.4);
  height: 20px;
  font-size: 20px;
  color: white;
  text-transform: uppercase;
  display: inline-block;
  line-height: 20px;
  -webkit-transform: scale(1.6, 0.8);
  padding: 0 5px;
}

.image-container {
  display: flex;
  gap: 20px;
  margin: 1rem;
}

.image-box, .info-box {
  flex: 1;
  border: 2px solid white;
  padding: 10px;
  background: rgba(151, 0, 0, 0.4);
  border-radius: 8px;
  position: relative;
}

.image-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.image-box img {
  display: block;
  margin: 0 auto;
  border: 3px solid #000000;
  border-radius: 10px;
  max-width: 90%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.info-box h3 {
  margin: 0;
  font-size: 40px;
  font-family: "Final Fantasy Script Collection - Final Fantasy VII";
  color: #AAA9AF;
  text-transform: uppercase;
}

.info-box p {
  font-size: 30px;
  font-family: "Final Fantasy Script Collection - Final Fantasy VII";
  line-height: 1.2;
  padding: 0 1rem 1rem 1rem;
  margin: 0;
  text-shadow: 2px 2px black;
}

.btn {
  position: relative;
  cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
  display: inline-block;
  text-transform: uppercase;
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-shadow: 2px 2px black;
  padding: 0 4rem;
  background: -webkit-linear-gradient(left, transparent, #B62F28, transparent) !important;
  border: 0px;
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, transparent, rgba(255, 100, 100, 0.5), transparent) !important;
  border-image-slice: 1;
  border-top: 3px solid;
}

.btn:hover {
  cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
  background: -webkit-linear-gradient(left, transparent, #E93F36, transparent) !important;
}

.buttons-row {
  display: flex;
  cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem;
  justify-content: center;
}

.buttons-row button {
  flex: 1 0 auto;
  min-width: 120px;
  height: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: url("https://pwnedby1400.neocities.org/images/Link-Select.png"), pointer;
}

.buttons-row button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://pwnedby1400.neocities.org/images/jx/jx1dx1_face.png');
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  z-index: -1;
}

.hidden-content {
  display: none;
  width: 100%;
  margin-top: 5px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 2px solid white;
}

.ability-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ability-text {
  flex: 1;
  min-width: 0;
}

.ability-image {
  flex-shrink: 0;
}

.ability-image img.left {
  display: block;
  width: 400px;
  height: 225px;
  border: 3px solid #8B0000;
  border-radius: 10px;
}