/* ===== Reset & Box Sizing ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
     


@font-face {
font-family: 'Bios';
src: url('fonts/bios.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

/* ===== Body ===== */
body {
  font-family: 'Bios', monospace;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('other_materials/texture.png') no-repeat center center fixed;
  background-size: cover;
  color: #e0fdfb;
  line-height: 1.6;
  padding: 2rem;
  image-rendering: pixelated;
  user-select: none;
  text-rendering: geometricPrecision;
}
      
/* ===== Header ===== */
header {
  text-align: center;
  margin-top: 2rem;
}
header h1 {
  text-shadow: 0 0 8px #00ffda;    /* glow effect */
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #00ffda;
}
header p.tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: #00ffda;
}


/* ===== Section Styles ===== */
    section {
      max-width: 800px;
      margin: 2rem auto;
      background-color: rgba(14, 14, 14, 0.8); /* semi-transparent black */
      padding: 1rem 1.5rem;
      border-left: 4px solid #00d1b2;
      box-shadow: 0 0 10px #00d1b250;
    }
    section h2 {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
      color: #00d1b2;
    }
    section p, section ul {
      font-size: 1rem;
      color: #e0fdfb;
    }


/* ===== Footer ===== */
    footer {
  position: fixed;       /* stay fixed in viewport */
  bottom: 0;             /* align to bottom */
  left: 0;
  width: 100%;           /* full width */
  text-align: center;
  font-size: 0.9rem;
  color: #6cc7bc;
  background-color: rgba(14, 14, 14, 0.8); /* semi-transparent background */
  border-top: 4px solid #00d1b2;          /* optional top border */
  padding: 1rem 0;
  box-shadow: 0 -0 10px #00d1b250;
  z-index: 999;          /* above other content */
}

      
/* Top-right page buttons */
.page-buttons {
  position: fixed;      /* stay fixed while scrolling */
  top: 1rem;            /* distance from top */
  right: 1rem;          /* distance from right */
  display: flex;
  flex-direction: row; /* stacked vertically */
  gap: 1rem;            /* space between buttons */
  z-index: 9999;        /* stay above other elements */
}
.page-buttons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 0.2rem;
  transition: none;
}
.page-buttons a img {
  width: 96px;              /* adjust size as needed */
  height: 96px;
  image-rendering: pixelated; /* keep crisp pixels */
}
.page-buttons a:hover img {
  transform: translateY(-3px) scale(1.05);   /* lift effect */
  filter: drop-shadow(0 0 12px #00d1b2); /* teal glow */
}

/* Top-left Home Button */
.home-button {
  position: fixed;      /* stays visible while scrolling */
  top: 1rem;
  left: 1rem;
  z-index: 9999;        /* above content */
}
.home-button a {
  display: block;
  position: relative;   /* isolates hover transform */
  background-color: transparent;
  padding: 0.2rem;
}
.home-button a img {
  width: 96px;              /* adjust size */
  height: 96px;
  image-rendering: pixelated; /* crisp pixels */
  display: block;
  will-change: transform;     /* optimize hover transform */
}
.home-button a:hover img {
  transform: translateY(-2px) scale(1.05);           /* lift effect */
  filter: drop-shadow(0 0 12px #00d1b2); /* teal glow */
}


      
/* ===== Video Section ===== */
    .video {
      display: flex;
      justify-content: center;
      margin: 2rem 0;
    }
    .video iframe {
      width: 100%;
      max-width: 640px;
      height: 360px;
      border: none;
      border-radius: 12px;
      box-shadow: 0 0 20px #00d1b250;
    }

/* ===== Top-left Home Button ===== */
    .home-button {
      position: fixed;
      top: 1rem;
      left: 1rem;
      z-index: 9999;
    }
    .home-button a {
      display: block;
      position: relative;
      background-color: transparent;
      padding: 0.2rem;
    }
    .home-button a img {
      width: 96px;
      height: 96px;
      image-rendering: pixelated;
      display: block;
      will-change: transform;
    }
    .home-button a:hover img {
      transform: translateY(-2px) scale(1.05);
      filter: drop-shadow(0 0 12px #00d1b2);
    }

/* ===== Top-right Page Buttons ===== */
    .page-buttons {
      position: fixed;
      top: 1rem;
      right: 1rem;
      display: flex;
      flex-direction: row;
      gap: 1rem;
      z-index: 9999;
    }
    .page-buttons a {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      background-color: transparent;
      padding: 0.2rem;
    }
    .page-buttons a img {
      width: 96px;
      height: 96px;
      image-rendering: pixelated;
    }
    .page-buttons a:hover img {
      transform: translateY(-3px) scale(1.05);
      filter: drop-shadow(0 0 12px #00d1b2);
    }



/* ===== Social Icons ===== */
    .socials {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 6rem;
    }
    .socials a {
      width: 150px;
      height: 150px;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      background-color: transparent;
      padding: 0.2rem;
    }
    .socials a img {
      width: 150px;
      height: 150px;
      image-rendering: pixelated;
    }
    .socials a:hover img {
      transform: translateY(-3px) scale(1.05);
      filter: drop-shadow(0 0 10px #00d1b2);
    }
      
/* ===== Footer ===== */
  footer {
  position: fixed;       /* stay fixed in viewport */
  bottom: 0;             /* align to bottom */
  left: 0;
  width: 100%;           /* full width */
  text-align: center;
  font-size: 0.9rem;
  color: #6cc7bc;
  background-color: rgba(14, 14, 14, 0.8); /* semi-transparent background */
  border-top: 4px solid #00d1b2;          /* optional top border */
  padding: 1rem 0;
  box-shadow: 0 -0 10px #00d1b250;
  z-index: 999;          /* above other content */
}

/* Base Lore Box */
.lore-box {
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  border-left: 4px solid #00d1b2;  /* default */
  border-radius: 8px;
  box-shadow: 0 0 10px #00d1b250;
  gap: 1rem;
  background-color: rgba(14, 14, 14, 0.8);
}

/* Image inside lore box */
.lore-image img {
  width: 128px;
  height: auto;
  image-rendering: pixelated;
  border-radius: 4px;
}

/* Text inside lore box */
.lore-text {
  flex: 1;
  color: #e0fdfb;
}

.lore-text h2 {
  margin-bottom: 0.5rem;
}

/* ===== Individual Neuranet Styles ===== */

.lore-box.nemex {
  border-left-color: #00ffda;          /* blue border */
  box-shadow: 0 0 12px #00ffda50;     /* blue glow */
}
.lore-box.nemex h2 {
  color: #00ffda;
}

.lore-box.canadia {
  border-left-color: #ff6b6b;          /* red border */
  box-shadow: 0 0 12px #ff6b6b50;     /* red glow */
}
.lore-box.canadia h2 {
  color: #ff6b6b;
}

.lore-box.feral {
  border-left-color: #ffffff;          /* red border */
  box-shadow: 0 0 12px #ffffff50;     /* red glow */
}
.lore-box.feral h2 {
  color: #ffffff;
}

.lore-box.smile {
  border-left-color: #ff00ff;          /* red border */
  box-shadow: 0 0 12px #ff00ff50;     /* red glow */
}
.lore-box.smile h2 {
  color: #ff00ff;
}

/* You can add more Neuranets with unique colors */

/* ===== Main Cast Text ===== */
.main-cast-title {
  font-family: 'Bios', monospace;  /* pixelated font */
  font-size: 2rem;
  color: #00d1b2;                  /* teal */
  margin: 2rem 0 1rem 0;           /* spacing above/below */
  text-align: center;                 /* align left above boxes */
}