.btn-gift {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.1;
  text-align: center;
  color: #FFFFFF;
  
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

  background: linear-gradient(to right, #ee781c 0%, #ff8629 50%, #ee781c 100%);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  animation: giftPulseGlow 2.5s infinite ease-in-out;
}

.btn-gift:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
  animation-duration: 1.5s; 
}

.btn-gift:active {
  transform: scale(0.98);
}

@keyframes giftPulseGlow {
  0%, 100% {
    box-shadow: 
      inset 0 2px 5px rgba(255, 255, 255, 0.6), 
      inset 0 -5px 10px rgba(0, 0, 0, 0.2), 
      0 4px 10px rgba(0, 0, 0, 0.3),
      0 0 8px rgba(238, 120, 28, 0.4);
  }
  50% {
    box-shadow: 
      inset 0 2px 5px rgba(255, 255, 255, 0.6), 
      inset 0 -5px 10px rgba(0, 0, 0, 0.2), 
      0 6px 14px rgba(0, 0, 0, 0.2),
      0 0 25px rgba(255, 134, 41, 0.9),
      0 0 50px rgba(238, 120, 28, 0.5);
  }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

#GIFT_CONTAINER,
#GIFT_CONTAINER * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

#GIFT_CONTAINER {
  background: #ffffff;
  width: 100%;
  max-width: 40em;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.1);
  text-align: center;
  margin: 0 auto;
}

/* Эмодзи-иконка сверху вместо SVG */
#GIFT_CONTAINER .gift-header-emoji {
  width: 3em;
  height: 3em;
  margin: 0 auto 12px auto;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, rgba(255, 255, 255, 0.00) 40%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em; 
  line-height: 1;
}

#GIFT_CONTAINER .gift-header-emoji img{
  width: 2em;
  height: 2em;
}

#GIFT_CONTAINER .gift-title {
  font-size: 1.7em;
  font-weight: 700;
  color: #0b0f19;
  margin-bottom: 6px;
}

#GIFT_CONTAINER .gift-subtitle {
  font-size: 1em;
  font-weight: 700;
  color: #7b8a9e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Список опций */
#GIFT_CONTAINER .gift-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Минимальный зазор */
  margin-bottom: 18px;
}

/* Строка опции (label) */
#GIFT_CONTAINER .gift-option-row {
  display: flex;
  align-items: center;
  padding: 1.3em 1.3em;
  border-radius: 12px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  user-select: none;
}


#GIFT_CONTAINER .gift-row-blue { background: linear-gradient(135deg, #f2f8fc 0%, #e6f2fa 100%); }
#GIFT_CONTAINER .gift-row-purple { background: linear-gradient(135deg, #f8f3fc 0%, #f0e4f8 100%); }
#GIFT_CONTAINER .gift-row-cyan { background: linear-gradient(135deg, #edfbfc 0%, #e0f6f8 100%); }
#GIFT_CONTAINER .gift-row-orange { background: linear-gradient(135deg, #fdf6f0 0%, #faebd9 100%); }

#GIFT_CONTAINER .gift-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #a3b8cc;
  border-radius: 5px;
  margin-right: 12px;
  display: inline-grid;
  place-content: center;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  position: relative;
}

#GIFT_CONTAINER .gift-checkbox::before {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) scale(0);
  transition: 0.1s transform ease-in-out;
  margin-top: -2px;
}

/* Состояние при клике (без SVG) */
#GIFT_CONTAINER .gift-checkbox:checked {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-color: transparent;
}

#GIFT_CONTAINER .gift-checkbox:checked::before {
  transform: rotate(-45deg) scale(1); /* Проявляем галочку */
}

/* Иконка строки (SVG остаются только тут) */
#GIFT_CONTAINER .gift-option-icon {
  width: 2.5em;
  height: 2.5em;
  margin-right: 1em;
  margin-left: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Текст строки */
#GIFT_CONTAINER .gift-option-text {
  font-size: 1.2em;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
  line-height: 1.3;
}

#GIFT_CONTAINER .gift-option-explain {
    margin-left: auto;
}
#GIFT_CONTAINER .gift-option-free {
  display: block;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  border-radius: 0.5em;
  margin: 0.5em;
  padding: 0.5em;
  color: #ffffff;
}

#GIFT_CONTAINER .gift-option-date{
    color: #862af9;
    font-weight: bolder;
}

/* Эффект наведения и выбора всей строки */
#GIFT_CONTAINER .gift-option-row:hover {
  transform: translateY(-1px);
  border: thick double #00d2ff;
}

#GIFT_CONTAINER .gift-option-row:has(.gift-checkbox:checked) {
  border-color: #00d2ff;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
  background: linear-gradient(135deg, #e4fafd 0%, #ccf4f8 100%);
}

/* Кнопка активации */
#GIFT_CONTAINER .gift-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 1.5em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.2);
  transition: all 0.15s ease;
}

#GIFT_CONTAINER .gift-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3);
}

#GIFT_CONTAINER .gift-btn-submit:active {
  transform: translateY(1px);
}

#GIFT_STEP_2 {
  display: none;
  background: linear-gradient(135deg, #eaf9fd 0%, #f0eff5 50%, #faf3e3 100%);
  width: 100%;
  max-width: 40em;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.1);
  text-align: center;
  margin: 0 auto;
}

#GIFT_STEP_2 .gift-header-phone-icon {
  width: 6em; height: 6em;
  margin: 0 auto 16px auto;
  background: radial-gradient(circle, rgba(157, 78, 222, 0.4) 0%, rgba(255, 255, 255, 0.00) 60%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #9d4ede;
  box-align: center;
}

#GIFT_STEP_2 .gift-header-phone-icon img{
    width: 6em; height: 6em;
}

#GIFT_STEP_2 .gift-phone-instructions {
  font-size: 1.2em;
  font-weight: 600;
  color: #5c6b73;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 10px;
}

#GIFT_STEP_2 .gift-input-wrapper {
  position: relative;
  margin-bottom: 10px;
}
#GIFT_STEP_2 .gift-input-icon {
  position: absolute;
  left: 3em; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}
#GIFT_STEP_2 .gift-phone-input {
  width: 80%;
  padding: 14px 14px 14px 40px;
  font-size: 1.2em;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
}
#GIFT_STEP_2 .gift-phone-input:focus {
  border-color: #9d4ede;
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

#GIFT_STEP_2 .gift-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff; border: none; border-radius: 12px;
  padding: 14px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease;
  font-size: 1.5em;
}
#GIFT_STEP_2 .gift-btn-submit:hover { transform: translateY(-1px); opacity: 0.95; }

#GIFT_STEP_2 .gift-btn-gradient-triple {
  background: linear-gradient(90deg, #00b4d8 0%, #9d4ede 50%, #ff7a00 100%) !important;
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.3);
}

@media only screen and (max-width: 450px) { 
	#GIFT_CONTAINER .gift-option-icon {
    	margin: 0.5em;
      width: 1.5em;
      height: 1.5em;
  	}
    #GIFT_CONTAINER .gift-checkbox{
      margin: 0;
    }
    #GIFT_CONTAINER .gift-option-text{
      font-size: 0.8em;
    }
    #GIFT_CONTAINER .gift-option-row{
      padding: 0em 0.5em;
    }
    #GIFT_CONTAINER .gift-option-explain{
      font-size: 1em;
    }
    #GIFT_STEP_2 .gift-input-icon{
      left: 1em;
    }
}
