*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    background-color: #000;
    font-family: 'Roboto', sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
  }
  a {
    text-decoration: none;
    color: inherit;
  }

  /* Анімації */
  @keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px #990F0F; }
    50% { transform: scale(1.03); box-shadow: 0 0 25px #ff0000; }
    100% { transform: scale(1); box-shadow: 0 0 15px #990F0F; }
  }

  @keyframes neonGlow {
    0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
    50% { text-shadow: 0 0 15px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000; }
    100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
  }

  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }

  @keyframes scanline {
    0% { background-position: 0 -1000px; }
    100% { background-position: 0 0; }
  }

  /* Хедер */
  header {
    background: linear-gradient(45deg, #8B0000, #ff0000, #990F0F, #8B0000,#ce1010);
    background-size: 300% 300%;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    animation: gradientFlow 8s ease infinite, fadeIn 1.5s ease-out;
    position: relative;
    overflow: hidden;
  }
  
  /* Ефект мерехтіння після хедера */
  header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      0deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 2%,
      transparent 4%,
      transparent 100%
    );
    background-size: 100% 8px;
    animation: scanline 6s linear infinite;
    pointer-events: none;
  }

  header h1 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 2.8em;
    animation: neonGlow 2s infinite alternate, float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
  }
  
  /* Ефект частинок */
  .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .particle {
    position: absolute;
    background: rgba(255, 0, 0, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
  }

  nav {
    margin-top: 10px;
    position: relative;
    z-index: 1;
  }
  nav a {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    margin: 0 15px;
    font-size: 1.1em;
    position: relative;
    transition: color 0.3s ease;
  }
  nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff0000;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
  }
  nav a:hover::after {
    width: 100%;
  }
  
  /* Герой секція */
  .hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(90deg, #444, #222 ,  #2C2C2C ,  #222 );
    animation: fadeIn 1.5s ease-out;
    position: relative;
    overflow: hidden;
  }
  
  /* Ефект цифрового дощу */
  .matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2em;
    text-shadow: 0 0 30px #ff0000;
    margin-bottom: 20px;
    animation: neonGlow 2s infinite alternate;
  }
  .hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #fff;
    animation: fadeIn 2s ease-out;
  }
  .cta-button {
    background: #db0909;
    color: #ffe6e6;
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    box-shadow: 0 0 15px #990F0F;
    transition: background 0.3s, transform 0.3s;
    animation: pulse 2s infinite, fadeIn 2.5s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }


  .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
  }

  .cta-button:hover::before {
    animation: shine 0.6s ease-out forwards;
  }

  @keyframes shine {
    0% {
      left: -100%;
      opacity: 0;
    }
    20% {
      opacity: 0.8;
    }
    50% {
      opacity: 1;
    }
    80% {
      opacity: 0.6;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }

  .cta-button:hover {
    background: #8B0000;
    transform: scale(1.05);
    animation: pulse 1s infinite;
  }

  /* Розширені секції */
  section {
    padding: 40px 20px;
    text-align: center;
    background-color: #111;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards;
    position: relative;
    overflow: hidden;
  }

  .team-section {
    padding: 60px 20px;
    background-color: #120000;
    position: relative;
}



.team-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: #ff3333;
    text-shadow: 0 0 10px #ff0000;
    margin-bottom: 40px;
    animation: neonGlow 1.5s infinite alternate;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: rgba(30, 0, 0, 0.7);
    border: 1px solid #ff0000;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    width: 250px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #ff0000;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #ff3333;
    box-shadow: 0 0 15px #ff0000;
}

.team-member h3 {
    color: #ff6666;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.team-member p {
    color: #e21111;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Стилі для менторів */
.mentors-board {
    margin-top: 60px;
}

.mentor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mentor-card {
    background: rgba(30, 0, 0, 0.7);
    border: 1px solid #ff3333;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.2);
    backdrop-filter: blur(5px);
    width: 250px;
}

.mentor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #ff3333;
}

.mentor-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #ff6666;
    box-shadow: 0 0 15px #ff3333;
}

.mentor-card h3 {
    color: #d82e2e;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.mentor-card p {
    color: #aa1212;
    font-size: 0.95em;
    line-height: 1.5;
}

  
  /* Ефект мерехтіння для секцій */
  section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    animation: gradientFlow 3s linear infinite;
  }

  section:nth-child(1) { animation-delay: 0.3s; }
  section:nth-child(2) { animation-delay: 0.6s; }
  section:nth-child(3) { animation-delay: 0.9s; }

  section h2 {
    font-family: 'Orbitron', sans-serif;
    color: #e6cdcd;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff0000;
    animation: neonGlow 2s infinite alternate;
  }
  section p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1em;
    color: #e7dcdc;
  }
  
  /* Футер */
  footer {
    background: linear-gradient(to top, #330000, #1a0000);
    text-align: center;
    padding: 40px 20px;
    color: #ccc;
    animation: fadeIn 1.5s ease;
    border-top: 2px solid #800000;
  }
  .social-links a {
    color: #ff6666;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  .social-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff0000;
  }
  
  /* Ефект підкреслення для соціальних посилань */
  .social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s ease;
  }
  
  .social-links a:hover::after {
    width: 100%;
  }

  .social-links a:hover {
    color: #f5e7e7;
    animation: neonGlow 1s infinite alternate;
  }
  
  /* Анімований бордер для всього сайту */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 1000;
    animation: borderGlow 4s infinite linear;
  }
  
  @keyframes borderGlow {
    0% { border-color: rgba(255, 0, 0, 0.1); box-shadow: 0 0 10px rgba(255, 0, 0, 0.1); }
    50% { border-color: rgba(255, 0, 0, 0.4); box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
    100% { border-color: rgba(255, 0, 0, 0.1); box-shadow: 0 0 10px rgba(255, 0, 0, 0.1); }
  }

  .c {
    margin-top: 15px;
  }

  @media (max-width: 768px) {
  .matrix-rain {
    display: none;
  }
}

