.header-btn-one a[href*="application"] {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #cf173c 0%, #8b0000 50%, #cf173c 100%);
  background-size: 200% 200%;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  border: 3px solid #cf173c;
  box-shadow: 0 4px 15px rgba(207, 23, 60, 0.4), 0 0 30px rgba(207, 23, 60, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  text-decoration: none;
  z-index: 2;
}

/* Добавляем новый селектор для "apply.html" */
.header-btn-one a[href*="apply"] {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #cf173c 0%, #8b0000 50%, #cf173c 100%);
  background-size: 200% 200%;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  border: 3px solid #cf173c;
  box-shadow: 0 4px 15px rgba(207, 23, 60, 0.4), 0 0 30px rgba(207, 23, 60, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  text-decoration: none;
  z-index: 2;
}

.header-btn-one a[href*="application"]:before,
.header-btn-one a[href*="apply"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}
.header-btn-one a[href*="application"]:hover:before,
.header-btn-one a[href*="apply"]:hover:before {
  left: 100%;
}
.header-btn-one a[href*="application"]:hover,
.header-btn-one a[href*="apply"]:hover {
  background-position: 100% 100%;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(207, 23, 60, 0.6), 0 0 50px rgba(207, 23, 60, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  animation: pulse-glow 1.5s ease-in-out infinite;
}
.header-btn-one a[href*="application"]:active,
.header-btn-one a[href*="apply"]:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(207, 23, 60, 0.8), 0 0 30px rgba(207, 23, 60, 0.6);
}
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(207, 23, 60, 0.6),
      0 0 50px rgba(207, 23, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(207, 23, 60, 0.8),
      0 0 70px rgba(207, 23, 60, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}
.header-btn-one a[href*="application"] span.icon-payment:before,
.header-btn-one a[href*="apply"] span.icon-payment:before {
  position: relative;
  display: inline-block;
  padding-right: 10px;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.header-btn-one a[href*="application"]:hover span.icon-payment:before,
.header-btn-one a[href*="apply"]:hover span.icon-payment:before {
  transform: scale(1.1) rotate(5deg);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}
.header-btn-one a[href*="application"]:after,
.header-btn-one a[href*="apply"]:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    rgba(207, 23, 60, 0.1),
    rgba(139, 0, 0, 0.1),
    rgba(207, 23, 60, 0.1)
  );
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.header-btn-one a[href*="application"]:hover:after,
.header-btn-one a[href*="apply"]:hover:after {
  opacity: 1;
}
@media (max-width: 768px) {
  .header-btn-one a[href*="application"],
  .header-btn-one a[href*="apply"] {
    padding: 10px 25px;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .header-btn-one a[href*="application"] span.icon-payment:before,
  .header-btn-one a[href*="apply"] span.icon-payment:before {
    font-size: 16px;
    padding-right: 8px;
  }
}
.header-btn-one a[href*="application"],
.header-btn-one a[href*="apply"] {
  animation: subtle-shine 3s ease-in-out infinite;
}
@keyframes subtle-shine {
  0%,
  100% {
    background-position: -200% 0%;
  }
  50% {
    background-position: 200% 0%;
  }
}
.header-btn-one a[href*="application"]:focus,
.header-btn-one a[href*="apply"]:focus {
  outline: none;
  box-shadow: 0 8px 25px rgba(207, 23, 60, 0.6), 0 0 50px rgba(207, 23, 60, 0.4),
    0 0 0 3px rgba(207, 23, 60, 0.3);
}
.header-btn-one a[href*="application"]:active,
.header-btn-one a[href*="apply"]:active {
  animation: click-feedback 0.2s ease;
}
@keyframes click-feedback {
  0% {
    transform: translateY(-3px) scale(1.02);
  }
  50% {
    transform: translateY(-1px) scale(0.98);
  }
  100% {
    transform: translateY(-2px) scale(1.01);
  }
}
