@font-face {
  font-family: 'vcrosdmono';
  src: url('vcrosdmono.ttf');
}

* {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  margin: 0;
  padding: 40px;
  background-color: rgba(10, 10, 10, 0.95);
  background-image: url('scarebg.png');
  background-size: cover;
  font-family: 'vcrosdmono', sans-serif;
  color: white;
  overflow-x: hidden;
  position: relative;
}

.title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 5px #000;
  z-index: 10;
  position: relative;
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  z-index: 10;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-box {
  position: relative;
  background-color: rgba(20, 20, 20, 0.95);
  border: 2px solid #1f1f1f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  transition: transform 0.3s ease;
}

.profile-box:hover {
  transform: scale(1.05);
  text-shadow: 0 0 5px white;
  border-color: #666;
}

.profile-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #555;
}

.profile-name {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px black;
}

.profile-desc {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 16px;
}

body:before, body:after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

body:before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('static.gif') center center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 9999;
}

body:after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); 
  pointer-events: none;
  z-index: 9998;
}

@keyframes Static {
  0% { background-position: 0px 0px; }
  100% { background-position: 0px 4px; }
}

.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.music-player span {
  margin: 0 20px;
}

.music-player button {
  background: #2C2C2C;
  border: none;
  color: white;
  padding: 8px 12px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 6px;
}

.music-player button:hover {
  background: #3C3C3C;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px #000;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content button {
  padding: 10px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  background: #2C2C2C;
  color: white;
  cursor: pointer;
}

.modal-content button:hover {
  background: #3C3C3C;
}

.archives-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #2C2C2C;
  color: #FFF;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'W95FA', sans-serif;
  text-decoration: none;
  font-size: 0.95rem;
  z-index: 998;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #000;
}

.archives-button:hover {
  background-color: #3C3C3C;
  border-color: #666;
  text-shadow: 0 0 5px white;
  transform: scale(1.05);
}

.telegram-icon {
  position: absolute;
  bottom: 5px;
  right: 12px;
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.telegram-icon img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
  filter: grayscale(100%) brightness(0.8);
  background: transparent;
}

.telegram-icon:hover img {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 6px var(--glow-color));
  transform: scale(1.1);
}

.instagram-icon {
  position: absolute;
  bottom: 5px;
  left: 12px;
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.instagram-icon img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
  filter: grayscale(100%) brightness(0.8);
  background: transparent;
}

.instagram-icon:hover img {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 6px var(--glow-color));
  transform: scale(1.1);
}

.dbin-icon {
  position: absolute;
  bottom: 5px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dbin-icon img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
  filter: grayscale(100%) brightness(0.8);
  background: transparent;
}

.dbin-icon:hover img {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 6px var(--glow-color));
  transform: scale(1.1);
}

#fake-terminal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: #00ff00;
  font-family: monospace;
  font-size: 1rem;
  padding: 20px;
  z-index: 99999;
}

.terminal-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  white-space: pre-line;
}

.terminal-text::after {
  content: "_";
  animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.glitch-text {
  font-weight: bold;
  color: white;
  position: relative;
  text-align: center;
  z-index: 1;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: white;
  clip: rect(0, 0, 0, 0);
}

.glitch-text.glitch::before {
  text-shadow: -2px 0 red;
  animation: glitchTop 0.3s ease-in-out infinite;
}

.glitch-text.glitch::after {
  text-shadow: 2px 0 cyan;
  animation: glitchBottom 0.3s ease-in-out infinite;
}

@keyframes glitchTop {
  0% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(-2px, -2px);
  }
  25% {
    clip: rect(5px, 9999px, 20px, 0);
    transform: translate(2px, 0);
  }
  50% {
    clip: rect(10px, 9999px, 40px, 0);
    transform: translate(-1px, 1px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}

@keyframes glitchBottom {
  0% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(2px, 2px);
  }
  25% {
    clip: rect(15px, 9999px, 25px, 0);
    transform: translate(-2px, 0);
  }
  50% {
    clip: rect(20px, 9999px, 60px, 0);
    transform: translate(1px, -1px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}
