body {
    font-family: 'Share Tech Mono', monospace;
    background: linear-gradient(145deg, #1a0b26, #2c1340);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #f2eaff;
    line-height: 1.6;
    padding-bottom: 4rem;
    z-index: 1;
  }

.site-header {
  position: relative;          /* for .ascii-bg positioning */
  width: 100%;                 /* fill the viewport */
  display: flex;               /* flex to center its children */
  justify-content: center;     /* horizontal centering */
  align-items: center;         /* vertical centering */
  padding: 2rem 1rem 1rem;     /* your original padding */
  background-color: transparent;
  text-align: center;          /* fallback for inline text */
  z-index: 1;
}

.site-logo {
  position: relative;          /* sits above the ASCII art */
  z-index: 2;
  width: 200px;                /* moved from header img */
  display: block;
}

.ascii-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  
  font-family: monospace, monospace;
  white-space: pre;            /* preserve ASCII spacing/line-breaks */
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.1);    /* watermark effect */
  pointer-events: none;         /* let clicks pass through */
  user-select: none;            /* unselectable */
}

  
header {
  position: relative;          /* for .ascii-bg positioning */
  display: flex;               /* turn on flexbox */
  justify-content: center;     /* horizontal centering */
  align-items: center;         /* vertical centering if needed */
  padding: 2rem 1rem 1rem;
  background-color: transparent;
  text-align: center;
  z-index: 1;
}

  
  header img {
    width: 200px;
  }
  
  header h1 {
    font-size: 2.5rem;
    color: #cfaaff;
    text-shadow: 0 0 5px #a15eff;
  }
  
  nav {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 2rem;
    background-color: #2a1042;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(128, 0, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 2rem;
    max-width: 600px;
    z-index: 1;
  }
  
  nav a {
    color: #dab6ff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  
  nav a:hover {
    color: #e5b137;
    transform: scale(1.05);
  }
  
  main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 2rem;
    z-index: 1;
  }
  
  section {
    padding: 2rem;
    background: #1f0d2f;
    border-left: 6px solid #a15eff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(161, 94, 255, 0.2);
    transition: transform 0.3s ease;
    z-index: 1;
  }
  
  section:hover {
    transform: translateY(-4px);
  }
  
  section h2 {
    margin-bottom: 1rem;
    color: #e5b137;
    font-size: 1.6rem;
  }
  
  section p, section ul {
    color: #f2eaff;
  }
  
  .team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: #2c1b3f;
    padding: 1rem;
    border-radius: 10px;
    z-index: 1;
  }
  
  .team-member img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #fff;
  }
  
  .team-member div {
    flex: 1;
  }
  
  .team-member strong {
    display: block;
    color: #e3c2ff;
    font-size: 1.2rem;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.7rem;
    color: #a570d8;
    background-color: #0f0019;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
  }
  
  .code-rain-char {
    position: fixed;
    top: -2rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.07);
    font-family: monospace;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    z-index: 0;
  }
  

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0.1;
  }
  100% {
    transform: translateY(120vh);
    opacity: 0;
  }
}
  
.fade-in {
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.ctf-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.ctf-table th,
.ctf-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ctf-table th {
  color: #facc15;
  font-weight: 600;
  font-size: 1rem;
}

.ctf-table td a {
  color: #60a5fa;
  text-decoration: none;
}

.ctf-table td a:hover {
  text-decoration: underline;
}
