/* ---------- Brand gradients ---------- */
.grad-red {
  background: linear-gradient(101.75deg, #FF5642 0%, #DE1994 100%);
}

.grad-red-text {
  background: linear-gradient(101.75deg, #FF5642 0%, #DE1994 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.number-gradient {
  background: linear-gradient(95.92deg, #FFFFFF 0%, #ED356E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Glass / frosted surfaces ---------- */
.glass-card {
  background: linear-gradient(131.5deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border: 1px solid rgba(223, 235, 255, 0.82);
  box-shadow: 0 24px 60px -28px rgba(40, 110, 249, 0.38);
}

.feature-card-wrap {
  background: linear-gradient(160deg, rgba(108, 181, 255, 0.88) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(238, 118, 255, 0.88) 100%);
  border-radius: 28px;
  padding: 1.5px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 26.5px;
}

.glass-pill {
  background: linear-gradient(114.96deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pill-wrap {
  background: linear-gradient(160deg, rgba(108, 181, 255, 0.88) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(238, 118, 255, 0.88) 100%);
  border-radius: 12px;
  padding: 1.5px;
}

.pill-card {
  background: #FFFFFF;
  border-radius: 10.5px;
}

.form-card-wrap {
  background: linear-gradient(160deg, rgba(108, 181, 255, 0.88) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(238, 118, 255, 0.88) 100%);
  border-radius: 32px;
  padding: 1.5px;
  box-shadow: 0 20px 49px -23px rgba(40, 110, 249, 0.38);
}

.form-card {
  background: #FFFFFF;
  border-radius: 30.5px;
}

.journey-card {
  background: linear-gradient(143.41deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 100%);
  border: 1px solid rgba(223, 235, 255, 0.82);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 24px 60px -28px rgba(40, 110, 249, 0.38);
}

.journey-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(40, 110, 249, 0.1) 0%, rgba(40, 110, 249, 0.4) 50%, rgba(236, 42, 191, 0.3) 100%);
}

/* ---------- Form inputs ---------- */
.form-input {
  width: 100%;
  border: 1px solid #DAE2EB;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 12px 13px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #0C1D40;
}

.form-input::placeholder {
  color: rgba(95, 108, 132, 0.7);
}

.form-input:focus {
  outline: none;
  border-color: #DE1994;
  box-shadow: 0 0 0 3px rgba(222, 25, 148, 0.12);
}

/* ---------- Hero ---------- */
.hero-bg {
  position: relative;
  background-image: url('../images/herobgmobile.jpg');
  background-size: cover;
  background-position: center top;
}

@media (min-width: 768px) {
  .hero-bg {
    background-image: url('../images/herobg.jpg');
  }
}


.badge-nys {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
}

#top .badge-nys {
  width: 72px;
  height: 72px;
}

@media (min-width: 768px) {
  #top .badge-nys {
    width: 92px;
    height: 92px;
  }

  #footer-cta .badge-nys {
    width: 140px;
    height: 140px;
  }
}

.badge-nys img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 150 banner ---------- */
.banner-bg {
  position: relative;
  background-image: url('../images/payouttimemobile.jpg');
  background-size: cover;
  background-position: center;
  aspect-ratio: 662 / 965;
}

@media (min-width: 768px) {
  .banner-bg {
    background-image: url('../images/payouttime.jpg');
    aspect-ratio: 2159 / 1208;
  }
}

@keyframes number-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.number-gradient.pulse-once {
  animation: number-pulse 0.5s ease-out;
}

/* ---------- Venue ---------- */
.venue-photo img {
  background: linear-gradient(160deg, #1c2333 0%, #0b0e16 100%);
}

.venue-overlay {
  background: linear-gradient(45deg, rgba(12, 29, 64, 0.35) 0%, rgba(12, 29, 64, 0) 50%, rgba(40, 110, 249, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}

/* ---------- Registration / Login form ---------- */
.form-switch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form-switch {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border: 1.5px solid rgba(12, 29, 64, 0.1);
  border-radius: 999px;
}

.form-switch__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgba(12, 29, 64, 0.65);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.form-switch__btn.is-active {
  background: linear-gradient(101.75deg, #FF5642 0%, #DE1994 100%);
  color: #FCFCFC;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--full-mobile {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .form-field--full-mobile {
    grid-column: auto;
  }
}

.form-field__error {
  min-height: 14px;
  font-size: 11px;
  color: #ef4444;
}

.form-input.is-invalid {
  border-color: #ef4444;
}

.password-field {
  position: relative;
  display: flex;
}

.password-field .form-input {
  padding-right: 40px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  padding: 4px;
  border: none;
  background: none;
  color: #5F6C84;
  line-height: 0;
  cursor: pointer;
}

.password-toggle .password-toggle__off,
.password-toggle.is-visible .password-toggle__on {
  display: none;
}

.password-toggle.is-visible .password-toggle__off {
  display: block;
}

.phone-field {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.phone-field .form-input {
  flex: 1;
  min-width: 0;
}

.country-code-select {
  position: relative;
  flex: 0 0 100px;
}

.phone-field__code {
  width: 100%;
  height: 100%;
  min-height: 42px;
  padding: 0 8px 0 10px;
  border: 1px solid #DAE2EB;
  border-radius: 10px;
  background: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #0C1D40;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ccs-trigger__flag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.ccs-trigger__code {
  flex: 1;
  white-space: nowrap;
}

.ccs-trigger__chevron {
  font-size: 10px;
  color: #9ca3af;
  flex-shrink: 0;
}

.country-code-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  max-height: 260px;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #DAE2EB;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(12, 29, 64, 0.18);
  z-index: 30;
  overflow: hidden;
}

.country-code-select.is-open .country-code-select__menu {
  display: flex;
}

.country-code-select__search-wrap {
  padding: 10px 10px 8px;
  border-bottom: 1px solid #F1F5F9;
  flex-shrink: 0;
}

.country-code-select__search {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #DAE2EB;
  border-radius: 8px;
  background: #F8FAFC;
  font-size: 12px;
  color: #0C1D40;
  outline: none;
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
}

.country-code-select__options-list {
  overflow-y: auto;
  flex: 1;
}

.country-code-select__option {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccs-opt__flag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 22px;
  line-height: 0;
}

.ccs-flag-img {
  display: block;
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.ccs-opt__name {
  flex: 1;
  font-size: 12px;
  color: #0C1D40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccs-opt__code {
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
}

.country-code-select__option:hover,
.country-code-select__option.is-selected {
  background: #FDEFF6;
}

.form-recaptcha {
  display: flex;
  justify-content: center;
  margin: 0 0 8px;
  overflow-x: auto;
}

.form-recaptcha > div {
  min-width: 304px;
}

.login-card__forgot {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #0C1D40;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 4px;
  background: none;
  border: none;
  padding: 0;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background-image: url('../images/footerbgmobile.jpg');
  background-size: cover;
  background-position: center;
  aspect-ratio: 765 / 1017;
}

@media (min-width: 768px) {
  .final-cta {
    background-image: url('../images/footerbg.jpg');
    aspect-ratio: 2487 / 1206;
  }
}
