/* =========================================================================
   Betty's Wish Wheel — promo landing
   Figma: Big Deal Show / Web · desktop 1097:13436 · mobile 1102:53829
   Design canvas: desktop 1449px, mobile 360px
   ========================================================================= */

:root {
  --bw-paper: #e5d7bd;
  --bw-card: #efe2c8;
  --bw-ink: #161515;
  --bw-ink-soft: #241b07;
  --bw-ink-mid: #35280d;
  --bw-crimson: #7e0134;
  --bw-maroon: #48011e;
  --bw-pink: #ae0048;
  --bw-night: #0f0815;
  --bw-black: #020202;
  --bw-cream: #f4e5c9;

  --bw-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --bw-font-num: "Mackay", "Montserrat", sans-serif;

  /* horizontal gutter: 133px on the 1449px canvas */
  --bw-gutter: clamp(16px, 9.18vw, 133px);
}

/* --------------------------------- base -------------------------------- */

.bw *,
.bw *::before,
.bw *::after {
  box-sizing: border-box;
}

.bw {
  background: var(--bw-black);
  overflow-x: hidden;
}

/* zero-specificity reset so the component rules below always win */
:where(.bw main) :where(h1, h2, h3, h4, p, ul) {
  margin: 0;
  padding: 0;
}

:where(.bw main) img {
  display: block;
  max-width: 100%;
}

.bw-inner {
  max-width: 1183px;
  margin: 0 auto;
}

/* breakpoint helpers (mirror the site-wide 768px switch) */
.bw-mob {
  display: none;
}

/* transparent header sitting on top of the hero */
.bw .header-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 19;
  background: transparent;
}

/* -------------------------------- buttons ------------------------------ */

.bw-btn {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font-family: var(--bw-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

/* outlined, on dark */
.bw-btn--ghost {
  padding: 19px 24px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bw-btn--ghost:hover {
  color: #fff;
}

/* solid crimson, on paper */
.bw-btn--solid {
  padding: 16px 28px;
  border: 1px solid var(--bw-crimson);
  border-radius: 6px;
  background: var(--bw-crimson);
  color: #fff;
}

.bw-btn--solid:hover {
  background: var(--bw-maroon);
  border-color: var(--bw-maroon);
  color: #fff;
}

/* ================================== hero ================================ */

.bw-hero {
  position: relative;
  aspect-ratio: 1449 / 628;
  min-height: 480px;
  background:
    url(../img/wheel/hero-bg.webp) center top / cover no-repeat,
    var(--bw-black);
}

.bw-hero__inner {
  padding: 10.77% 0 0 11.8%; /* 156px / 171px on the 1449px canvas */
}

.bw-hero__title {
  margin: 0 0 35px;
}

.bw-hero__title img {
  width: 28.64%; /* 415px on the 1449px canvas */
  min-width: 240px;
  max-width: 415px;
  height: auto;
}

.bw-hero__cta {
  margin-left: 4.9%; /* 71px on the 1449px canvas */
}

/* ================================= timer ================================ */

.bw-timer {
  padding: 52px var(--bw-gutter) 54px;
  background:
    url(../img/big-deal/show-bg-timer.png) center / cover no-repeat,
    var(--bw-paper);
  text-align: center;
}

.bw-timer__title {
  color: #000;
  font-family: var(--bw-font);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
}

#timer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  background: linear-gradient(to right, #48001e, #ae0048);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-separator {
  font-family: var(--bw-font-num);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.145em;
  align-self: flex-end;
  margin-bottom: 6px;
}

.time_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  line-height: 1;
  padding: 0 6px;
}

.time_item span:first-child {
  color: #000;
  -webkit-text-fill-color: #000;
  font-family: var(--bw-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 26px;
}

.time_item .time-value {
  font-family: var(--bw-font-num);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.145em;
}

/* trim the trailing letter-space of the last group so the row stays centred */
#minutes .time-value {
  margin-right: -0.145em;
}

/* ============================== wheel block ============================= */

.bw-wheel {
  position: relative;
  overflow: hidden;
  /* the scalloped edge on the artwork bites up into the paper section above */
  margin-top: -11px;
  padding: 11px var(--bw-gutter) 0 clamp(16px, 5.87vw, 85px);
  background:
    url(../img/wheel/wheel-bg.webp) center top / cover no-repeat,
    var(--bw-black);
}

.bw-wheel__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 639px;
  max-width: 1231px;
  margin: 0 auto;
}

.bw-wheel__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 620px;
  padding: 40px 0;
}

.bw-wheel__title {
  color: var(--bw-cream);
  font-family: var(--bw-font);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}

.bw-wheel__text {
  color: rgba(244, 229, 201, 0.82);
  font-family: var(--bw-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  max-width: 625px;
}

.bw-wheel__media {
  position: relative;
  flex: 0 0 auto;
  width: 463px;
  max-width: 46%;
  align-self: center;
}

/* the wheel is three pieces: the ring spins, the hub and the pin stay put */
.bw-wheel__spin {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bw-wheel__spin:focus-visible {
  outline: 2px solid var(--bw-cream);
  outline-offset: 8px;
  border-radius: 50%;
}

.bw-wheel__ring {
  width: 100%;
  height: auto;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  will-change: transform;
}

.bw-wheel__spin.is-spinning {
  cursor: default;
}

.bw-wheel__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 31.97%; /* 148px on a 463px wheel */
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bw-wheel__pin {
  position: absolute;
  left: 50%;
  top: -9.7%; /* the tip dips into the rim of a 463px wheel */
  width: 10.3%; /* ~48px on a 463px wheel */
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

/* =============================== info block ============================= */

.bw-info {
  position: relative;
  padding: 86px var(--bw-gutter) 56px;
  background:
    url(../img/big-deal/show-bg-info.png) center / cover repeat,
    var(--bw-paper);
}

.bw-info__title {
  font-family: var(--bw-font);
  font-size: 75px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #000;
  margin: 0 0 52px;
}

/* ------------------------------- steps --------------------------------- */

.bw-steps {
  display: flex;
  gap: 19px;
  margin-bottom: 46px;
}

.bw-step {
  flex: 1 1 0;
  min-width: 0;
}

.bw-step--mob {
  display: none;
}

.bw-step__card {
  position: relative;
  height: 100%;
  min-height: 390px;
  padding: 27px 26px;
  background: var(--bw-card);
  border: 1.26px solid #000;
  overflow: hidden;
}

.bw-step__dashed {
  position: absolute;
  inset: 14px;
  border: 1px dashed #000;
  pointer-events: none;
}

.bw-step__title {
  position: relative;
  font-family: var(--bw-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.24;
  text-transform: uppercase;
  color: var(--bw-ink);
  margin: 0 0 10px;
}

.bw-step__desc {
  position: relative;
  font-family: var(--bw-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.36;
  color: var(--bw-ink-soft);
  margin: 0;
}

.bw-step__ill {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 210px;
}

.bw-step__ill img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.bw-step__mark {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 25px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-step__mark img,
.bw-step__mark svg {
  width: 100%;
  height: auto;
}

/* --------------------- terms for participation grid -------------------- */

.bw-terms-grid-wrap {
  background: var(--bw-card);
  border: 1.3px solid #000;
  margin-bottom: 42px;
}

.bw-terms-grid__title {
  font-family: var(--bw-font);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: var(--bw-ink);
  padding: 30px 16px 26px;
  border-bottom: 1.3px solid #000;
  margin: 0;
}

.bw-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.bw-terms-col {
  text-align: center;
  padding: 34px 40px 40px;
  border-right: 1px solid #000;
}

.bw-terms-col:last-child {
  border-right: 0;
}

.bw-terms-col__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-terms-col__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bw-terms-col__icon--tier {
  flex-direction: column;
  width: 52px;
  height: 52px;
  border: 2.16px solid var(--bw-maroon);
  border-radius: 6.5px;
  font-family: var(--bw-font);
  font-weight: 700;
  color: var(--bw-maroon);
}

.bw-tier__num {
  font-size: 18px;
  line-height: 1;
}

.bw-tier__label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.bw-terms-col__title {
  font-family: var(--bw-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  margin: 0 0 6px;
}

.bw-terms-col__desc {
  font-family: var(--bw-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.37;
  color: var(--bw-ink-soft);
  margin: 0;
}

/* --------------------------- tickets formula --------------------------- */

.bw-traffic__title {
  font-family: var(--bw-font);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: var(--bw-ink);
  margin: 0 0 40px;
}

.bw-traffic__box {
  border: 2.041px dashed #000;
  padding: 34px 44px;
  display: flex;
  align-items: center;
  gap: 52px;
  min-height: 256px;
  box-sizing: border-box;
}

.bw-traffic__coin {
  flex: 0 0 auto;
  width: 329px;
}

.bw-traffic__coin img {
  width: 100%;
  height: auto;
}

.bw-traffic__body {
  flex: 1 1 auto;
  min-width: 0;
}

.bw-traffic__heading {
  font-family: var(--bw-font);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bw-ink);
  margin: 0 0 18px;
}

.bw-formulas {
  display: flex;
  align-items: stretch;
  gap: 34px;
}

.bw-formula__label {
  font-family: var(--bw-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bw-ink);
  margin: 0 0 12px;
}

.bw-formula__value {
  font-family: var(--bw-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.125;
  color: var(--bw-ink);
  margin: 0;
}

.bw-formula__divider {
  width: 1px;
  align-self: stretch;
  min-height: 68px;
  background: #000;
}

.bw-info__cta {
  text-align: center;
  margin-top: 61px;
}

/* ========================== terms and conditions ======================== */

.bw-tc {
  position: relative;
  padding: 62px var(--bw-gutter) 56px;
  /* artwork fills the whole block instead of running out into flat colour */
  background:
    url(../img/big-deal/show-bg-terms.png) center top / cover no-repeat,
    var(--bw-night);
  color: rgba(255, 255, 255, 0.78);
}

.bw-tc__title {
  font-family: var(--bw-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 22px;
}

.bw-tc__list {
  font-family: var(--bw-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.bw-tc__list > p,
.bw-tc__item {
  margin: 0 0 16px;
}

.bw-tc__list strong {
  color: #fff;
  font-weight: 700;
}

.bw-tc__list ul {
  list-style: disc outside;
  padding-left: 22px;
  margin: 6px 0 0;
}

.bw-tc__list ul li {
  display: list-item;
  list-style: disc outside;
  margin-bottom: 4px;
}

.bw-tc__general-title {
  font-family: var(--bw-font);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 34px 0 12px;
}

.bw-tc__body {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.bw-tc__fade {
  display: none;
}

.bw-tc__general-text {
  font-family: var(--bw-font);
  font-size: 15px;
  line-height: 1.55;
}

.bw-tc__general-text p {
  margin: 0 0 6px;
}

.bw-tc__read-more {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--bw-font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.bw-tc__read-more svg {
  transition: transform 0.25s ease;
}

.bw-tc__read-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ============================== breakpoints ============================= */

/* --- tablet / narrow desktop --- */
@media only screen and (max-width: 1200px) {
  .bw-timer__title {
    font-size: 38px;
  }

  .timer-separator,
  .time_item .time-value {
    font-size: 120px;
  }

  .bw-wheel__title {
    font-size: 48px;
  }

  .bw-wheel__inner {
    min-height: 520px;
    gap: 28px;
  }

  .bw-info__title {
    font-size: 54px;
  }

  .bw-terms-grid__title,
  .bw-traffic__title,
  .bw-traffic__heading {
    font-size: 32px;
  }

  .bw-step__card {
    min-height: 344px;
    padding: 22px 20px;
  }

  .bw-step__ill {
    height: 170px;
  }

  .bw-terms-col {
    padding: 28px 22px 32px;
  }

  .bw-traffic__box {
    gap: 30px;
    padding: 28px 26px;
  }

  .bw-traffic__coin {
    width: 190px;
  }
}

/* --- mobile --- */
@media only screen and (max-width: 768px) {
  .bw-dsk {
    display: none !important;
  }

  .bw-mob {
    display: block;
  }

  .bw-hero__cta .bw-mob {
    display: inline;
  }

  :root {
    --bw-gutter: 16px;
  }

  /* hero ------------------------------------------------------------- */
  .bw-hero {
    aspect-ratio: 360 / 727;
    min-height: 0;
    background-image: url(../img/wheel/hero-bg-mobile.webp);
    background-position: center top;
    display: flex;
    align-items: flex-end;
  }

  .bw-hero__inner {
    width: 100%;
    padding: 0 16px 6%;
    text-align: center;
  }

  .bw-hero__title {
    margin: 0 0 5.5%;
  }

  .bw-hero__title img {
    width: 75%;
    min-width: 0;
    margin: 0 auto;
  }

  .bw-hero__cta {
    display: block;
    width: 66%;
    margin: 0 auto;
    padding: 17px 16px;
    text-transform: none;
    font-size: 15px;
  }

  /* timer ------------------------------------------------------------ */
  .bw-timer {
    padding: 34px 12px 56px;
  }

  .bw-timer__title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #timer {
    gap: 0;
  }

  .timer-separator {
    font-size: 62px;
    margin-bottom: 2px;
  }

  .time_item {
    padding: 0 2px;
  }

  .time_item span:first-child {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .time_item .time-value {
    font-size: 62px;
    letter-spacing: 0.02em;
  }

  /* wheel ------------------------------------------------------------ */
  .bw-wheel {
    margin-top: -20px;
    padding: 20px 16px 0;
    background:
      url(../img/wheel/wheel-bg-mobile.webp) center top / cover no-repeat,
      var(--bw-black);
  }

  .bw-wheel__inner {
    flex-direction: column;
    min-height: 0;
    gap: 0;
    padding: 46px 0 34px;
    text-align: center;
  }

  .bw-wheel__media {
    order: -1;
    width: 94%;
    max-width: 350px;
    margin: 0 auto 30px;
  }

  .bw-wheel__copy {
    max-width: none;
    padding: 0;
    width: 100%;
  }

  .bw-wheel__title {
    font-size: 28px;
    line-height: 1.24;
    margin-bottom: 14px;
  }

  .bw-wheel__text {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 320px;
  }

  /* info ------------------------------------------------------------- */
  .bw-info {
    padding: 38px 16px 40px;
  }

  .bw-info__title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 26px;
  }

  .bw-steps {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .bw-step--mob {
    display: block;
  }

  .bw-step__card {
    min-height: 0;
    padding: 27px 29px 27px;
  }

  .bw-step__title {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .bw-step__desc {
    font-size: 14px;
  }

  .bw-step__ill {
    position: static;
    transform: none;
    height: auto;
    margin: 18px auto 0;
  }

  .bw-step__ill img {
    height: 250px;
    max-height: none;
  }

  .bw-terms-grid-wrap {
    margin-bottom: 26px;
  }

  .bw-terms-grid__title {
    font-size: 26px;
    padding: 22px 16px 20px;
  }

  .bw-terms-grid {
    grid-template-columns: 1fr;
  }

  .bw-terms-col {
    border-right: 0;
    border-bottom: 1px solid #000;
    padding: 26px 22px 28px;
  }

  .bw-terms-col:last-child {
    border-bottom: 0;
  }

  .bw-traffic {
    background: var(--bw-card);
    border: 1.3px solid #000;
    padding: 22px 16px 24px;
  }

  .bw-traffic__title {
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 18px;
  }

  .bw-traffic__box {
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px 24px;
    text-align: left;
  }

  .bw-traffic__coin {
    width: 176px;
    margin: 0 auto;
  }

  .bw-traffic__body {
    width: 100%;
  }

  .bw-traffic__heading {
    /* has to stay on one line inside the dashed box, down to 320px */
    font-size: clamp(22px, 7.2vw, 26px);
    white-space: nowrap;
    margin-bottom: 14px;
  }

  .bw-formulas {
    flex-direction: column;
    gap: 16px;
  }

  .bw-formula__label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .bw-formula__value {
    font-size: 19px;
    font-weight: 700;
    color: var(--bw-ink);
  }

  .bw-formula__divider {
    display: none;
  }

  .bw-info__cta {
    margin-top: 30px;
  }

  .bw-info__cta .bw-btn--solid {
    display: block;
    width: 100%;
  }

  /* terms ------------------------------------------------------------ */
  .bw-tc {
    padding: 34px 16px 40px;
  }

  .bw-tc__title {
    font-size: 24px;
  }

  .bw-tc__list {
    font-size: 14px;
  }

  .bw-tc__read-more {
    display: flex;
  }

  .bw-tc__fade {
    display: block;
    height: 92px;
    margin-top: -92px;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(15, 8, 21, 0) 0%,
      rgba(15, 8, 21, 0.85) 62%,
      #0f0815 100%
    );
  }

  .bw-tc__fade--hidden {
    display: none;
  }
}

@media only screen and (max-width: 380px) {
  .timer-separator,
  .time_item .time-value {
    font-size: 54px;
  }

  .bw-info__title {
    font-size: 32px;
  }
}
