* {
      margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif;
    }
    body {
      background: #0b1120;
      color: white;
      overflow-x: hidden;
      position: relative;
    }
    nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background: #0b1120;
      z-index: 2;
      position: relative;
    }
    .logo img {
      height: 60px;
    }
    .nav-links {
      display: flex;
      gap: 1rem;
      list-style: none;
      margin: 0;
    }
    .nav-links li a {
      color: white;
      text-decoration: none;
      font-size: 1rem;
      font-weight: 500;
    }
    nav ul {
      display: flex;
      gap: 1.2rem;
      list-style: none;
    }
    nav ul li a {
      color: white;
      text-decoration: none;
      font-size: 0.95rem;
    }
    .btn {
      background: #9fef00;
      color: #000;
      padding: 0.5rem 1rem;
      font-weight: bold;
      border-radius: 5px;
      border: none;
      cursor: pointer;
    }
    .btn a {
      text-decoration: none;
      color: black;
    }
    .ctf-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 2rem;
      padding: 6rem 2rem;
      max-width: 1000px;
      margin: 0 auto;
      z-index: 2;
      position: relative;
      text-align: center;
    }
    .circle-link {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      overflow: hidden;
      background: #121c33;
      border: 2px solid #9fef00;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      position: relative;
      margin: 0 auto;
    }
    .circle-link:hover {
      transform: scale(1.1);
      box-shadow: 0 0 15px #9fef00;
    }
    .circle-link img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .machine-label {
      margin-top: 0.5rem;
      font-weight: 600;
      color: #9fef00;
      font-size: 1.1rem;
      user-select: none;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .menu-toggle span {
      height: 3px;
      background: white;
      margin: 4px 0;
      width: 25px;
    }
    @media (max-width: 768px) {
      .nav-links {
         display: none;
        flex-direction: column;
        background: #0b1120;
        position: absolute;
        top: 70px;
        right: 0;
        padding: 1rem;
        width: 200px;
        border-left: 1px solid rgba(255,255,255,0.1);
      }
      .nav-links.active {
    display: flex;
  }
       .menu-toggle {
        display: flex;
      }
      .ctf-grid {
        padding: 3rem 1rem;
        gap: 1.2rem;
      }
      .circle-link {
        width: 120px;
        height: 120px;
      }
      .machine-label {
        font-size: 1rem;
      }
    }

    canvas#bgCanvas {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
    }
    .blinking {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.circle-link:not(:first-of-type) img {
  filter: hue-rotate(0deg) saturate(5) brightness(0.8);
  border: 2px solid red;
}

.ctf-grid > div:not(:first-child) .machine-label {
  color: red;
}
.blinking .circle-link {
  width: 180px;
  height: 180px;
}
