
/* ══════════════════════════════════════════════
   1. CSS VARIABLES (mobile defaults)
══════════════════════════════════════════════ */
:root {
  --red: #a02136;
  --blue: #00a8e1;
  --black: #000000;
  --yellow: #ffef31;
  --foco: "foco", sans-serif;
  --dw-fair: 'DWFairfieldRegular', Helvetica, Arial, sans-serif;
  --dw-fair-narrow: 'DWFairfieldNarrow', Helvetica, Arial, sans-serif;

  --frame-radius: 56px;
  --frame-padding-x: 1.2rem;
  --frame-top-overflow: 50px;
  --frame-top-img-offset: -220px;
  --frame-top-padding: 240px;
  --frame-bottom-img-h: 100px;
  --frame-bottom-img-out: 100px;
  --frame-bottom-padding: 0px;
}


/* ══════════════════════════════════════════════
   2. BASE STYLES (mobile-first, no media queries)
══════════════════════════════════════════════ */

/* ─── Reset / Global ─── */
sup {
  top: -0.5em;
  position: relative;
  font-size: small;
}

sub {
  bottom: 0.0em !important;
}

body {
  font-family: var(--dw-fair), sans-serif;
  font-weight: 400;
  font-size: 18px;
  font-style: normal;
  color: var(--black);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(to right,
      #9E1D32 0%,
      #9E1D32 calc(50% - 3px),
      #000 calc(50% - 3px),
      #000 calc(50% + 3px),
      #00A8E1 calc(50% + 3px),
      #00A8E1 100%);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* ─── Page Wrapper ─── */
.page-wrapper {
  max-width: 1469px;
  margin: 0 auto;
  overflow: hidden;
}

/* ─── Header ─── */
.minionsHeader-wrapper {
  position: relative;
  line-height: 0;
  overflow: visible;
  z-index: 2;
  margin-bottom: -26px;
}

.minionsHeader {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(174deg,
      #000 0%,
      #000 90%,
      transparent 100.0%,
      transparent 100%);
  mask-image: linear-gradient(174deg,
      #000 0%,
      #000 90%,
      transparent 100.0%,
      transparent 100%);
}

.minionsHeader-wrapper::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -3px;
  height: 6px;
  background: #000;
  transform: rotate(-5.5deg);
  transform-origin: left center;
  pointer-events: none;
  z-index: 3;
}

/* ─── Logo ─── */
.logo {
  width: 304px;
  max-width: 100%;
  height: auto;
}

/* ─── Utility Colors ─── */
.red {
  color: var(--red);
}

.blue {
  color: var(--blue);
}

.black {
  color: var(--black);
}

.yellow {
  color: var(--yellow);
}

/* ─── Utility Fonts ─── */
.foco {
  font-family: var(--foco);
}

.foco-frm {
  font-family: var(--foco);
}

.regularText {
  font-family: var(--dw-fair);
}

/* ─── Typography ─── */
.short-terms {
  font-size: 13px;
  line-height: 18px;
}

.main-title {
  font-size: 30px;
  line-height: 28px;
  color: var(--red);
}

.lg-title {
  font-size: 43px;
  line-height: 38px;
  letter-spacing: -1px;
}

.md-title {
  font-size: 26px;
  line-height: 23px;
}

.md-titleBlk {
  font-size: 36px;
  line-height: 28px;
  letter-spacing: -2px;
}

.xl-title {
  font-size: 83px;
  line-height: 63px;
}

.xl-titleBlk {
  font-size: 71px;
  line-height: 60px;
  letter-spacing: -4px;
}

.body-text {
  font-size: 22px;
  line-height: 26px;
}

.body-text.body-text-legal {
  font-size: 20px;
  line-height: 25px;
}

.form-text {
  font-size: 20px;
  text-transform: uppercase;
}

.text-form {
  font-size: 22px;
  line-height: 24px;
}

.text-check {
  font-size: 20px;
  line-height: 24px;
}

.short-text {
  font-size: 12px;
  line-height: 16px;
  color: white;
}

/* ─── Stroked Titles ─── */
.titleBlue-str,
.titleBlue-str-md,
.titleYellow-str,
.titleYellow-str-xl {
  -webkit-text-stroke: 2.5px #000;
  paint-order: stroke fill;
  text-shadow:
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000;
}

.titleBlue-str,
.titleBlue-str-md {
  color: var(--blue);
  font-size: 80px;
  font-style: normal;
  font-weight: 400;
  line-height: 62px;
  letter-spacing: -3.9px;
  -webkit-text-stroke: 6.5px #000;
}

.titleBlue-str-md {
  font-size: 61px;
  line-height: 60px;
}

.titleYellow-str,
.titleYellow-str-xl {
  color: var(--yellow);
  font-size: 34px;
  line-height: 30px;
}

.titleYellow-str-xl {
  font-size: 119px;
  line-height: 79px;
  letter-spacing: -6px;
  -webkit-text-stroke: 7px #000;
  paint-order: stroke fill;
  text-shadow:
    3px 0 0 #000,
    -3px 0 0 #000,
    0 3px 0 #000,
    0 -3px 0 #000,
    3px 3px 0 #000,
    -3px 3px 0 #000,
    3px -3px 0 #000,
    -3px -3px 0 #000;
}

/* ─── Buttons ─── */
.btn.btn-primary {
  height: 96px;
  border-radius: 10px;
  background: var(--blue);
  font-size: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.2s ease;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-family: var(--dw-fair);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:focus-visible,
.btn.btn-primary:first-child:active,
:not(.btn-check)+.btn.btn-primary:active {
  background: color-mix(in srgb, var(--blue) 85%, #000);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.btn.btn-secondary,
.btn.btn-secondary:active,
.btn.btn-secondary:focus:active,
.btn.btn-secondary:first-child:active,
.btn.btn-secondary:focus,
.btn.btn-secondary:focus-visible {
  background: var(--blue);
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--dw-fair);
}

.btn.btn-secondary:hover {
  background: var(--red);
  color: #ffffff;
}

/* ─── Yellow Frame / Button ─── */
.yellowFrame,
.yellowFrame2 {
  display: inline-block;
  transform: rotate(-2deg);
  background: #FFF02D;
  border: 4px solid #050505;
  padding: 0.4rem 3.5rem;
  border-radius: 25px;
}

.yellowFrame2 {
  position: relative;
  top: -60px;
  margin-bottom: -36px;
}

.yellowContent, .yellowContent2 {
  display: inline-block;
  text-transform: uppercase;
  transform: rotate(2deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  font-family: var(--dw-fair);
  margin-bottom: -8px;
}




.yellow-btn-wrapper {
  display: inline-block;
}

.yellow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 63px;
  color: #000;
  font-family: var(--dw-fair);
  font-size: 37px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 0;
  transition: filter 0.15s ease;
  background: none;
  border: none;
  padding-top: 10px;
}

.yellow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 4px solid #050505;
  background: #FFF02D;
  transform: rotate(-2.004deg);
  z-index: -1;
  transition: box-shadow 0.15s ease;
}

.yellow-btn:hover::before {
  box-shadow: 3px 3px 0 #000;
}

.yellow-btn:focus,
.yellow-btn:focus-visible,
.yellow-btn:active,
.yellow-btn:focus:active {
  color: #000;
  outline: none;
}

/* ─── White Frames ─── */
.whiteFrame-wrapper {
  padding-top: var(--frame-top-overflow);
  padding-bottom: var(--frame-bottom-img-out);
  margin: 0 1rem;
  max-width: 680px;
}

.whiteFrame {
  position: relative;
  background: #fff;
  border-radius: var(--frame-radius);
  box-shadow: 8px 8px 0 0 #006C90;
  padding: var(--frame-top-padding) var(--frame-padding-x) calc(var(--frame-bottom-img-h) + var(--frame-bottom-padding));
}

.whiteFrame-wrapper2 {
  padding-bottom: var(--frame-bottom-img-out);
  margin: 0 1rem;
  max-width: 680px;
  margin-top: 20px;
}

.whiteFrame2 {
  position: relative;
  background: #fff;
  border-radius: var(--frame-radius);
  box-shadow: 8px 8px 0 0 #006C90;
  padding: 2rem var(--frame-padding-x) calc(var(--frame-bottom-img-h) + var(--frame-bottom-padding));
}

.whiteFrame3 {
  position: relative;
  background: #fff;
  border-radius: var(--frame-radius);
  box-shadow: 8px 8px 0 0 #006C90;
  padding: 20px;
}

.whiteFrame-wrapper3 {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 80px;
}

/* ─── Shared Overflow Image Rules ─── */
.whiteFrame_top,
.whiteFrame_bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 2;
}

.whiteFrame_top {
  bottom: 100%;
  margin-bottom: var(--frame-top-img-offset);
}

.whiteFrame_bottom {
  top: 100%;
  margin-top: calc(var(--frame-bottom-img-h) * -1);
  left: 50%;
  transform: translateX(-50%);
  width: 115%;
}

.frameTopImg {
  width: 230px;
}

.frameBottomImg {
  width: 100%;
  max-width: 470px;
}

/* ─── Form ─── */
.formFrame {
  max-width: 400px;
  margin: 0 auto;
}

.form-floating>.form-control {
  border: none;
  border-bottom: 2px solid var(--blue);
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  padding: 1.2rem 0 0.2rem 0;
  height: 48px;
  text-align: center;
}

.form-floating>.form-control:focus {
  background: transparent;
  border-bottom-color: var(--blue);
  outline: none;
}

.form-floating>.form-control.is-invalid {
  border-bottom-color: #dc3545;
  background-image: none;
}

.form-floating>.form-control.is-valid {
  border-bottom-color: var(--blue);
  background-image: none;
}

.form-control.is-valid,
.was-validated .form-control:valid {
  border-color: var(--blue);
}

.form-floating>.form-control-plaintext:focus,
.form-floating>.form-control-plaintext:not(:placeholder-shown),
.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
  font-size: 24px;
}

.form-floating>label {
  left: 0;
  right: 0;
  padding: 0;
  text-align: center;
  color: #000;
  transform-origin: center top;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: #000;
  opacity: 0.6;
  transform: scale(0.75) translateY(-1rem);
}

/* ─── Checkbox ─── */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
  flex: 1;
}

.form-check-input {
  width: 25px;
  height: 25px;
  min-width: 25px;
  flex-shrink: 0;
  border: 3px solid #000;
  border-radius: 50% !important;
  background-color: var(--yellow);
  margin: 0;
  margin-top: 2px;
  cursor: pointer;
  box-shadow: none !important;
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: #000;
  background-image: none;
}

.form-check .form-check-input {
  float: left;
  margin-left: 0;
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
  color: #dc3545;
}

.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
    color: #000000;
}

.form-check-input:focus {
  border-color: #000;
}

.form-check-label {
  padding-top: 2px;
}

.form-check-label a {
  color: #000;
  color: inherit;
}

.invalid-feedback {
  text-align: center;
}

/* ─── Footer ─── */
.footer-row {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  max-width: 600px;
  margin: 0 auto;
}

.footer-link {
  font-size: 18px;
  line-height: normal;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: white;
}

.social-icon {
  width: auto;
  height: 30px;
}

.footer-logo {
  max-width: 100px;
  height: auto;
}

/* ─── Background System ─── */
.bg-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  background: linear-gradient(to right,
      #9E1D32 0%,
      #9E1D32 calc(50% - 3px),
      #000 calc(50% - 3px),
      #000 calc(50% + 3px),
      #00A8E1 calc(50% + 3px),
      #00A8E1 100%);
}

.bg-left,
.bg-right {
  position: absolute;
  top: 0;
  width: 50%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  overflow: hidden;
}

.bg-left {
  left: 0;
  height: 760px;
  background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/left-mob.webp");
  background-size: 302px auto;
  background-position: right clamp(-40px, calc(-40px + (100vw - 375px) * 0.29), 57px) top 110px;
}

.bg-right {
  right: 0;
  height: 760px;
  background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/right-mob.webp");
  background-size: 472px auto;
  background-position: left 3px top -30px;
}

/* ─── Page Variant Heights (mobile) ─── */
.short-page .bg-left {
  height: 754px;
  background-position: right clamp(-40px, calc(-40px + (100vw - 375px) * 0.29), 57px) top 110px;
}

.short-page .bg-right {
  height: 682px;
  background-size: 430px auto;
  background-position: left 3px top -26px;
}

.long-page .bg-left {
  height: 1240px;
  background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/left-mob-lg.webp");
  background-size: 302px auto;
  background-position: right clamp(-40px, calc(-40px + (100vw - 375px) * 0.29), 57px) top 110px;
}

.long-page .bg-right {
  height: 1234px;
  background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/right-mob-lg.webp");
  background-size: 472px auto;
  background-position: left 3px top -37px;
}

.form-page .bg-left,
.form-page .bg-right {
  height: 950px;
}

/* Page-specific mobile heights */
.too-early .short-page .bg-right,
.too-late .short-page .bg-right,
.landing .short-page .bg-right {
  height: 904px;
}

.too-early .short-page .bg-left,
.too-late .short-page .bg-left {
  height: 1044px;
}

.landing .short-page .bg-left {
  height: 973px;
}

.user_entries_limit_per_day .short-page .bg-right,
.user_entries_limit .short-page .bg-right {
  height: 560px;
}

.user_entries_limit_per_day .short-page .bg-left,
.user_entries_limit .short-page .bg-left {
  height: 638px;
}


/* ══════════════════════════════════════════════
   3. BREAKPOINT: 480px
══════════════════════════════════════════════ */
@media (min-width: 480px) {

  .whiteFrame-wrapper,
  .whiteFrame-wrapper2 {
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

}


/* ══════════════════════════════════════════════
   4. BREAKPOINT: 768px (tablet)
══════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Variables */
  :root {
    --frame-padding-x: 3rem;
    --frame-top-overflow: 70px;
    --frame-top-img-offset: -321px;
    --frame-top-padding: 342px;
    --frame-bottom-img-h: 173px;
    --frame-bottom-img-out: 180px;
    --frame-bottom-padding: 20px;
    --frame-radius: 132px;
  }

  /* Header */
  .minionsHeader-wrapper {
    margin-bottom: -68px;
  }

  .minionsHeader-wrapper::after {
    left: -7px;
    right: -9px;
    bottom: -1px;
    height: 6px;
    background: #000;
    transform: rotate(-5.2deg);
  }

  .logo {
    margin-top: 40px;
  }

  /* Typography */
  .main-title {
    font-size: 58px;
    line-height: 50px;
  }

  .md-title {
    font-size: 43px;
    line-height: 38px;
  }

  .md-titleBlk {
    font-size: 62px;
    line-height: 48px;
    letter-spacing: -3px;
  }

  .lg-title {
    font-size: 60px;
    line-height: 53px;
  }

  .xl-title {
    font-size: 110px;
    line-height: 83px;
  }

  .xl-titleBlk {
    font-size: 110px;
    line-height: 83px;
    letter-spacing: -4px;
  }

  .text-form {
    font-size: 24px;
  }

  /* Stroked Titles */
  .titleBlue-str,
  .titleBlue-str-md,
  .titleYellow-str,
  .titleYellow-str-xl {
    -webkit-text-stroke: 2px #000;
    paint-order: stroke fill;
    text-shadow:
      4px 0 0 #000,
      -4px 0 0 #000,
      0 4px 0 #000,
      0 -4px 0 #000,
      3px 2px 0 #000,
      -3px 2px 0 #000,
      3px -2px 0 #000,
      -3px -2px 0 #000,
      2px 3px 0 #000,
      -2px 3px 0 #000,
      2px -3px 0 #000,
      -2px -3px 0 #000,
      4px 2px 0 #000,
      -4px 2px 0 #000,
      4px -2px 0 #000,
      -4px -2px 0 #000,
      2px 4px 0 #000,
      -2px 4px 0 #000,
      2px -4px 0 #000,
      -2px -4px 0 #000;
  }

  .titleBlue-str {
    font-size: 122px;
    line-height: 93px;
    letter-spacing: -5.9px;
    font-weight: 400;
  }

  .titleBlue-str-md {
    font-size: 108px;
    line-height: 82px;
    -webkit-text-stroke: 9px #000;
  }

  .titleYellow-str {
    font-size: 72px;
    line-height: 61px;
    letter-spacing: -1.9px;
  }

  .titleYellow-str-xl {
    font-size: 184px;
    line-height: 176px;
    letter-spacing: -5.9px;
  }

  /* Frames */
  .whiteFrame-wrapper,
  .whiteFrame-wrapper2 {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }

  .whiteFrame-wrapper2 {
    margin-top: 40px;
  }

  .whiteFrame2 {
    border-radius: var(--frame-radius);
    padding: 40px var(--frame-padding-x) calc(var(--frame-bottom-img-h) + var(--frame-bottom-padding));
  }

  .whiteFrame3 {
    border-radius: var(--frame-radius);
    padding: 80px;
  }

  .whiteFrame_bottom {
    left: -5%;
    transform: none;
    width: 110%;
  }

  .frameTopImg {
    width: 340px;
  }

  .frameBottomImg {
    width: 100%;
    max-width: none;
  }

  /* Yellow Frame */
  .yellowFrame,
  .yellowFrame2 {
    border: 6px solid #050505;
    padding: 0.5rem 7rem;
    border-radius: 33px;
  }

  .yellowFrame2 {
    top: -73px;
    margin-bottom: -40px;
  }

    .yellowContent2 {
      margin-bottom: -20px;
    }

  /* Footer */
  .footer-logo {
    max-width: 180px;
  }

  /* Background */
  .bg-left,
  .short-page .bg-left,
  .long-page .bg-left {
    background-position: right 110px top 150px;
  }

  .short-page .bg-right {
    height: 904px;
  }

}


/* ══════════════════════════════════════════════
   5. BREAKPOINT: 992px (desktop)
══════════════════════════════════════════════ */
@media (min-width: 992px) {

  /* Header */
  .minionsHeader-wrapper {
    margin-bottom: -68px;
  }

  .minionsHeader {
    -webkit-mask-image: linear-gradient(177deg,
        #000 0%,
        #000 82%,
        transparent 82.4%,
        transparent 100%);
    mask-image: linear-gradient(177deg,
        #000 0%,
        #000 82%,
        transparent 82.4%,
        transparent 100%);
  }

  .minionsHeader-wrapper::after {
    bottom: 1px;
    height: 6px;
    transform: rotate(-3.4deg);
    transform-origin: left center;
  }

  /* Logo */
  .logo {
    width: 100%;
    max-width: 460px;
    height: auto;
    margin-top: 50px;
  }

  /* Background */
  .bg-left,
  .bg-right,
  .short-page .bg-left,
  .short-page .bg-right,
  .long-page .bg-left,
  .long-page .bg-right,
  .form-page .bg-left,
  .form-page .bg-right {
    height: 100%;
  }

  .bg-left,
  .short-page .bg-left,
  .long-page .bg-left,
  .form-page .bg-left {
    background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/left-desk.webp");
    background-size: 270px;
    background-position: right clamp(280px, calc(280px + (100vw - 992px) * 0.288), 340px) top 30px;
  }

  .bg-right,
  .short-page .bg-right,
  .long-page .bg-right,
  .form-page .bg-right {
    background-image: url("https://umb-4553t5.s3.eu-west-1.amazonaws.com/8677/media/right-desk.webp");
    background-size: 720px;
    background-position: left 4px top -33px;
  }

  /* Page-specific desktop heights */
  .short-page .bg-left {
    height: 1063px;
  }

  .short-page .bg-right {
    height: 1092px;
  }

  .too-early .short-page .bg-right,
  .too-late .short-page .bg-right {
    height: 1092px;
  }

  .landing .short-page .bg-right {
    height: 1321px;
  }

  .landing .short-page .bg-left {
    height: 1341px;
  }

  .user_entries_limit_per_day .short-page .bg-right,
  .user_entries_limit .short-page .bg-right {
    height: 840px;
  }

  .user_entries_limit_per_day .short-page .bg-left,
  .user_entries_limit .short-page .bg-left {
    height: 817px;
  }

}


/* ══════════════════════════════════════════════
   6. PAGE-SPECIFIC OVERRIDES (terms / faq)
══════════════════════════════════════════════ */
.terms .whiteFrame-wrapper3,
.faq .whiteFrame-wrapper3 {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.terms .bg-left,
.terms .bg-right,
.faq .bg-left,
.faq .bg-right {
  display: none;
}

.terms .whiteFrame_bottom,
.faq .whiteFrame_bottom {
  display: none;
}