*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .shema {
    max-width: 600px;
  }

  .skema {
    max-width: 600px;
    text-align: center;
  }

  .skema img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  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;
  }
  
  /* Розширені секції */

  .gallery {
    text-align: center;
    margin: 50px 0;
  }

  @media screen and (max-width: 700px) {
  .gallery {
    margin: 0;
  }  }

  .gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .gallery-item {
    max-width: 300px;
    text-align: center;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .gallery-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
  }
  section {
    padding: 40px 20px;
    text-align: center;
    background-color: #111;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards;
    position: relative;
    overflow: hidden;
  }
  
  /* Ефект мерехтіння для секцій */
  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;
  }
  
  /* Ефект сітки у футері */
  footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
  }

  .footer-info {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }
  .footer-info p {
    margin: 5px 0;
  }
  .social-links a {
    margin: 0 8px;
    color: #8d3535;
    transition: color 0.3s;
    text-shadow: 0 0 10px #3B0F0F;
    position: relative;
  }
  
  /* Ефект підкреслення для соціальних посилань */
  .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); }
  }



    /* Загальні стилі */
    * {
      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::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%;
    }

     /* Ефект цифрового дощу */
     .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;
    }
    
    /* Стилі для нових розділів "Про нас" та "Про конкурс" */
    .about-section, .contest-section {
      padding: 60px 20px;
      background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
      margin: 30px auto;
      max-width: 1200px;
      border-radius: 8px;
      box-shadow: 0 0 40px rgba(255, 0, 0, 0.2);
      position: relative;
      overflow: hidden;
      border: 1px solid #ff0000;
      animation: fadeIn 1s ease-out;
    }
    
    .about-section::before, .contest-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #8B0000, #ff0000, #8B0000);
      box-shadow: 0 0 10px #ff0000;
    }
    
    .section-title {
      font-family: 'Orbitron', sans-serif;
      color: #fff;
      font-size: 2.5em;
      margin-bottom: 30px;
      text-align: center;
      text-shadow: 0 0 15px #ff0000;
      animation: neonGlow 2s infinite alternate;
      position: relative;
    }
    
    .section-subtitle {
      font-family: 'Orbitron', sans-serif;
      color: #ff4d4d;
      font-size: 1.6em;
      margin: 40px 0 20px;
      text-shadow: 0 0 10px #ff0000;
      position: relative;
      display: inline-block;
    }
    
    .section-subtitle::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, #ff0000, transparent);
    }
    
    .section-content {
      font-size: 1.1em;
      line-height: 1.8;
      margin-bottom: 25px;
      color: #e7dcdc;
      position: relative;
      z-index: 1;
    }
    
    .highlight {
      color: #ff4d4d;
      font-weight: 500;
      text-shadow: 0 0 5px #ff0000;
    }
    
    .team-photo {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 30px auto;
      display: block;
      box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
      border: 2px solid #ff0000;
    }
    
    /* Таймлайн */
    .timeline {
      position: relative;
      max-width: 1000px;
      margin: 50px auto;
      padding: 0 20px;
    }
    
    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background: linear-gradient(to bottom, #8B0000, #ff0000, #8B0000);
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
      box-shadow: 0 0 15px #ff0000;
    }
    
    .timeline-item {
      padding: 10px 40px;
      position: relative;
      width: 50%;
      box-sizing: border-box;
      margin-bottom: 30px;
    }
    
    .timeline-item::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 25px;
      background-color: #ff0000;
      border-radius: 50%;
      top: 15px;
      z-index: 1;
      box-shadow: 0 0 15px #ff0000;
    }
    
    .left {
      left: 0;
      text-align: right;
    }
    
    .right {
      left: 50%;
      text-align: left;
    }
    
    .left::after {
      right: -12px;
    }
    
    .right::after {
      left: -12px;
    }
    
    .timeline-content {
      padding: 20px;
      background: rgba(30, 30, 30, 0.8);
      border-radius: 8px;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
      border: 1px solid #ff0000;
      position: relative;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .timeline-content:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    }
    
    .timeline-date {
      font-weight: bold;
      color: #ff4d4d;
      margin-bottom: 10px;
      font-family: 'Orbitron', sans-serif;
      text-shadow: 0 0 5px #ff0000;
    }

    /* Анімований бордер для всього сайту */
    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); }
    }

    /* Адаптивність */
    @media (max-width: 768px) {
      .timeline::after {
        left: 31px;
      }
      
      .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }
      
      .timeline-item::after {
        left: 18px;
      }
      
      .left, .right {
        left: 0;
        text-align: left;
      }
      
      .left::after, .right::after {
        left: 18px;
      }
      
      header h1 {
        font-size: 2em;
      }
      
      .hero h1 {
        font-size: 1.8em;
      }
      
      .section-title {
        font-size: 2em;
      }
    }

.c {
    margin-top: 15px;
  }

@media (max-width: 768px) {
  .matrix-rain {
    display: none;
  } }

