/*
Theme Name: Quppy.com
Author: Quppy Team
Version: 1.0.4
*/

h1.zag,
h2.zag,
h3.zag {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Mobile styles for title-block__cta buttons */
@media (max-width: 768px) {
  .title-block__cta .btn {
    width: 100%;
  }
  
}

/* Styles for seventh-block__cta - аналогично title-block__cta */
.seventh-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0px;
}

.seventh-block__cta .btn {
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .seventh-block__cta {
    gap: 0;
  }
  
  .seventh-block__cta .btn {
    width: 100%;
    margin-top: 24px;
  }
  
}

.seventh-block.seventh-block--article{
  padding-bottom: 20px;
}
.seventh-block.seventh-block--article .seventh-block__content{
  width: 100%!important;
}
.seventh-block--article .seventh-block__img.seventh-block__img--anim {
  display: none !important;

}
.seventh-block--article .seventh-block__wrap {
  background: url(./img/seventh-block-bg.png) no-repeat bottom;
  background-size: 100% 220px;
  padding-bottom: 25px;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  justify-content: center;
}
.seventh-block--article .seventh-block__block {
  position: relative;
  padding-left: 36px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.seventh-block--article .seventh-block__text-content{
  width: 35%;
}
.seventh-block--article .seventh-block__text-content .seventh-block__title{
  font-size: 24px;
}
.seventh-block--article .seventh-block__text-content .seventh-block__text{
  font-size: 18px;
}
.seventh-block--article .seventh-block__cta{
  width: 65%;
}
.seventh-block--article .seventh-block__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #fff;
  margin-top: 12px;
  margin-bottom: 23px;
  max-width: 297px;
  width: auto;
}
.seventh-block--article .button p{
  color: #fff;
}
@media (max-width: 768px) {
  .seventh-block--article .seventh-block__wrap--article {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .seventh-block--article .seventh-block__block--article {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .seventh-block--article .seventh-block__cta--article {
    width: 100%;
    align-items: stretch;
  }
  
  .seventh-block--article .seventh-block__cta--article .btn {
    width: 100%;
    white-space: normal;
  }

  .seventh-block--article .seventh-block__wrap {
    background: conic-gradient(from -78.91deg at 40% 85.32%, #c0c2f7 -15deg, #c0c2f7 35.43deg, #4380f0 61deg, #6c63ff 82.98deg, #6c63ff 112.5deg, #ff6584 200.63deg, #ff754a 260.62deg, #c0c2f7 345deg, #c0c2f7 395.43deg);
    background-size: 100% 600px;
  }
  .seventh-block--article .seventh-block__block{
    padding: 0 20px;
    margin: 0;
  }
  .seventh-block--article .seventh-block__text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.seventh-block--article.seventh-block .seventh-block__cta{
  gap: 0px;
}
.seventh-block--article.seventh-block .seventh-block__cta .btn:last-child{
  margin-top: 20px;
}
}

/* Custom Popup V2 Styles */
.custom_overlay_v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Дополнительный фикс для iOS */
@supports (-webkit-touch-callout: none) {
    .custom_overlay_v2 {
        min-height: -webkit-fill-available;
    }
}

.custom_popup_v2 {
    background-color: white;
    border-radius: 25px;
    max-width: 700px;
    min-width: 300px;
    width: 100%;
    margin: 0 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.popup_wrapper_v2 {
    padding: 90px 32px 32px 32px;
}

.custom_popup_v2 .icon_v2 {
    font-size: 40px;
    color: orange;
    margin-bottom: 20px;
}

.custom_popup_v2 h3 {
    font-size: 26px;
    color: #333;
    font-weight: bold;
    margin: 15px 0;
}

.custom_popup_v2 p {
    font-size: 26px;
    color: #666;
    font-weight: normal;
    margin: 15px 25px 40px;
}

.close-btn_v2 {
    position: absolute;
    top: 0px;
    right: 15px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.close-btn_bottom_v2 {
    display: block;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    background-color: #6B50FF;
    color: white;
    text-decoration: none;
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.close-btn_bottom_v2:hover {
    background-color: #5a42e6;
}

@media (max-width: 900px) {
    .custom_popup_v2 h3 {
        font-size: 16px !important;
    }

    .custom_popup_v2 p {
        font-size: 16px !important;
        margin: 15px 25px 15px !important;
    }
    
    .popup_wrapper_v2 {
        padding: 70px 24px 24px 24px;
    }
    
    /* Дополнительный фикс для мобильных устройств */
    .custom_overlay_v2 {
        padding: 20px 0;
    }
    
    .custom_popup_v2 {
        max-height: 90vh;
        max-height: calc(var(--vh, 1vh) * 90);
        overflow-y: auto;
    }
}

/* Hide .wallet .seventh-block .stores__button--mobile on desktop */
.wallet .seventh-block .stores__button--mobile {
    display: none;
}

/* Show .wallet .seventh-block .stores__button--mobile only on mobile */
@media (max-width: 425px) {
    .wallet .seventh-block .stores__button--mobile {
        display: flex;
    }
}

/* ===== Licence / Regulatory blocks ===== */

/* About page: licence block (under Our partners) — разделители между h3, единая типографика */
section.licence-block {
  background-color: #f7f7fb;
  padding: 80px 20px 100px;
  margin-top: 0;
}
section.licence-block .max,
section.licence-block .licence-block__inner {
  max-width: 720px;
  margin: 0 auto;
}
section.licence-block .licence-block__title {
  text-align: center;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.35;
  color: #2b2942;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
}
section.licence-block .licence-block__lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #2b2942;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
section.licence-block .licence-block__lead:last-of-type {
  margin-bottom: 0;
}
/* Разделитель между секциями: линия над каждым h3, кроме первого */
section.licence-block .licence-block__heading {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
  color: #2b2942;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 32px 0 14px;
  border-top: 1px solid rgba(108, 99, 255, 0.18);
}
section.licence-block .licence-block__heading:first-of-type {
  border-top: none;
  padding-top: 28px;
  padding-bottom: 14px;
}
section.licence-block .licence-block__heading + p {
  margin-top: 0;
}
section.licence-block p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #2b2942;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
section.licence-block p:last-child {
  margin-bottom: 0;
}
section.licence-block strong {
  font-weight: 600;
  color: #2b2942;
}
/* Карточка с реквизитами лицензиата */
section.licence-block .licence-block__card {
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid #6c63ff;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 12px 0 20px;
}
section.licence-block .licence-block__card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
section.licence-block .licence-block__card p + p {
  margin-top: 12px;
}
@media (max-width: 900px) {
  section.licence-block {
    padding: 50px 14px 70px;
  }
  section.licence-block .licence-block__title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  section.licence-block .licence-block__heading {
    font-size: 20px;
    padding: 28px 0 12px;
  }
  section.licence-block .licence-block__heading:first-of-type {
    padding-top: 24px;
  }
  section.licence-block p,
  section.licence-block .licence-block__lead,
  section.licence-block .licence-block__card p {
    font-size: 16px;
  }
  section.licence-block .licence-block__card {
    padding: 14px 16px;
    margin: 10px 0 16px;
  }
}

/* Homepage: licence block under personal seo — заголовок по центру, текст слева, буллеты и кнопка оформлены */
section.licence-home.personal.seo {
  padding-top: 60px;
  padding-bottom: 80px;
}
section.licence-home .max h2 {
  padding-top: 0;
  margin-bottom: 24px;
}
section.licence-home .desc {
  text-align: left;
  /* max-width: 61%; */
  margin: 0 auto;
  font-size: 18px;
  line-height: 29px;
  color: #2b2942;
  font-weight: 400;
}
/* Буллеты: без стандартного маркера, свой кружок в цвете бренда */
section.licence-home .licence-home__list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: #2b2942;
  text-align: left;
}
section.licence-home .licence-home__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}
section.licence-home .licence-home__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #6c63ff;
}
section.licence-home .licence-home__list li:last-child {
  margin-bottom: 0;
}
/* Кнопка Learn more */
section.licence-home .licence-home__cta-wrap {
  margin-top: 28px;
  margin-bottom: 0;
  text-align: left;
}
section.licence-home .licence-home__cta {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #6c63ff;
  border-radius: 28px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, transform 0.15s;
}
section.licence-home .licence-home__cta:hover {
  background-color: #5a52e0;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  section.licence-home.personal.seo {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  section.licence-home .licence-home__list {
    font-size: 16px;
  }
  section.licence-home .licence-home__list li::before {
    top: 0.5em;
    width: 6px;
    height: 6px;
  }
  section.licence-home .licence-home__cta {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* Footer: left column — 12px, не растягивать, падинги */
.footer__column-left {
  font-size: 12px;
  max-width: 280px;
  padding-right: 24px;
  box-sizing: border-box;
}
.footer__column-left .text {
  padding: 0;
}
.footer__regulatory {
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  color: #2b294d;
  opacity: 0.5;
  margin: 0 0 16px;
  max-width: 100%;
  text-align: left;
}
.footer__regulatory a {
  color: #2b294d;
  opacity: 1;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.footer__regulatory a:hover {
  opacity: 0.8;
}
@media (max-width: 900px) {
  .footer__column-left {
    max-width: none;
    padding-right: 0;
  }
  .footer__regulatory {
    margin-bottom: 20px;
    text-align: left;
  }
}
@media (max-width: 520px) {
  .footer__regulatory {
    display: block !important;
    text-align: left;
  }
}

