/* ─────────────────────────────────────────────────────────────────────────────
   The Huda Vault — Global Styles
   Mobile-first. All measurements in rem/px. No external font dependencies.
───────────────────────────────────────────────────────────────────────────── */
html {
  font-size: 62.5%;
}

/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --clr-primary: #e91e8c;
  --clr-primary-dk: #c2176e;
  --clr-accent: #ff6ab0;
  --clr-bg: #1a0010;
  --clr-bg-color: #c2407a;
  --clr-surface: rgba(255, 255, 255, 0.08);
  --clr-text: #fff;
  --clr-text-muted: rgba(255, 255, 255, 0.6);
  --clr-error: #FFE985;
  --clr-success: #69f0ae;

  --radius: 12px;
  --radius-lg: 20px;
  --gap: 20px;
  --font: -apple-system, 'Review Trial Regular';
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: var(--font);
  background: var(--clr-bg-color);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
}

/* ── Pages ──────────────────────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap);
}

.page__inner {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

/* ── Branding ───────────────────────────────────────────────────────────────── */
.brand-logo {
  width: 120px;
  margin-bottom: 4px;
}

.brand-logo img {
  width: 100%;
}

/* ── Typography ─────────────────────────────────────────────────────────────── */
.page__headline {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--clr-primary);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.page__tagline {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--clr-text);
}

.page__sub {
  font-size: 0.95rem;
  text-align: center;
  color: var(--clr-text-muted);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.12s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.45);
}

.btn--primary:hover {
  background: var(--clr-primary-dk);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--secondary {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn--secondary:hover {
  background: rgba(233, 30, 140, 0.08);
}

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--clr-primary);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #1a0010 inset;
  -webkit-text-fill-color: #fff;
}

/* ── Loading screen ─────────────────────────────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-color);
  transition: opacity 0.5s ease;
}

.loading-screen__logo {
  width: 16rem;
  height: auto;
  opacity: 0;
  animation: loader-logo-in 0.6s ease 0.3s forwards;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.55));
  /* iOS Safari clips drop-shadow to the img box; padding gives the glow room */
  padding: 4rem;
  box-sizing: content-box;
}

@keyframes loader-logo-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-screen--gone {
  opacity: 0;
  pointer-events: none;
}

/* ── Welcome page ───────────────────────────────────────────────────────────── */
.body--welcome {
  /* background-color: #e91e8c; */
  overflow: hidden;
}

.welcome {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: scroll;
}

/* Full-screen video pinned behind everything */
.welcome__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Logo — always visible, pinned to top */
.welcome__header {
  /* position: absolute;
  top: 0;
  left: 0;
  right: 0; */
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 5.3rem 0 0 0;
}

.welcome__logo {
  width: 100%;
  max-width: 19rem;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

/* Footer — always visible, pinned to bottom */
.welcome__footer {
  /* position: absolute; */
  /* bottom: 0; */
  /* left: 0; */
  /* right: 0; */
  z-index: 2;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.welcome__footer p,
.welcome__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.75);
}

.welcome__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.welcome__headline {
  font-family: "Review Poster Bold";
  font-size: clamp(1.55rem, 10vw, 4.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}

/* Overlay — copy + CTA only; hidden when video plays */
.welcome__overlay {
  /* position: absolute; */
  /* inset: 0; */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* padding: 16rem 2.5rem 8.5rem; */
  /* padding: 15vh 2.5rem 0; */
  padding: 4.5vh 2.5rem 0;
  transition: opacity 0.4s ease;
  gap: 42vh;
  gap: 42dvh;
}

.welcome__overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.welcome__body {
  width: 100%;
  /* max-width: 360px; */
  padding: 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.welcome__copy {
  font-family: var(--font);
  font-size: clamp(1.5rem, 10vw, 1.6rem);
  padding: 0 0.75rem;
  color: #fff;
  line-height: 1.6;
}

.welcome__copy strong {
  font-weight: 700;
}

.welcome__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 25.3rem;
  height: 5.4rem;
  padding: 16px 28px;
  border: none;
  border-radius: 7.05rem;
  background: #ED498E;
  color: #fff;
  font-family: 'Review Wide Bold', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
}

.welcome__cta:active {
  transform: scale(0.97);
  background: #fff;
}

/* ── Terms & Conditions page ────────────────────────────────────────────────── */
.body--terms {
  /* background: linear-gradient(180deg, #d4587a 0%, #c2407a 100%); */
}

.terms {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-bg-color);
}

.terms__header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 36px 24px 16px;
  gap: 12px;
}

.terms__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.terms__back:active {
  background: rgba(255, 255, 255, 0.35);
}

.terms__logo {
  width: 100%;
  min-width: 15rem;
  max-width: 20rem;
  height: auto;
  margin: 0 auto;
  margin-right: 36px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

.terms__body {
  width: 100%;
  max-width: 480px;
  padding: 8px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.terms__title {
  font-family: 'Review Poster Black', sans-serif;
  font-size: clamp(1.4rem, 12vw, 5rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 4px;
}

.terms__card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.terms__section-title {
  font-family: 'Review Trial Bold', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.terms__text {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.terms__text a {
  color: #fff;
  text-decoration: underline;
}

.terms__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms__list li {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.terms__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.6);
}

.terms__footer {
  padding: 0 24px 32px;
  text-align: center;
}

.terms__footer p,
.terms__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.7);
}

/* ── Closed page ────────────────────────────────────────────────────────────── */
.body--closed {
  /* background: var(--Linear, linear-gradient(180deg, #EA98AD 0%, #C04D6A 63.94%)); */
}

.page--closed {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

.closed-card {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* background: var(--Linear, linear-gradient(180deg, #EA98AD 0%, #C04D6A 63.94%)); */
  background: var(--clr-bg-color);
  overflow: hidden;
  padding: 10rem 0 7rem 0;
}

.closed-card__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.closed-card__watermark img {
  width: 100%;
  /* max-width: 340px; */
  user-select: none;
}

.closed-card__top,
.closed-card__middle,
.closed-card__bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closed-card__title {
  font-family: "Review Poster Bold";
  font-size: clamp(1.8rem, 13vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.1;
}

.closed-card__logo {
  height: 8.6rem;
  width: auto;
  display: block;
  object-fit: contain;
  padding: 0 3rem;
  filter: brightness(0) invert(1);
}

/* Countdown */
.closed-countdown {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: #fff;
}

.closed-countdown__segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.closed-countdown__digits {
  font-family: 'overtime-lcd-pro', 'Lucida Console', monospace;
  font-size: clamp(3rem, 15vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.closed-countdown__label {
  font-family: "Review Wide Bold";
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.closed-countdown__sep {
  font-family: 'overtime-lcd-pro', 'Lucida Console', monospace;
  font-size: clamp(3rem, 15vw, 7.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  padding-bottom: 2rem;
}

/* Date display */
.closed-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.closed-date__label {
  font-family: "Review Wide Bold";
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.closed-date__value {
  font-family: "Review Poster Black";
  font-size: clamp(2.8rem, 13vw, 9rem);
  text-shadow: 0 0 10.248px rgba(255, 255, 255, 0.76);
  font-weight: 900;
  letter-spacing: 0.5rem;
  color: #fff;
  line-height: 1.1;
}

/* ── Success page ───────────────────────────────────────────────────────────── */
.page--success {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--clr-primary);
  text-shadow: 0 0 24px rgba(233, 30, 140, 0.55);
  margin-bottom: 8px;
  line-height: 1;
}

.success-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Phone row (dial code select + number input) ────────────────────────────── */
.phone-row {
  display: flex;
  width: 100%;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s;
  overflow: hidden;
}

.phone-row:focus-within {
  border-color: var(--clr-primary);
}

.dial-select {
  flex-shrink: 0;
  width: 110px;
  padding: 13px 28px 13px 12px;
  border: none;
  border-right: 1.5px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.35)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.dial-select option {
  background: #1a0010;
  color: #fff;
}

.phone-row input[type="tel"] {
  flex: 1;
  padding: 13px 16px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  min-width: 0;
  width: 100%;
  box-shadow: none !important;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--clr-text);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--clr-primary);
  flex-shrink: 0;
}

.form-error {
  font-size: 1.5rem;
  font-family: var(--font);
  color: var(--clr-error);
  min-height: 1.1em;
}

.success-message {
  color: var(--clr-success);
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(105, 240, 174, 0.1);
}

.error-message {
  color: var(--clr-error);
  font-size: 20px;
  text-align: center;
  background-color: #FFF;
  margin: 20px;
}

/* ── Rules page ─────────────────────────────────────────────────────────────── */
.body--rules {
  /* background-color: #d4587a;
  background-image: linear-gradient(to bottom,
      #d4587a 0%,
      #d4587a 50%,
      #c2407a 50%,
      #c2407a 100%); */
  overflow-x: hidden;
}

.rules-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-bg-color);
}

.rules-page__inner {
  width: 100%;
  max-width: 440px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 5.3rem 2rem 1.5rem 2rem;
}

.rules-page__wordmark {
  width: 100%;
  max-width: 19rem;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

.rules-page__headline {
  font-family: "Review Poster Bold";
  font-size: clamp(1.55rem, 10vw, 4.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}

.rules-page__intro {
  color: rgb(255, 255, 255);
  text-align: center;
  line-height: 1.6;
  font-family: "Review Trial Regular";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
}

.rules-page__intro strong {
  font-weight: 700;
  color: #fff;
}

.rules-card {
  width: 100%;
  border-radius: 1rem;
  background: rgb(119, 44, 63, 0.63);
  padding: 2.5rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rules-card__title {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.76);
  font-family: "Review Wide Bold";
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 4px;
}

.rules-card__title_luck {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.76);
  font-family: "Review Wide Bold";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 4px;
}


.rules-card__text {
  font-family: "Review Trial Regular";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7rem;
  color: rgb(255, 255, 255);
  text-align: center;
}

.row-bottle-descriptions {
  display: flex;
  flex-direction: row;
  text-align: center;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: 400;
}

.bottle-image-rules {
  width: 40px;
  height: auto;
  display: block;
}

/* .rules-card__text span strong {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 37px;
} */

.rules-card__text strong {
  color: #fff;
  font-family: "Review Trial Bold";
  font-weight: 700;
  line-height: 1.7rem;
}

.rules-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 25.3rem;
  height: 5.4rem;
  border: none;
  border-radius: 7rem;
  background: #ED498E;
  color: #fff;
  font-family: 'Review Wide Bold', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  margin-top: 1rem;
}

.rules-page__cta:active {
  transform: scale(0.97);
  background: #fff;
  color: #ED498E;
}

.rules-page__footer {
  width: 100%;
  padding: 16px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rules-page__footer p,
.rules-page__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.75);
}

.rules-page__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Score page ─────────────────────────────────────────────────────────────── */
.body--score {
  /* background: var(--clr-bg-color); */
  overflow-x: hidden;
}

.score-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-bg-color);
}

.score-page__inner {
  width: 100%;
  max-width: 440px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 5.3rem 2rem 3vh 2rem;
}

.score-page__wordmark {
  width: 100%;
  max-width: 19rem;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

.score-page__title-logo {
  width: 100%;
  max-width: 30rem;
  height: auto;
}

.score-card {
  width: 100%;
  min-height: 30dvh;
  border-radius: 1rem;
  background: rgb(119, 44, 63, 0.63);
  padding: 3rem 2rem;
  margin: 2.5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.score-card__label {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.76);
  font-family: "Review Condensed Medium";
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.score-card__value {
  font-family: "Review Poster Black";
  font-size: clamp(2.8rem, 20vw, 9rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.8;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.score-page__earned {
  font-family: "Review Wide Bold";
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.score-page__hint {
  font-family: "Review Trial Regular";
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.6;
}

.score-page__hint strong {
  font-family: "Review Trial Bold";
  font-weight: 700;
}

.score-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* max-width: 25.3rem; */
  height: 5.4rem;
  border: none;
  border-radius: 7rem;
  background: #ED498E;
  color: #fff;
  font-family: 'Review Wide Bold', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  margin-top: 1rem;
  padding: 1rem 1rem;
  text-align: center;
}

.score-page__cta:active {
  transform: scale(0.97);
  background: #fff;
  color: #ED498E;
}

.score-page__footer {
  width: 100%;
  padding: 16px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-page__footer p,
.score-page__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.75);
}

.score-page__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Success page ───────────────────────────────────────────────────────────── */
.body--success {
  /* background: #c2407a; */
  overflow-x: hidden;
}

.success-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-bg-color);
}

.success-page__inner {
  width: 100%;
  max-width: 440px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  padding: 5.3rem 2rem 3.7rem 2rem;
}

.success-page__wordmark {
  width: 100%;
  max-width: 19rem;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

.success-page__title-logo {
  width: 100%;
  max-width: 27rem;
  height: auto;
  margin: 4rem 0 5rem 0;
}

.success-page__thankyou {
  font-family: "Review Wide Bold";
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.success-page__hint {
  font-family: "Review Trial Regular";
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.6;
}

.success-page__livestream-label {
  font-family: "Review Trial Regular";
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 3rem 0 0 0;
}

.success-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 27.8rem;
  height: 5.4rem;
  margin: 1.5rem 0;
  padding: 1rem 1rem;
  border: none;
  border-radius: 7rem;
  background: #ED498E;
  color: #fff;
  font-family: 'Review Wide Bold', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
}

.success-page__cta:active {
  transform: scale(0.97);
  background: #fff;
  color: #ED498E;
}

.success-page__share {
  font-family: "Review Trial Regular";
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.success-page__footer {
  width: 100%;
  padding: 16px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-page__footer p,
.success-page__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.75);
}

.success-page__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Register page ──────────────────────────────────────────────────────────── */
.body--register {
  /* background: #c2407a; */
  overflow-x: hidden;
}

.register-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: linear-gradient(180deg, #d4587a 0%, #c2407a 100%); */
  background: var(--clr-bg-color);
}

.register-page__inner {
  width: 100%;
  max-width: 440px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 5.3rem 2rem 3.7rem 2rem;
}

.register-page__wordmark {
  width: 100%;
  max-width: 19rem;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.46));
}

.register-page__title-logo {
  width: 100%;
  max-width: 37rem;
  height: auto;
}

.register-page__hint {
  font-family: "Review Trial Regular";
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.6;
}

.register-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-form__label {
  font-family: "Review Wide Medium";
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}

input.register-form__input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 0.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1a0010;
  font-family: "Review Trial Regular";
  font-size: 1.4rem;
  outline: none;
  transition: background 0.2s;
}

input.register-form__input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

input.register-form__input:focus {
  background: #fff;
}

input.register-form__input:-webkit-autofill,
input.register-form__input:-webkit-autofill:hover,
input.register-form__input:-webkit-autofill:focus,
.register-form .phone-row input[type="tel"]:-webkit-autofill,
.register-form .phone-row input[type="tel"]:-webkit-autofill:hover,
.register-form .phone-row input[type="tel"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #1a0010;
  caret-color: #1a0010;
  background-clip: content-box;
  transition: background-color 9999s ease-in-out 0s;
}

.register-form .phone-row {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0.5rem;
}

.register-form .phone-row:focus-within {
  background: #fff;
  border: none;
}

.register-form .dial-select {
  color: #1a0010;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(0,0,0,0.4)'/%3E%3C/svg%3E");
  border-right-color: rgba(0, 0, 0, 0.12);
  font-size: 1.6rem;
}

.register-form .dial-select option {
  background: #fff;
  color: #1a0010;
  font-size: 1.6rem;
}

.register-form .phone-row input[type="tel"] {
  color: #1a0010;
  font-family: "Review Trial Regular";
  font-size: 1.6rem;
}

.register-form .phone-row input[type="tel"]::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.register-form__checkbox-label {
  font-family: "Review Trial Regular";
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  align-items: center;
}

.register-form__checkbox-label a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-form__checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.register-form__checkbox-label .custom-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.1rem;
  border: 0.5px solid #fff;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.15s;
  cursor: pointer;
}

.register-form__checkbox-label input[type="checkbox"]:checked+.custom-checkbox {
  background: #fff;
}

.register-form__checkbox-label input[type="checkbox"]:checked+.custom-checkbox::after {
  content: '';
  display: block;
  width: 0.45rem;
  height: 0.8rem;
  border: 0.15rem solid #c2407a;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-0.1rem);
}

.register-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 5.4rem;
  border: none;
  border-radius: 7rem;
  background: #ED498E;
  color: #fff;
  font-family: 'Review Wide Bold', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  margin-top: 0.4rem;
}

.register-page__cta:active {
  transform: scale(0.97);
  background: #fff;
  color: #ED498E;
}

.register-page__cta:disabled,
.register-page__cta.is-loading {
  pointer-events: none;
  opacity: 0.72;
  transform: none;
}

.register-page__footer {
  width: 100%;
  padding: 16px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.register-page__footer p,
.register-page__footer a {
  font-size: 1rem;
  font-family: 'Review Wide Regular';
  color: rgba(255, 255, 255, 0.75);
}

.register-page__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Modal ──────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap);
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__box {
  position: relative;
  z-index: 1;
  background: #2a0020;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__box h2 {
  font-size: 1.3rem;
  color: var(--clr-primary);
}

.modal__body {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
