/* ============================= */
/* КОНТЕЙНЕР КНОПКИ PLAY (ЖЕСТКАЯ ЦЕНТРОВКА) */
/* ============================= */
.button-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 999 !important;
  pointer-events: none;
}

/* ============================= */
/* СТИЛИ КНОПКИ PLAY */
/* ============================= */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 5vw;
  height: 5vw;
  min-width: 80px;
  min-height: 80px;
  max-width: 120px;
  max-height: 120px;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  border: 1px solid transparent;
  box-shadow: none;
  pointer-events: auto;
}

/* ВНУТРЕННИЙ БЛОК ДЛЯ АНИМАЦИИ */
.play-button-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  transition: box-shadow 0.3s ease;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  animation: neon-border-glow 4s ease-in-out infinite;
  /* 🔻 убираем glow */
  box-shadow: none;
}

.play-button-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;

  background: conic-gradient(
    from 0deg,
    rgba(255, 0, 0, 1),
    rgba(255, 0, 255, 1),
    rgba(0, 128, 255, 1),
    rgba(255, 0, 0, 1)
  );

  mask: 
    radial-gradient(farthest-side, transparent calc(100% - 2px), black 100%);
  -webkit-mask: 
    radial-gradient(farthest-side, transparent calc(100% - 2px), black 100%);

  animation: spin-ring 3s linear infinite;
  z-index: -1;

  /* 💥 Усиленное свечение */
  filter:
    drop-shadow(0 0 5px rgba(255, 0, 100, 0.9))
    drop-shadow(0 0 15px rgba(255, 0, 255, 0.8))
    drop-shadow(0 0 25px rgba(0, 128, 255, 0.7));
}


.play-button:hover .play-button-inner {
  animation: heartbeat-loop 2s ease-in-out infinite;
  border: 1px solid transparent;
}


/* SVG-ТРЕУГОЛЬНИК */
.play-icon {
  width: 40%;
  height: 40%;
  fill: red;
}

/* ============================= */
/* CANVAS ДЛЯ АНИМАЦИИ КАПИЛЛЯРОВ */
/* ============================= */
#animationCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9997;
}

/* ============================= */
/* CANVAS ДЛЯ ЭФФЕКТА ВСПЛЕСКА (если используется) */
/* ============================= */
#pulse-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9996;
}

/* ============================= */
/* ПУЛЬСАЦИЯ: 2 удара сердца */
/* ============================= */
@keyframes spin-ring {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  

@keyframes heartbeat-loop {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 0, 0, 0.3),
      inset 0 0 10px rgba(255, 0, 0, 0.1);
  }
  10% {
    transform: scale(1.12);
    box-shadow:
      0 0 25px rgba(255, 0, 0, 0.6),
      inset 0 0 18px rgba(255, 0, 0, 0.3);
  }
  20% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 0, 0, 0.3),
      inset 0 0 10px rgba(255, 0, 0, 0.1);
  }
  30% {
    transform: scale(1.08);
    box-shadow:
      0 0 20px rgba(255, 0, 0, 0.5),
      inset 0 0 14px rgba(255, 0, 0, 0.2);
  }
  40% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 0, 0, 0.3),
      inset 0 0 10px rgba(255, 0, 0, 0.1);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 0, 0, 0.3),
      inset 0 0 10px rgba(255, 0, 0, 0.1);
  }
}
.button-title {
  position: absolute;
  top: calc(45% - 100px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: white;
  font-family: 'CustomFont3', sans-serif;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  z-index: 1000;
  pointer-events: none;
}
/* ============================= */
/* ============================= */
/* ============================= */
/* ============================= */
/* ЛЕЙБЛ ПОДПИСИ СПРАВА НАД КНОПКОЙ */
.line-label {
  position: absolute;
  top: 45%;
  left: 55%;
  pointer-events: none;
}

/* Общие стили линий */
.line-diagonal,
.line-horizontal {
  width: 60px;
  height: 2px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Диагональная линия */
.line-diagonal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  background-size: 300% 100%;
  background-position: 0 0;
  animation: flow 6s linear infinite;
  animation-delay: 0s;
  filter: drop-shadow(0 0 6px rgba(255, 0, 100, 0.6))
          drop-shadow(0 0 12px rgba(0, 128, 255, 0.5));
}

.line-diagonal {
  transform: rotate(135deg);
  transform-origin: left center;
  margin-bottom: -1px;
}

/* Горизонтальная линия */
.line-horizontal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  background-size: 200% 100%;
  background-position: 20% 0; /* начинается с правой стороны */
  animation: flow 6s linear infinite reverse; /* ← движение справа налево */
  filter: drop-shadow(0 0 6px rgba(255, 0, 100, 0.6))
          drop-shadow(0 0 12px rgba(0, 128, 255, 0.5));
}


.line-horizontal {
  /* по умолчанию */
}

/* Контейнер текста */
.line-horizontal-wrapper {
  position: relative;
  width: 50px;
  height: 20px;
}

.line-horizontal-wrapper span {
  position: absolute;
  top: -18px;
  right: 0;
  font-family: 'CustomFont2', sans-serif;
  color: white;
  font-size: 16px;
  z-index: 2;
}

/* Анимация */
@keyframes flow {
  0%   { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}



/* --------------NON STEAM BOX--------------- */

.nonsteam-box {
  position: absolute;
  top: 65%;
  left: 70%;
  transform: translate(-50%, -50%);
  padding: 2rem 3rem;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  z-index: 5;
}

.nonsteam-box::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: conic-gradient(
    rgba(255, 0, 0, 1),
    rgba(255, 0, 255, 1),
    rgba(0, 128, 255, 1),
    rgba(255, 0, 0, 1)
  );
  animation: spin-ring 3s linear infinite;
  border-radius: inherit
}

.nonsteam-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: inherit;
  backdrop-filter: blur(12px);
}

.nonsteam-box:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.nonsteam-box span {
  position: relative;
  z-index: 2;
  color: white;
  font-family: 'CustomFont3', sans-serif;
}
/*-------------------------------END------*/


/* ----------Линии NONSTEAM----------------------- */
.line-label-nonsteam {
  position: absolute;
  top: calc(73% - 10px);  /* настроить по необходимости */
  left: calc(61.5% + 10px); /* настроить по необходимости */
  pointer-events: none;
}

.line-diagonal-nonsteam {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 2px;
  transform: rotate(135deg);
  transform-origin: right center;
  overflow: hidden;
}
.line-diagonal-nonsteam::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* меняем сторону */
  width: 300%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  background-size: 300% 100%;
  background-position: 0 0;
  animation: flow 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 0, 100, 0.6))
          drop-shadow(0 0 12px rgba(0, 128, 255, 0.5));
}

.line-horizontal-wrapper1 {
  position: absolute;
  top: 50%;
  right: 1px; /* единицы измерения обязательны */
  width: 80px;
  height: 2px;
  transform: translateY(-50%);
}
.line-horizontal-nonsteam {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  overflow: hidden;
}

.line-horizontal-nonsteam::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(255, 0, 0, 0.8),
    rgba(255, 0, 255, 0.8),
    rgba(0, 128, 255, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  background-size: 300% 100%;
  animation: flow 6s linear infinite reverse;
  filter: drop-shadow(0 0 6px rgba(255, 0, 100, 0.6))
          drop-shadow(0 0 12px rgba(0, 128, 255, 0.5));
}

.line-text-nonsteam {
  position: absolute;
  bottom: 4px;
  left: 0;
  color: white;
  font-family: 'CustomFont2', sans-serif;
  font-size: 16px;
}

/* Анимация */
@keyframes flow {
  0%   { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}


/* Анимация */
@keyframes flow {
  0%   { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}
#copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: 'CustomFont1', sans-serif;
  padding: 1rem 2rem;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
#copy-toast.show {
  opacity: 1;
}
@media (max-width: 600px) {
  .line-label-nonsteam {
    top: calc(75% - 10px);  /* сместите вниз или вверх по необходимости */
    left: calc(65% + 10px); /* скорректируйте горизонтальное смещение */
  }
}
