/* Design tokens derived from Figma selection */
:root {
  --color-yellow: #ffba08; /* primary-base, yellow/base */
  --color-text-900: #0a0d14; /* text/main-900, neutral/900 */
  --color-soft-400: #868c98; /* text/soft-400, icon/soft-400 */
  --color-white: #ffffff; /* bg/white-0 */
  --color-neutral-100: #f6f8fa; /* neutral/100 */
  --color-stroke-200: #e2e4e9; /* stroke/soft-200 */

  --font-family: 'Rethink Sans', system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;

  --fs-h2: 48px; /* Title/H2 Title */
  --lh-h2: 56px;
  --fs-lead: 18px; /* Paragraph/Large */
  --lh-lead: 24px;
  --fs-button: 14px; /* Label/Button */
  --lh-button: 20px;
  --fs-small: 14px; /* Paragraph/Small */
  --lh-small: 1.45;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(10, 13, 20, 0.08);
  --neutral-900: #0a0d14;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text-900);
  display: flex;
  min-height: 100svh;
}

.page {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  background: var(--color-neutral-100);
}

.page-main {
  position: relative;
  width: 100%;
  max-width: 1440px;
  z-index: 1;
}

.hero-card {
  background-color: var(--color-white);
  background-image: url('./assets/play-lander-mobile-bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 30% auto;
  display: flex;
  flex-direction: column;
  height: 100svh;
}

@media (min-width: 390px) {
  .hero-card {
    /* background-size: 65% auto; */
    background-size: 90%;
  }
}

@media (min-width: 428px) {
  .hero-card {
    /* background-size: 57% auto; */
    background-size: 90%;
  }
}

@media (min-width: 768px) {
  .hero-card {
    background-size: 54% auto;
  }
}

.hero-card_container {
  width: 100%;
  padding: 2rem 1.56rem 0;
}

.hero-card__header {
  display: flex;
  justify-content: start;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-900);
  text-decoration: none;
  font-weight: 700;
}
.brand--stacked {
  gap: 16px;
}
.brand__lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand__tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-soft-400);
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-yellow);
  color: var(--color-text-900);
  box-shadow: var(--shadow-soft);
  font-size: 18px;
}
.logo-text {
  font-weight: 700;
  letter-spacing: -0.3px;
  font-size: 20px;
}

.hero-card__body {
  display: flex;
  flex-direction: column;
}

.hero-title {
  margin: 8px 0 12px;
  text-align: left;
  width: 100%;
  color: var(--color-text-900);
  font-family: 'Rethink Sans';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem; /* 125% */
}

.hero-content {
  margin: 0;
  color: var(--color-text-900);
  text-align: left;
  font-family: 'Rethink Sans';
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem; /* 150% */
  letter-spacing: -0.011rem;
  width: 90%;
}

.lead {
  padding-bottom: 10px;
}

.brand-logo {
  width: 122.757px;
  height: 31.999px;
  flex-shrink: 0;
}

.hero-form {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  margin-top: 1.2rem;
}

/* Countdown pill */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 428px) {
  .hero-card_container {
    padding: 3.06rem 1.56rem 2.5rem;
  }

  .hero-card__header {
    margin-bottom: 2.38rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 2.5rem; /* 125% */
  }

  .hero-content {
    font-size: 1rem;
    line-height: 1.5rem; /* 150% */
    letter-spacing: -0.011rem;
  }

  .lead {
    padding-bottom: 5px;
  }

  .hero-form {
    margin-top: 1rem;
  }

  .countdown {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-form {
    margin-top: 2rem;
  }
  .lead {
    padding-bottom: 20px;
  }
}
.pill {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--color-neutral-100);
  border: 0.453px solid var(--color-stroke-200);
  border-radius: 8px;
  padding: 8px 24px;
  width: 100%;
  justify-content: center;
}
.pill span {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Rethink Sans';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2rem; /* 133.333% */
  letter-spacing: -0.0225rem;
}
.pill strong {
  font-weight: 500;
  color: var(--color-text-900);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: -0.176px;
}
.pill em {
  font-style: normal;
  color: var(--color-soft-400);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: -0.176px;
}
.pill b {
  color: var(--color-text-900);
  font-weight: 500;
}

/* Waitlist form */
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.input {
  position: relative;
  width: 100%;
  max-width: none;
}
.input .icon {
  position: absolute;
  inset-inline-start: 12px;
  top: 55%;
  transform: translateY(-50%);
  color: var(--color-soft-400);
}
.input input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  border: 1px solid var(--color-stroke-200);
  border-radius: 10px;
  background: var(--color-white);
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-900);
}
.input input::placeholder {
  color: var(--color-soft-400);
}
.input input:focus {
  outline: 2px solid color-mix(in oklab, var(--color-yellow) 50%, white);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--color-yellow);
  color: var(--color-text-900);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  width: 100%;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.084px;
}
.btn .arrow {
  transition: transform 0.15s ease;
}
.btn:hover .arrow {
  transform: translateX(2px);
}

.form-note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-soft-400);
  display: none;
}

/* Hero art using Figma asset */
.hero-art {
  display: none;
}

/* Decorative background vectors from Figma */
.figma-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg-vec {
  position: absolute;
  display: block;
  max-width: none;
}
/* Positions measured from Figma export approximation */
.bg-vec-1 {
  left: 65%;
  top: 770px;
  width: 1330px;
  height: auto;
  mix-blend-mode: soft-light;
  opacity: 0.7;
}
.bg-vec-2 {
  left: 35%;
  top: 60px;
  width: 1331px;
  height: auto;
  opacity: 0.9;
}

.hero-card__divider {
  text-align: center;
}
.hero-card__divider img {
  width: 240px;
  max-width: 80%;
  height: auto;
  opacity: 0.35;
}

.socials {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-900);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.social:hover span {
  text-decoration: underline;
}
.social span {
  display: none;
}

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  border: 0;
}

@media (min-width: 600px) {
  .brand-logo {
    width: 12.46744rem;
    height: 3.25rem;
  }
  .hero-card {
    padding: 40px 36px;
  }
  .hero-card__header {
    gap: 24px;
  }
  .logo-text {
    font-size: 22px;
  }
  .hero-title {
    font-size: 40px;
  }
  .waitlist {
    gap: 16px;
  }
}

@media (min-width: 960px) {
  .page-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100svh;
  }
  .hero-card {
    padding: 3.3rem 2.69rem;
    background-image: url('./assets/play-lander-bg-min.png');
    background-position: center;
    background-size: contain;
    height: auto;
    background-color: unset;
    /* margin-top: 3rem; */
  }

  .hero-card_container {
    padding: 0;
    padding-left: 2.52rem;
  }

  .hero-card__header {
    justify-content: space-between;
    text-align: left;
    margin-bottom: 1.85rem;
    margin-top: 2.52rem;
  }
  .logo-text {
    font-size: 24px;
  }
  .hero-card__body {
    display: flex;
  }
  .hero-form {
    width: 54%;
    flex-direction: column;
    margin: 0;
  }
  .waitlist {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .btn {
    width: auto;
    font-size: 11px;
    font-weight: 600;
  }
  .hero-art {
    display: block;
    visibility: hidden;
    position: relative;
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }
  .hero-art::after {
    content: '';
    position: absolute;
    inset: auto 10% -10% 10%;
    height: 32px;
    background: rgba(137, 97, 22, 0.08);
    filter: blur(24px);
    border-radius: 50%;
  }
  .hero-art-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-title {
    text-align: left;
    font-size: 2.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.5rem; /* 116.667% */
    letter-spacing: -0.03rem;
  }

  .hero-content {
    text-align: left;
    width: 442.271px;
    padding: 0;
  }
  .lead {
    padding-bottom: 20px;
  }
  .countdown {
    justify-content: flex-start;
    margin: 1rem 0;
  }
  .pill {
    width: 100%;
    max-width: 313px;
  }
  .input {
    width: 59%;
  }
  .social span {
    display: inline;
  }
  .socials {
    justify-content: flex-start;
    margin: 3rem 0;
    padding-left: 0.25rem;
  }
}

@media (min-width: 1200px) {
  .page-main {
    justify-content: center;
  }
  .hero-card {
    padding: 4.17rem 8.33rem;
    margin: 0;
  }

  .hero-card_container {
    padding-left: 0;
  }

  .hero-title {
    text-align: left;
    font-size: 2.65rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.5rem; /* 116.667% */
    letter-spacing: -0.03rem;
    width: 50%;
  }
  .hero-art {
    max-width: 480px;
  }
  .hero-content {
    width: 36%;
    max-width: 500px;
  }
  .pill {
    max-width: 257px;
  }
  .socials {
    margin: 7rem 0;
  }
}

/* Landing page sections - Mobile First */

body {
  background: var(--neutral-900, #0a0d14);
  display: block !important;
  min-height: auto !important;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.header-section {
  position: relative;
  height: 35.25rem;
  background-image: url("/assets/background-rush.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  width: 100%;
}

.logo-container {
  width: 100%;
  max-width: 1200px;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.header-text {
  color: #fff;
  text-align: center;
  font-feature-settings: 'liga' off, 'calt' off;
  font-family: "Rethink Sans";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.02rem;
  margin-bottom: 1.5rem;
}

.header-cta-btn {
  display: flex;
  padding: 0.625rem;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.25rem;
  background: var(--primary-base, #FFBA08);
  box-shadow: 0 1px 2px 0 rgba(55, 93, 251, 0.08);
  border: none;
  color: var(--color-text-900, #0a0d14);
  font-family: "Rethink Sans";
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2rem;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px 0 rgba(55, 93, 251, 0.16);
}

.lottie-container {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lottie-animation {
  width: 100%;
  max-width: 800px;
  height: 200px;
}

.product-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.product-image {
  width: 100%;
  height: auto;
}

.product-text {
  color: #FFF;
  font-feature-settings: 'liga' off, 'calt' off;
  font-family: "Rethink Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.5rem; /* 125% */
}

.win-section {
  text-align: center;
  /* padding: 3rem 1rem; */
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.win-title {
  color: #ffba08;
  text-align: center;
  font-feature-settings: "liga" off, "calt" off;
  font-family: "Rethink Sans";
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2.5rem;
  letter-spacing: -0.1rem;
  margin-bottom: 1.5rem;
}

.win-amount {
  font-feature-settings: "liga" off, "calt" off;
  font-family: "Rethink Sans";
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.08rem;
  background: linear-gradient(180deg, #fff 0%, #0a0d14 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.page {
  background: var(--neutral-900, #0a0d14) !important;
}

/* .hero-card {
  background-color: var(--neutral-900, #0a0d14) !important;
  background-image: none !important;
} */

@media (min-width: 768px) {
  .header-section {
    padding: 2rem;
    height: 55.25rem;
  }

  .logo-container {
    padding: 2rem 0;
  }

  .logo {
    max-width: 200px;
  }

  .header-text {
    font-size: 3rem;
    line-height: 3.5rem;
    letter-spacing: -0.03rem;
    margin-bottom: 4rem;
  }

  #lottie-animation {
    height: 300px;
  }

  .product-section {
    margin: 4rem auto;
    padding: 4rem 2rem;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .product-text {
    /* font-size: 1.25rem;
    line-height: 1.8; */
    font-size: 2rem;
  }

  .win-section {
    /* padding: 6rem 2rem; */
  }

  .win-title {
    font-size: 4rem;
    line-height: 5.02694rem;
    letter-spacing: -0.2rem;
    margin-bottom: 2rem;
  }

  .win-amount {
    font-size: 14rem;
    line-height: 1.2;
    letter-spacing: -0.14rem;
  }
}
