*{
    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;
    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;
  }

  /* Блок новин */
.news-section {
  padding: 40px 20px;
  background-color: #111;
  text-align: center;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #1a1a1a;
  margin: 30px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  transition: transform 1.75s;
  animation: fadeIn 1.5s ease-out;
}

.news-item:hover {
    transform: scale(1.05);
  }

.news-item img {
  width: 250px;
  height: auto;
  margin: 25px auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.news-content {
  max-width: 500px;
  text-align: left;
}

.news-content h3 {
  font-family: 'Orbitron', sans-serif;
  color: #ff9999;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #ff0000;
}

.news-content p {
  color: #e0e0e0;
  font-size: 1em;
  margin-bottom: 8px;
}

.news-content a {
  color: #ff5b5b;
}

.news-content a:hover {
  color: #e12525;
  transform: scale(1.05);
}

.news-date {
  font-size: 0.9em;
  color: #ff4d4d;
  margin-bottom: 5px;
  font-style: italic;
}

#load-more-btn {
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #e34848;
  color: #ffffff;
  border: none;
  font-family: 'Orbitron', sans-serif;
  border-radius: 5px;
  box-shadow: 0 0 15px #990F0F;
  transition: background 0.5s, transform 0.5s;
  animation: pulse 3s infinite;
  cursor: pointer;
}

  #load-more-btn:hover {
    background: #cd2929;
    transform: scale(1.1);
    animation: pulse 3s infinite;
  }

  /* Футер */
  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); }
  }
    
    .left {
      left: 0;
      text-align: right;
    }
    
    .right {
      left: 50%;
      text-align: left;
    }
    
    .left::after {
      right: -12px;
    }
    
    .right::after {
      left: -12px;
    }
    
    @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) {
      
      .left, .right {
        left: 0;
        text-align: left;
      }
      
      .left::after, .right::after {
        left: 18px;
      }
      
      header h1 {
        font-size: 2em;
      }
      
      .hero h1 {
        font-size: 1.8em;
      }

      .matrix-rain {
        display: none;
      }

      .news-content h3 {
        font-size: 1.2em;
      }
    }

.c {
    margin-top: 15px;
  }

