body {
  position: relative;
  color: #F3EAF0;
}

body:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 15%;
  background-image: linear-gradient(
    to bottom,
    rgba(99, 25, 70, .35),
    transparent
  );
  opacity: 1;
}

/* BDSM - Premium dark modal */
.signup-wrapper {
  background: rgba(27, 16, 26, .97) !important;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    0 15px 45px rgba(0, 0, 0, .40),
    0 30px 90px rgba(0, 0, 0, .25);
}

/* Headlines */
h1 {
  color: #F7F0F4 !important;
}

h2 {
 color: #E8C9D9 !important;
}

/* Validation errors */
.pristine-error {
  color: #FF7085 !important;
}

/* Helper text */
.tip {
  color: rgba(243, 234, 240, .80);
}

figure img {
  box-shadow: 5px 5px 10px #000;
}

figure:after,
figure:before {
  box-shadow: 5px 5px 10px #000;
}

/* Background overlay */
.background-image:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(33, 20, 31, .88) 0%,
    rgba(85, 22, 48, .76) 48%,
    rgba(24, 14, 29, .90) 100%
  );
  opacity: 1;
  filter: none;
}

/* Primary CTA */
.btn-primary,
.button {
  background: linear-gradient(
    100deg,
    #F54B66 0%,
    #E83D62 100%
  ) !important;
  border: none;
  color: #fff;
  box-shadow:
    0 7px 20px rgba(232, 61, 98, .30),
    0 2px 5px rgba(0, 0, 0, .25);
}

/* Primary CTA hover */
.btn-primary:hover,
.btn-primary:focus,
.button:hover,
.button:focus {
  background: linear-gradient(
    100deg,
    #FF5C76 0%,
    #EF466B 100%
  ) !important;
  opacity: 1;
}

.btn-primary > span,
.button > span {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.btn-prev:hover {
  color: #f54b66;
}

.circle-icon {
  background-color: #000;
}

.circle-icon:hover {
  background-color: #000;
  opacity: 1;
}

.image-button {
  object-fit: contain;
}

.image-button:hover {
  opacity: 1 !important;
  filter: brightness(1.15);
}


/* BDSM - Refined thumbs colors */

/* Thumbs down */
.thumbs-down {
  border: 3px solid #F43F5E !important;
  background-color: #000 !important;
}

/* Thumbs up */
.thumbs-up {
  border: 3px solid #4CAF50 !important;
  background-color: #000 !important;
}


/* BDSM - Selected thumbs feedback */
.thumb-choice--selected {
  transform: scale(.94) !important;
}

/* Selected thumbs down */
.thumbs-down.thumb-choice--selected {
  box-shadow:
    0 0 0 4px rgba(244, 63, 94, .25),
    0 5px 14px rgba(0, 0, 0, .25) !important;
}

/* Selected thumbs up */
.thumbs-up.thumb-choice--selected {
  box-shadow:
    0 0 0 4px rgba(76, 175, 80, .25),
    0 5px 14px rgba(0, 0, 0, .25) !important;
}

/* BDSM - Selected radio answer */
input.peer:checked + .choice-button {
  background: linear-gradient(
    100deg,
    #9D2149 0%,
    #771936 100%
  ) !important;

  box-shadow:
    0 0 0 3px rgba(255, 145, 166, .65),
    0 5px 15px rgba(0, 0, 0, .25) !important;

  transform: scale(.98);
}

input.peer:checked + .choice-button .btn-primary__label {
  color: #fff !important;
}

/* Append to bdsm.css: BDSM-only selection overrides */
input.peer:checked + .choice-button {
  background: linear-gradient(100deg,#9D2149,#771936) !important;
  box-shadow: 0 0 0 3px rgba(255,145,166,.65),0 5px 15px rgba(0,0,0,.25) !important;
}
.image-button.image-button--selected {
  outline-color: #d99af9;
  box-shadow: 0 0 0 3px rgba(217,154,249,.35),0 8px 22px rgba(0,0,0,.45) !important;
}

/* BDSM - Highlight heading */
.h1 span {
  background: linear-gradient(
    135deg,
    #9D2149 0%,
    #771936 100%
  ) !important;
  color: #FFFFFF !important;
  display: inline-block;
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 15px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

/* Terms links */
.terms {
  color: #E8C9D9 !important;
}
.terms-container a:link,
.terms-container a:visited,
[data-lp-tooltip-wrapper] {
  color: #FF91A6 !important;
  text-decoration: none;
}

.terms-container a:hover,
.terms-container a:active {
  color: #FFC0CD !important;
  text-decoration: underline;
}

/* BDSM - Terms checkbox */

/* BDSM - Custom terms checkbox */

.terms-container .bdsm-compatible-checkbox {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  flex: 0 0 24px;

  margin: 2px 6px 0 0 !important;
  padding: 0 !important;

  display: grid;
  place-content: center;

  background: #241722 !important;
  background-image: none !important;

  border: 2px solid #D7AFC5 !important;
  border-radius: 5px !important;

  cursor: pointer;

  transition:
    background-color .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

/* Checked state */
.terms-container .bdsm-compatible-checkbox:checked {
  background: #E83D62 !important;
  border-color: #E83D62 !important;
}

/* White checkmark */

/* BDSM checkbox color overrides */
.terms-container .custom-terms-checkbox {
  background: #241722 !important;
  border-color: #D7AFC5 !important;
}

.terms-container .custom-terms-checkbox:checked {
  background: #E83D62 !important;
  border-color: #E83D62 !important;
}

.terms-container .custom-terms-checkbox:focus-visible {
  outline-color: rgba(255, 145, 166, .55);
}

/* Progress bar */
.progressContainer {
  background-color: rgba(255, 255, 255, .14);
  border-radius: 9999px;
}

.progress {
  background-color: #F54B66;
  border-radius: 9999px;
}

/* Cookie bar */
.cookie-disclaimer {
  background-color: rgba(0, 0, 0, 0.8);
}

.disclaimer-text {
  color: rgba(255, 255, 255, .8);
}

/* Cookie accept button */
.disclaimer-button {
  background-color: #E92D55;
}

/* Generate lead overlay */
.lead-overlay {
  background-color: rgba(0, 0, 0, .8);
}

.custom-font-color {
  color: #fff !important;
}

/* BDSM - Sponsor tooltip */
[data-lp-tooltip] {
  font-size: 11px;
  line-height: 1.4;
  background-color: #30202E !important;
  color: #F3EAF0 !important;

  border: 1px solid rgba(255, 145, 166, .35) !important;
  border-radius: 8px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, .35),
    0 2px 8px rgba(0, 0, 0, .20);
}
