* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: black;
  color: #e5e5e5;
  font-family: 'JetBrains Mono', monospace;
  overflow-x: hidden;
}

/* ================= BOOT SCREEN ================= */
#boot {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
}

#boot.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

#boot-text {
  white-space: pre-wrap;
  max-width: 90%;
}

/* ================= VIDEO BACKGROUND ================= */
#bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.18);
  z-index: -3;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* ================= CANVAS ================= */
#cyber {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* ================= TERMINAL HERO ================= */
.terminal-hero {
  text-align: center;
  margin-top: 70px;
  font-family: 'VT323', monospace;
  font-size: 1.4rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* ================= MAIN BOX ================= */
.main-box {
  max-width: 760px;
  margin: 60px auto 120px;
  padding: 40px 25px;
  background: rgba(0,0,0,0.75);
  border: 1px solid #1a1a1a;
  box-shadow: 0 0 40px rgba(255,255,255,0.05);
  border-radius: 14px;
  text-align: center;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 1.5s ease, transform 1.5s ease;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================= LOGO ================= */
.logo img {
  width: 160px;
  border-radius: 12px;
  border: 2px solid #111;
  box-shadow: 0 0 25px rgba(255,255,255,0.15);
  margin-bottom: 20px;
}

/* ================= TEXT ================= */
h1 {
  font-family: 'VT323', monospace;
  font-size: 3rem;
  color: #ffffff;
}

.subtitle {
  color: #aaa;
  margin-bottom: 20px;
}

.divider {
  width: 60%;
  height: 1px;
  margin: 20px auto;
  background: linear-gradient(
    90deg,
    transparent,
    #ffffff,
    transparent
  );
}

.description {
  color: #cfcfcf;
  line-height: 1.6;
}

/* ================= TERMINAL BOX ================= */
.terminal-box {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0,0,0,0.9);
  border: 1px solid #1a1a1a;
  color: #ffffff;
  font-family: 'VT323', monospace;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.04);
}

/* ================= SIDE TEXT ================= */
.side-text {
  position: fixed;
  bottom: -120vh;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  opacity: 0;
  color: #666;
  pointer-events: none;
}

.side-text.left {
  left: 10px;
  animation: scroll 20s linear infinite;
}

.side-text.right {
  right: 10px;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from { transform: translateY(0) rotate(180deg); }
  to { transform: translateY(-220vh) rotate(180deg); }
}

/* ================= SHOW SITE ================= */
body.loaded #bg-video,
body.loaded #cyber,
body.loaded .terminal-hero,
body.loaded .main-box,
body.loaded .side-text {
  opacity: 1;
  transform: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .main-box { margin: 40px 10px; }
}

.staff-section {
  max-width: 900px;
  margin: 80px auto 140px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: 'VT323', monospace;
}

.staff-row {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  flex-wrap: wrap;
}

.center-row { justify-content: center; }

.staff-card {
  position: relative;
  background: rgba(0,0,0,0.85);
  border: 1px solid #111;
  border-radius: 12px;
  padding: 25px 18px;
  text-align: center;
  min-width: 140px;
  max-width: 200px;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.staff-card:hover { box-shadow:0 0 40px rgba(255,255,255,0.12); }

.staff-title { font-size:1rem; color:#777; letter-spacing:1px; margin-bottom:6px; }
.staff-name { font-size:1.8rem; color:#fff; margin-bottom:4px; }
.staff-role { font-size:1rem; color:#aaa; }

.scan-line {
  position: absolute;
  top:-100%;
  left:0;
  width:100%;
  height:100%;
  background: linear-gradient(transparent, rgba(255,255,255,0.12), transparent);
  animation: scan 4s linear infinite;
}

@keyframes scan { 0%{top:-100%} 100%{top:100%} }

/* TERMINAL POPUP */
#staff-terminal {
  position: fixed;
  inset:0;
  background: rgba(0,0,0,0.95);
  color:#fff;
  display:none;
  padding: 40px;
  font-family: 'VT323', monospace;
  z-index:9999;
}
#staff-terminal.active { display:block; }

.achievements-section {
  max-width: 800px;
  margin: 80px auto 120px;
  background: rgba(0,0,0,0.85);
  border: 1px solid #111;
  border-radius: 14px;
  padding: 35px 30px;
  box-shadow: 0 0 40px rgba(255,255,255,0.05);
  font-family: 'JetBrains Mono', monospace;
  color: #ccc;
  text-align: center;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.achievements-section:hover { box-shadow:0 0 50px rgba(255,255,255,0.12); }

.achievements-header {
  font-family: 'VT323', monospace;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.achievements-text {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
}

.achievements-terminal {
  font-family: 'VT323', monospace;  /* same as terminal */
  background: rgba(0,0,0,0.9);       /* dark terminal background */
  border: 1px solid #111;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.04);
  white-space: pre-wrap;
}

.stats-section {
  max-width: 900px;
  margin: 80px auto 140px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'VT323', monospace;
}

.server-stats, .bots-status {
  background: rgba(0,0,0,0.9);
  border: 1px solid #111;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 0 40px rgba(255,255,255,0.05);
  color: #fff;
  min-width: 350px;
  flex: 1;
  text-align: center;
}

.stats-header {
  font-family: 'VT323', monospace;
  font-size: 1.8rem;
  color: #404040; /* cyber green */
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.bot-terminal {
  background: rgba(0,0,0,0.95);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(0,255,0,0.05);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #404040;
}

.bot-terminal::before {
  content: "[~] Cyber Panel\n\n";
  display: block;
  color: #404040;
  margin-bottom: 6px;
}

.bots-panel {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0,0,0,0.9);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  font-family: 'VT323', monospace;
  color: #404040;
  text-align: left;
}

#bots-status {
  white-space: pre;
  font-size: 1.2rem;
  line-height: 1.5;
}

