.squid-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc; /* обычное состояние */
  font-size: 16px;
  font-family: inherit;
  resize: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* hover + focus = зеленый */
.squid-textarea:hover,
.squid-textarea:focus {
  border-color: #2ecc71;
  outline: none;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.35);
}

.squid-textarea:focus::placeholder {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Центровка кнопок */

/* Кнопка прижата к низу */
.btn-wrapper {
  margin:25px auto;
  text-align: center;
}

/* Кнопка */
.btn-squid {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  /*color: #fff;
  background: #1fa463;*/
  background: linear-gradient(135deg, #fab700, #f7a600);
  color: #000;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  letter-spacing: 1px;
  box-shadow: 0 6px 15px rgba(255,212,0,0.4);
  transition: box-shadow 0.3s ease;
}

.btn-squid:hover {
  box-shadow: 0 6px 25px rgba(31,164,99,0.5);
}

.btn-squid::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(25deg);
  animation: shine 3s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 999;
}

/* Модалка */
.modal {
  width: 90%;
  max-width: 380px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  text-align: center;
  position: relative;
  color: #1b1b1b;
}

/* Закрытие */
.close-modal {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

/* Фигуры */
#game-shape .shape {
  display: none; /* все скрыты по умолчанию */
  margin: 0 auto 20px;
}

#game-shape .shape.active {
  display: block; /* только активная видна */
  min-width:60px;
}

/* Форма */
.modal input[type="text"], .modal input[type="tel"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
}

.modal input:focus {
  outline: none;
  border-color: #1fa463;
  box-shadow: 0 0 0 2px rgba(31,164,99,.15);
}

/* Чекбокс слева */
.policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 14px 0 20px;
  text-align: left;
}
.policy input { margin-top: 3px; accent-color: #1fa463; }
.policy a { color: #1fa463; text-decoration: underline; }

/* Кнопка формы */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #1fa463;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  font-size: 15px;
}
.submit-btn:hover { box-shadow: 0 0 20px rgba(31,164,99,.5); }


.form-messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px;
  width: 100%;

  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  transition: box-shadow 0.2s ease;
}

.form-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Telegram */
.form-btn.tg-btn-form {
  background: #229ED9;
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35);
}

/* WhatsApp */
.form-btn.wa-btn-form {
  background: #25D366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.form-btn:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}



@media screen and (max-width: 800px) {

.btn-wrapper {
    margin-bottom: 50px;
    margin-top: 10px;
}
}
