/* Figtree (OFL), self-hosted for visual match with the source page. */

@font-face {
  font-weight: 500;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-ext-500.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-weight: 500;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-500.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-weight: 700;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-ext-700.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-weight: 700;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-700.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-weight: 800;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-ext-800.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-weight: 800;
  font-family: Figtree;
  font-style: normal;
  src: url('../fonts/figtree-latin-800.woff2') format('woff2');
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  --app-layout-width: 100vw;

  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #000;
}

body {
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

#app {
  width: var(--app-layout-width);
  height: 100%;
  height: 100svh;
  height: 100dvh;
  background: #000;
}

.page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background-video,
.video-poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  inset: 0;
}

.video-poster {
  z-index: 0;
  opacity: 1;
  transition: opacity 0.18s ease-out;
}

.background-video {
  z-index: 1;
}

.video-poster.is-hidden {
  opacity: 0;
}

.bottom-content {
  position: absolute;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(61px, env(safe-area-inset-bottom, 0px));
  left: max(24px, env(safe-area-inset-left, 0px));
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgb(249 54 183 / 50%);
  border-radius: 8.842px;
  overflow: hidden;
}

.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  font-family: Figtree, Arial, sans-serif;
  line-height: 24px;
  white-space: nowrap;
}

.hero-title {
  margin: 0;
  padding: 7px 9px;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  font-family: Figtree, Arial, sans-serif;
  line-height: normal;
  white-space: pre-line;
  text-align: center;
}

.enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 17px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family:
    Figtree,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #ff1c79, #ff4791 50.157%, #ff0cdb);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.enter-btn:active {
  transform: scale(0.98);
}

.bottom-caption {
  margin: 0;
  color: #fff9;
  font-weight: 500;
  font-size: 14px;
  font-family:
    Figtree,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 18px;
  text-align: center;
}

/* Desktop / tablet: keep the video full-bleed, constrain the CTA column. */

@media (width >= 768px) {
  .bottom-content {
    right: auto;
    bottom: max(72px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    width: min(420px, calc(100% - 48px));
    transform: translateX(-50%);
  }

  .hero-title {
    font-size: 28px;
  }
}

@media (width >= 1200px) {
  .bottom-content {
    bottom: max(80px, env(safe-area-inset-bottom, 0px));
    width: min(480px, calc(100% - 48px));
  }

  .hero-title {
    font-size: 32px;
  }

  .brand-name {
    font-size: 22px;
  }
}

/* After width queries so short landscape keeps the CTA cluster on-screen. */

@media (height <= 680px) {
  .bottom-content {
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  .hero-title {
    font-size: 21px;
  }
}

.playback-hint[hidden] {
  display: none;
}

.playback-hint {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family:
    Figtree,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  line-height: 18px;
  white-space: nowrap;
  text-align: center;
  background: rgb(0 0 0 / 55%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
