
.index-glitch {
  color: #ff66cc;
  font-family: 'Share Tech Mono', monospace;
  animation: flicker 1.5s infinite alternate;
  text-align: center;
  margin-top: 1em;
}


@keyframes flicker {
  0%   { opacity: 1; }
  45%  { opacity: 0.7; }
  50%  { opacity: 0.3; transform: scale(1.01); }
  55%  { opacity: 0.6; }
  70%  { opacity: 1; }
  100% { opacity: 0.9; }
}

body {
  background-color: #000000;
  color: #ff66cc;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  padding: 2em;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 4px #ff66cc;
  overflow-x: hidden;
}

.side-nav-button {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1em;
  padding: 0.9em 1.4em;
  color: #33ffff;
  border: 2px solid #33ffff;
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  text-align: left;
  border-radius: 6px;
  text-shadow:
    0 0 3px #33ffff,
    0 0 6px #33ffff;
  box-shadow:
    0 0 6px #33ffff66,
    0 0 12px #33ffff33;
  transition: all 0.2s ease;
  animation: sidePulse 3s ease-in-out infinite;
}

.side-nav-button:hover {
  background-color: rgba(51, 255, 255, 0.1);
  color: #ffffff;
  transform: scale(1.04);
  text-shadow:
    0 0 6px #ffffff,
    0 0 12px #33ffff;
  box-shadow:
    0 0 12px #33ffffaa,
    0 0 24px #33ffff66;
}

body {
  background-color: #000000;
  color: #ff66cc;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  padding: 2em;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 4px #ff66cc;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Share Tech Mono', monospace;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c150ff;
  text-shadow:
    0 0 2px #c150ff,
    0 0 4px #c150ff,
    0 0 6px #c150ff,
    0 0 10px #00ffff,
    0 0 16px #00ffff;
  margin-bottom: 1em;
}

h1 { font-size: 2em; }
h2 { font-size: 2em; }
h3 { font-size: 2em; }

p {
  font-size: 1.2em;
  color: #33ffff;
  text-shadow: 0 0 4px #33ffff;
  margin-bottom: 2em;
  line-height: 1.6em;
}


ul {
  list-style: none;
  padding: 0;
  margin: 2em auto;
  max-width: 600px;
}

li {
  margin: 0.6em 0;
}


a {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  color: #33ffff;
  text-decoration: none;
  text-shadow: 0 0 6px #33ffff;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}


a:hover {
  background-color: #c150ff;
  color: #ffffff;
  border-color: #33ffff;
  text-shadow: 0 0 8px #ffffff;
  box-shadow: 0 0 12px #c150ff;
  transform: scale(1.05);
}


@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px #33ffff40; }
  50% { box-shadow: 0 0 12px #33ffff80; }
  100% { box-shadow: 0 0 6px #33ffff40; }
}




.button-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8em;
  margin-top: 2em;
  margin-bottom: 4em;
  transition: transform 0.3s ease;
}

.small-button {
  background-color: #111;
  border: 1px solid #ff66cc;
  color: #ff66cc;
  font-family: 'Share Tech Mono', monospace;
  text-shadow: 0 0 4px #ff66cc88;
  padding: 0.7em 1em;
  display: inline-block;
  transition: all 0.2s ease;
}

.small-button:hover {
  background-color: #ff66cc10;
  transform: scale(1.05) rotate(-0.5deg);
  box-shadow: 0 0 8px #ff66cc66;
}


.small-button:active {
  background-color: #c150ff;
  color: #ffffff;
  transform: scale(0.97);
}

.small-button:focus {
  outline: none;
  box-shadow: 0 0 12px #33ffff80, 0 0 24px #33ffff40;
}

@media (max-width: 600px) {
  .small-button {
    width: 90%;
    height: 55px;
    font-size: 1.1em;
    line-height: 55px;
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px #33ffff40; }
  50% { box-shadow: 0 0 12px #33ffff80; }
  100% { box-shadow: 0 0 6px #33ffff40; }
}


.monster-title-button {
  color: #ff66cc; 
  font-weight: bold;
}


a:active {
  background-color: #c150ff;
  color: #ffffff;
  box-shadow: 0 0 14px #c150ffaa;
  transform: scale(0.98);
}


a:visited {
  color: #33ffff;
  background-color: transparent;
  border: 2px solid #33ffff;
  box-shadow: none;
}

.jackhole-footer {
  text-align: center;
  background: black;
  color: #00ffff;
  font-family: monospace;
  padding: 1rem;
  font-size: 0.9rem;
}


.footer-line-pink {
  color: #ff66cc;
  text-shadow: 0 0 4px #ff66cc;
  margin: 0.15rem 0;
}

.footer-line-teal {
  color: #33ffff;
  text-shadow: 0 0 4px #33ffff;
  margin: 0.15rem 0;
}



.footer-link-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid #00ffff;
  border-radius: 4px;
  color: #00ffff;
  background: transparent;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 4px #00ffff;
  font-size: 0.85rem;
}



@keyframes spectralGlitch {
  0% {
    opacity: 0.6;
    transform: translateY(0px);
    text-shadow: 0 0 2px #ff00ff, 0 0 5px #ff00ff;
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
    text-shadow: 0 0 6px #ff00ff, 0 0 10px #ff99ff;
  }
  100% {
    opacity: 0.7;
    transform: translateY(0.5px);
    text-shadow: 0 0 4px #ff00ff, 0 0 8px #ff33cc;
  }
}


@media (max-width: 600px) {
  footer {
    font-size: 0.9em;
    padding: 1.5em;
  }
}


.index-page h1,
.index-page p,
.index-page a,
.index-page h3,
.index-page ul {
  position: relative;
  z-index: 1;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  49% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.02); filter: hue-rotate(20deg); }
  51% { opacity: 1; transform: scale(1); }
}

.index-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-attachment: fixed;
  z-index: 0;
  animation: flicker 5s infinite;
  pointer-events: none;
}



.normal-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/normal_normal.png');
}

.monster-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/monster_monster.png');
}

.cute-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/cute_cute.png');
}

.machine-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/specimen_unknown.png');
}

.ghost-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/ghost_ghost.png');
}

.void-page.index-page::before {
  background-image: url('https://thebalafiles.com/assets/images/void_void.png');
  
}