.science-button {
  /* Базовый стиль (оставляем из предыдущего примера) */
  position: relative;
  background: linear-gradient(135deg, #5a00a0 0%, #9d4edd 50%, #5a00a0 100%);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-family: "Jost", serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 
    0 0 15px rgba(157, 78, 221, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

/* 3. Эффект наведения (без изменений) */
.science-button:hover {
  background: linear-gradient(135deg, #6a0dad 0%, #c77dff 50%, #6a0dad 100%);
  box-shadow: 
    0 0 25px rgba(199, 125, 255, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.wow-button{
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    background: white;
    border: none;
    padding: 12px 24px;
    margin: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1;
    border-radius: 28px;

    box-shadow: 
    0 0 12px rgba(89, 45, 125, 0.6),
    inset 0 0 8px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
}

@media screen and (min-width: 900px) {
  .wow-button:hover{
    transform: translateY(-3px) scale(1.03);
  }
}


.wow-button:disabled{
  background: rgb(196, 196, 196);
  color: black;
  cursor: default;
}

.wow-input, .wow-textarea, .wow-select, .wow-date {
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 18px;
    background: white;
    border: none;
    padding: 12px 24px;
    margin: 10px;
    transition: all 0.4s ease;
    border-radius: 28px;
    box-shadow: 
        0 0 12px rgba(89, 45, 125, 0.6),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    outline: none;
    width: calc(100% - 68px); /* учитываем padding и margin */
    max-width: 400px; /* или любое другое значение */
    resize: none; /* для textarea */
}

.wow-textarea {
    min-height: 120px;
}

.wow-input:focus, .wow-textarea:focus, .wow-select:focus, .wow-date:focus {
    box-shadow: 
        0 0 16px rgba(89, 45, 125, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@media screen and (min-width: 900px) {
    .wow-input:hover, .wow-textarea:hover, .wow-select:hover, .wow-date:hover {
        transform: translateY(-3px) scale(1.03);
    }
}

.wow-select {
    appearance: none; /* убираем стандартный стиль браузера */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23592d7d'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 24px;
    padding-right: 50px; /* место для стрелки */
}

/* Стили для options */
.wow-select option {
    padding: 10px 20px;
    background: white;
    color: #333;
}

.wow-select option:hover {
    background: rgba(89, 45, 125, 0.1);
}

.wow-date{
  width: 220px;
}

.wow-date::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23592d7d'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    opacity: 0.8;
    padding-left: 20px;
    cursor: pointer;
}

.wow-date:focus {
    outline: none;
}


/* ----------------------------------------------------------------- */

.wave-button {
  /* Базовый стиль */
  /* position: relative; */
  background: linear-gradient(135deg, #6a0dad, #8a2be2);
  color: white;
  border: none;
  padding: 16px 40px;
  /* font-family: 'Arial', sans-serif;
  font-size: 18px; */
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
  transition: all 0.3s ease;
}

@media screen and (max-width: 900px) {
  .wave-button {
    border-radius: 40px;
  }
}
@media screen and (min-width: 900px) {
  .wave-button {
    border-radius: 30px;
  }
}


/* Текст с градиентом */
.wave-button span {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #fff, #e0c4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media screen and (min-width: 900px) {
  /* Волна (круг, который расширяется) */
  .wave-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
  }

  /* Анимация волны при наведении */
  .wave-button:hover::after {
    animation: wavePulse 1.5s ease-out infinite;
  }

  /* Анимация волны при клике */
  .wave-button:active::after {
    animation: waveExplode 0.6s ease-out;
  }

  /* Эффект наведения */
  .wave-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.6);
  }

  /* Эффект нажатия */
  .wave-button:active {
    transform: translateY(1px);
  }
}


/* Анимации */
@keyframes wavePulse {
  0% {
    width: 5px;
    height: 5px;
    opacity: 0.8;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

@keyframes waveExplode {
  0% {
    width: 5px;
    height: 5px;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.6);
  }
  50% {
    background: rgba(255, 255, 255, 0.3);
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
    background: rgba(255, 255, 255, 0);
  }
}

/* Дополнительно: фон с градиентной рябью */
.wave-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(
      90deg,
      rgba(106, 13, 173, 0.8),
      rgba(138, 43, 226, 0.8)
    ),
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50 Q 50 30 100 50 T 200 50" stroke="white" fill="none" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 200% 100%;
  z-index: -1;
  animation: waveBg 6s linear infinite;
}

@keyframes waveBg {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}

/* ------------------------------ */
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #FFF #FFF transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #FF3D00 #FF3D00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 32px;
  height: 32px;
  border-color: #FFF #FFF transparent transparent;
  animation: rotation 1.5s linear infinite;
}
  
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
    