/* Local overrides: hero без декоративных PNG (убирает «шахматку» и артефакты параллакса) */
.hero-wrap.style2 {
  background: linear-gradient(165deg, #edf1f6 0%, #e2e9f2 40%, #edf1f6 100%) !important;
}
.hero-wrap.style2 .hero-shape {
  display: none !important;
}

.theme-dark .hero-wrap.style2 {
  background: linear-gradient(165deg, #111 0%, #1a1f26 50%, #111 100%) !important;
}

/* Главная: крупнее композиция из двух фото + карточка 20M+ */
@media (min-width: 992px) {
  .hero-wrap.style2 .hero-img-wrap {
    min-height: 420px;
    transform: scale(1.06);
    transform-origin: center right;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-one img,
  .hero-wrap.style2 .hero-img-wrap .hero-img-two img {
    width: 100%;
    height: auto;
    display: block;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-two {
    margin-top: 96px;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text {
    padding: 22px 26px 22px 28px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text span i {
    font-size: 56px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text h6 {
    font-size: 28px !important;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-promo-text h6 span {
    font-size: 17px !important;
  }
}

@media (min-width: 1200px) {
  .hero-wrap.style2 .hero-img-wrap {
    transform: scale(1.1);
    min-height: 460px;
  }
  .hero-wrap.style2 .hero-img-wrap .hero-img-two {
    margin-top: 110px;
  }
}

/* Header: make logo bigger */
.header-wrap.style2 .navbar-brand img,
.theme-light .navbar-brand .logo-light {
  max-width: 220px !important;
  width: auto;
  height: auto;
}

@media only screen and (max-width: 991px) {
  .header-wrap.style2 .navbar-brand img,
  .theme-light .navbar-brand .logo-light {
    max-width: 180px !important;
  }
}

@media only screen and (max-width: 767px) {
  .header-wrap.style2 .navbar-brand img,
  .theme-light .navbar-brand .logo-light {
    max-width: 160px !important;
  }
}

/* Full-width infinite logo marquee (global exchanges & partners) */
.exchange-marquee-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-dark .exchange-marquee-section {
  background: linear-gradient(180deg, #141414 0%, #1c1c1c 100%);
  border-top-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.exchange-marquee-caption {
  font-family: "Source Sans 3", "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1.25rem !important;
}

.theme-dark .exchange-marquee-caption {
  color: #94a3b8;
}

.exchange-marquee-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.exchange-marquee-inner {
  display: flex;
  width: max-content;
  animation: exchange-marquee-scroll 55s linear infinite;
  will-change: transform;
}

.exchange-marquee-inner:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .exchange-marquee-inner {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    row-gap: 1.25rem;
  }
  .exchange-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@keyframes exchange-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.exchange-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0.85rem 2rem;
}

.exchange-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.exchange-marquee-item img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(140px, 22vw);
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(0.15);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.exchange-marquee-item img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

@media only screen and (max-width: 767px) {
  .exchange-marquee-item {
    height: 46px;
  }
  .exchange-marquee-item img {
    max-height: 36px;
  }
}

/* ── Registration form: country select ─────────────────────────────── */
.login-form-wrap .login-body .form-group select {
  border-radius: 5px;
  background: #fff;
  width: 100%;
  height: 54px;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #333;
  appearance: auto;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.login-form-wrap .login-body .form-group select:focus {
  border-color: #1474c4;
  box-shadow: 0 0 0 3px rgba(20, 116, 196, 0.12);
}
.login-form-wrap .login-body .form-group select.m-error,
.login-form-wrap .login-body .form-group select + .country-error-hint.m-error {
  border-color: red !important;
}
/* Show red border on the select when the hint-div next to it gets m-error */
.login-form-wrap .login-body .form-group .country-error-hint.m-error ~ select,
.login-form-wrap .login-body .form-group select:has(+ .country-error-hint.m-error) {
  border-color: red !important;
}

/* optgroup visual separator */
.login-form-wrap .login-body .form-group select optgroup {
  font-style: normal;
  color: #999;
  font-size: 12px;
}

/* ── Registration error box ─────────────────────────────────────────── */
#register-error-box br { display: block; margin-bottom: 4px; content: ""; }

