@font-face {
  font-family: 'Gilroy Semi Bold';
  src: url('Gilroy-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  background: white;
  font-family: 'Gilroy Semi Bold', sans-serif;
  color: black;
  overflow: hidden;
}

.loading-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Левая часть */
.left {
  position: relative;
  width: 200px;
  height: 200px;
}

.logo {
  position: absolute;
  top: 50%;
  left: 67%;
  transform: translate(-50%, -50%);
  height: 150px;
  z-index: 2;
}

.vertical-line {
  position: absolute;
  height: 150px;
  width: 3px;
  background: black;
  top: 50%;
  left: 115%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.horizontal-line {
  position: absolute;
  top: 33%;
  left: 115%;
  height: 3px;
  width: 220px;
  background: black;
  transform: translateY(-50%);
  z-index: 0;
}

.right {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.routing-line {
  opacity: 0.1;
  animation: flicker 2s linear infinite;
}

.routing-line:nth-child(2) { opacity: 1; animation-delay: 0s; }
.routing-line:nth-child(3) { animation-delay: 0.3s; }
.routing-line:nth-child(4) { animation-delay: 0.6s; }
.routing-line:nth-child(5) { animation-delay: 0.9s; }
.routing-line:nth-child(6) { animation-delay: 1.2s; }

@keyframes flicker {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 1; }
}

.highlight-line {
  color: #ff3c3c;
  text-shadow: 0 0 8px rgba(255, 60, 60, 0.8);
  animation: red-fade 2.5s ease-out forwards;
}

@keyframes red-fade {
  0% {
    color: #ff3c3c;
    text-shadow: 0 0 8px rgba(255, 60, 60, 0.8);
  }
  100% {
    color: black;
    text-shadow: none;
  }
}

/* Главная часть */
.main-content {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Чёрные блики */
.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 300%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.015) 0,
      rgba(0, 0, 0, 0.015) 1px,
      rgba(0, 0, 0, 0.007) 2px,
      rgba(0, 0, 0, 0.007) 3px
    );
  animation: shimmer 0.5s linear infinite;
  pointer-events: none;
  z-index: 10;
  filter: none;
}

@keyframes shimmer {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

.main-logo {
  width: 250px;
  margin-bottom: 10px;
}

.main-title {
  font-family: 'Goldman', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Полоса-разделитель */
.divider {
  width: 1000px;
  border: none;
  height: 4px;
  background-color: #000000;
  position: static;
}

.ideology {
  max-width: 1100px;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
  padding: 0 20px;
  font-family: 'Gilroy Semi Bold', 'Poppins', 'Montserrat', sans-serif;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

.footer {
  position: absolute;
  margin-top: 20px;
  top: 90%;
  font-size: 13px;
  color: #888888;
  user-select: none;
}

.footer a {
  color: #888888;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #666666;
}

/* Тень для текста */
.with-shadow {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Глитч полоски */
.glitch-bar {
  position: absolute;
  background: black;
  pointer-events: none;
  z-index: 20;
  opacity: 0.15;
  filter: blur(0.3px);
  border-radius: 1px;
  will-change: opacity, transform;
}
