/* Стили для блока акции и модального окна розыгрыша iPhone 16 Pro */
.promo-raffle-block {
   /* display: flex;*/
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #31c29f 0%, #2aa888 100%);
    border-radius: 20px;
    box-shadow: 0 6px 28px rgba(49, 194, 159, 0.20), 0 1.5px 7px rgba(49, 194, 159, 0.09);
    padding: 32px 40px;
    margin: 40px auto 0 auto;
    max-width: 1170px;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-align:center;
  }
  @media (max-width: 600px) {
    .promo-raffle-block {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 22px 10px 18px 10px;
      text-align: center;
    }
    .promo-raffle-img {
      width: 100%;
      margin: 0 0 14px 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .promo-raffle-img img {
      display: block;
      margin: 0 auto;
      width: 200px;
      height: auto;
      border-radius: 18px;
    
    }
    .promo-raffle-info {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0;
    }
    .promo-raffle-title {
      font-size: 1.3rem;
      margin-bottom: 6px;
      text-align: center;
    }
    .promo-raffle-desc {
      font-size: 1rem;
      text-align: center;
      margin-bottom: 0;
    }
    .promo-raffle-link {
      display: block;
      width: 100%;
      max-width: 240px;
      margin: 20px auto 0 auto !important;
      border-radius: 18px;
      text-align: center;
      padding: 8px 0 8px 0;
      font-size: 1rem;
      box-sizing: border-box;
    }
    .promo-raffle-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      max-width: 240px;
      margin: 18px auto 0 auto;
    }
    .promo-raffle-links .promo-raffle-link {
      margin: 0;
    }
  }
  .promo-raffle-block:hover {
    box-shadow: 0 8px 32px rgba(49, 194, 159, 0.16);
  }
  .promo-raffle-img {
    flex: 0 0 120px;
    margin-right: 32px;
  }
  .promo-raffle-img img {
    width: 130px;
    height: auto;
    border-radius: 18px;

  }
  .promo-raffle-info {
    flex: 1;
  }
  .promo-raffle-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 8px;
  }
  .promo-raffle-desc {
    font-size: 1.15rem;
    color: #eee;
  }
  .promo-raffle-link {
background: #fff;
color: #28a084;
padding: 12px 30px;
font-weight: 600;
border-radius: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
width: 300px;
display: inline-block;
}
  .promo-raffle-link:hover, .promo-raffle-link:focus {
    box-shadow: 0 8px 28px 0 rgba(49, 194, 159, 0.22), 0 1.5px 7px rgba(49, 194, 159, 0.13);
    text-decoration: none;
    outline: none;
    transform: scale(1.055);
  }
  a.btn:hover, a.btn:focus {
    box-shadow: 0 8px 28px 0 rgba(49, 194, 159, 0.22), 0 1.5px 7px rgba(49, 194, 159, 0.13);
    text-decoration: none;
    outline: none;
    transform: scale(1.055);
  }
  
  /* Шаги в модальном окне розыгрыша */
.raffle-modal__steps ol {
  padding-left: 0;
  margin: 0 0 0.5em 0;
  list-style: none;
  counter-reset: rafflestep;
}
.raffle-modal__steps li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1.04em;
}
.raffle-modal__steps li span {
  background: #31c29f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  margin-right: 14px;
  font-size: 1.13em;
  box-shadow: 0 2px 8px rgba(49,194,159,0.08);
  flex-shrink: 0;
}
@media (max-width: 1200px) {
.promo-raffle-block {
max-width: auto;
 }
}
@media (max-width: 1000px) {
.promo-raffle-block {
max-width: auto;
 }
}
@media (max-width: 800px) {
.promo-raffle-block {
max-width: auto;
 }
}
@media (max-width: 600px) {
  .raffle-modal__steps {
    padding: 14px 6px 8px 6px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }
  .raffle-modal__steps li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.97em;
    margin-bottom: 10px;
  }
  .raffle-modal__steps li span {
    min-width: 26px;
    min-height: 26px;
    width: 26px;
    height: 26px;
    font-size: 1em;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .raffle-modal__steps ol {
    padding-left: 0;
    margin: 0;
  }
}

  /* Модальное окно акции */
  .raffle-modal {
      position: fixed;
      z-index: 1200;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    background: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .raffle-modal.modal-opened {
    opacity: 1;
    pointer-events: auto;
  }
  #raffleModalOverlay {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22, 33, 54, 0.44);
    z-index: 1;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(10px) saturate(1.12);
    animation: modalFadeIn 0.3s;
  }
  @keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .raffle-modal .security-modal__content {
    position: relative;
    background: #fcfefd;
    border-radius: 20px;
    max-width: 92vw;
    width: 700px;
    box-shadow: 0 6px 28px 0 rgba(30,64,175,0.15), 0 1px 6px 0 rgba(30,64,175,0.05);
    padding: 18px 10px 12px;
    border: 1.2px solid #e0e7ef;
    animation: modalSlideIn 0.4s cubic-bezier(.4,1.6,.6,1) both;
    transform: translateY(24px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    max-height: 88vh;
  }
  .raffle-modal.modal-opened .security-modal__content {
    transform: translateY(0);
    opacity: 1;
  }
  @keyframes modalSlideIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .raffle-modal__body {
    flex: 1 1 auto;
    padding: 0 2vw 0 2vw;
    overflow-y: auto;
    min-height: 0;
    max-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    scrollbar-width: thin;
    scrollbar-color: #31c29f #f6fff9;
  }
  .raffle-modal__body::-webkit-scrollbar {
    width: 6px;
    background: #f6fff9;
  }
  .raffle-modal__body::-webkit-scrollbar-thumb {
    background: #31c29f;
    border-radius: 5px;
  }
  .raffle-modal__img {
    width: 100px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(49, 194, 159, 0.10);
  }
  .raffle-modal__desc {
    font-size: 1rem;
    color: #222;
    margin-top: 8px;
  }
  .raffle-modal__desc ul {
    margin: 14px 0 14px 1.2em;
    padding: 0;
  }
  .raffle-modal__desc li {
    margin-bottom: 7px;
    list-style: disc;
  }
  .raffle-modal__disclaimer {
    font-size: 0.92em;
    color: #888;
    margin-top: 18px;
  }
  #raffleModal .security-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s, transform 0.18s;
    line-height: 1;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  #raffleModal .security-modal__close:hover {
    color: #31c29f;
    background: #e8f8f3;
    transform: scale(1.11);
  }
  @media (max-width: 700px) {
    .promo-raffle-block {
      flex-direction: column;
      align-items: flex-start;
      padding: 24px 12px;
    }
    .promo-raffle-img {
      margin-right: 0;
      margin-bottom: 18px;
    }
    .promo-raffle-title {
      font-size: 1.3rem;
    }
    .raffle-modal__body {
      padding: 20px 10px 14px 10px;
    }
  }