:root {
  --page-bg: #f5f7fb;
  --panel-bg: #ffffff;
  --panel-edge: #e5eaf1;
  --panel-soft: #f0f4f8;
  --text: #1f3142;
  --muted: #576b80;
  --accent: #1b96e5;
  --accent-strong: #0a7fd0;
  --dark-pill: #111318;
  --shadow: 0 18px 40px rgba(31, 49, 66, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Bahnschrift, "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 150, 229, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, var(--page-bg) 100%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--panel-edge);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.tool-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: #eef1f4;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  line-height: 0;
}

.tool-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: #1d2025;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.brand-stage {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  line-height: 0;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  justify-self: end;
}

.header-link {
  color: #111318;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 14px 22px;
  border-bottom: 1px solid #edd68f;
  background:
    linear-gradient(90deg, rgba(255, 244, 185, 0.95) 0%, rgba(255, 234, 127, 0.9) 100%);
}

.promo-banner__title,
.promo-banner__deadline {
  margin: 0;
}

.promo-banner__title {
  color: #2f2400;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.promo-banner__deadline {
  color: #5d4809;
  font-weight: 600;
  white-space: nowrap;
}

.promo-banner__deadline time {
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(360px, 41%) minmax(0, 1fr);
  min-height: calc(100vh - 77px);
}

.auth-column {
  display: grid;
  place-items: center;
  padding: 44px 32px;
  border-right: 1px solid var(--panel-edge);
  background: rgba(255, 255, 255, 0.72);
}

.auth-panel {
  width: min(420px, 100%);
}

.auth-tag,
.result-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-panel h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.auth-copy,
.download-block p,
.micro-note,
.result-card p,
#result-list li {
  color: var(--muted);
  line-height: 1.6;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

label {
  font-size: 0.95rem;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  background: #f7f8fa;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:focus {
  border-color: rgba(27, 150, 229, 0.45);
  box-shadow: 0 0 0 4px rgba(27, 150, 229, 0.12);
  background: #ffffff;
}

input::placeholder {
  color: #8b96a3;
}

.aux-link {
  margin: 4px 0 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(27, 150, 229, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(27, 150, 229, 0.22);
}

.site-header .tool-button {
  min-height: 42px;
  border-radius: 50%;
  background: #eef1f4;
  box-shadow: none;
  color: inherit;
}

.site-header .tool-button:hover,
.site-header .tool-button:focus-visible {
  transform: none;
  box-shadow: none;
  background: #e4e9ef;
}

.form-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff2ef;
  border: 1px solid #ffcabc;
  color: #a44a31;
}

.download-block {
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #111318;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 2px;
}

.store-grid i {
  display: block;
  width: 10px;
  height: 10px;
}

.store-grid i:nth-child(1) {
  background: #f44f4f;
}

.store-grid i:nth-child(2) {
  background: #79c255;
}

.store-grid i:nth-child(3) {
  background: #1b96e5;
}

.store-grid i:nth-child(4) {
  background: #ffca45;
}

.store-badge strong,
.store-badge span {
  display: block;
  line-height: 1.2;
}

.store-badge strong {
  font-size: 0.72rem;
  font-weight: 500;
}

.store-badge span {
  font-weight: 700;
}

.micro-note {
  margin-top: 14px;
  font-size: 0.92rem;
}

.result-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-md);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.result-card h2 {
  margin: 14px 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

#result-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

#result-list li + li {
  margin-top: 8px;
}

.HomepageContent_videoSlidesContainer__RYMzP {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  align-content: start;
}

.HomepageContent_bitmojiImg__74_Ok {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  display: block;
  grid-column: 1 / -1;
}

.VideoSlides_videoSlide__F3y7i {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background: #111318;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.VideoSlides_videoWrapper__FY7c_ {
  position: absolute;
  inset: 0;
}

.VideoSlides_videoSlideVideo__66B_g {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.VideoSlides_videoSlideOverlay__rlbLy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.14) 0%, rgba(8, 12, 18, 0.72) 100%);
}

.Heading_h200__9PE2a {
  margin: 0;
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.VideoSlides_videoSlideButton__kurRM {
  margin-top: auto;
}

.VideoSlides_videoSlideButton__kurRM .buttons_sdsButton__57EIz {
  min-height: 40px;
  padding: 0 16px;
  background: rgba(17, 19, 24, 0.84);
  box-shadow: none;
}

.VideoSlides_videoSlideButton__kurRM .buttons_sdsButton__57EIz:hover,
.VideoSlides_videoSlideButton__kurRM .buttons_sdsButton__57EIz:focus-visible {
  box-shadow: none;
  background: rgba(17, 19, 24, 0.95);
}

.feature-showcase {
  padding: 18px;
}

.feature-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 30px;
  color: #ffffff;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card.is-active,
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(31, 49, 66, 0.16);
}

.feature-card--tall {
  min-height: 430px;
}

.feature-card--wide {
  min-height: 260px;
}

.feature-card__media,
.feature-card__media::before,
.feature-card__media::after {
  position: absolute;
  inset: 0;
}

.feature-card__media {
  overflow: hidden;
  transition: transform 220ms ease, filter 220ms ease;
}

.feature-card.is-active .feature-card__media,
.feature-card:hover .feature-card__media,
.feature-card:focus-within .feature-card__media {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.feature-card__media::before,
.feature-card__media::after {
  content: "";
  pointer-events: none;
}

.feature-card__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.12) 0%, rgba(9, 14, 22, 0.32) 52%, rgba(9, 14, 22, 0.76) 100%);
}

.feature-card__title {
  max-width: 12ch;
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-card__copy {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

button.feature-card__cta {
  align-self: flex-start;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.76);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

button.feature-card__cta:hover,
button.feature-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
  background: rgba(17, 19, 24, 0.9);
}

.feature-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card--friends .feature-card__media {
  background:
    radial-gradient(circle at 28% 76%, rgba(255, 185, 54, 0.96) 0 8%, transparent 8.5%),
    radial-gradient(circle at 32% 79%, rgba(255, 248, 219, 0.96) 0 4.5%, transparent 5%),
    linear-gradient(180deg, rgba(24, 50, 76, 0.12), rgba(24, 50, 76, 0.22)),
    linear-gradient(180deg, #2f5f88 0%, #7fb4dc 54%, #dccbbb 55%, #7d6b5c 100%);
}

.feature-card--friends .feature-card__media::before {
  inset: auto -16px 8px auto;
  width: 315px;
  height: 315px;
  border-radius: 46% 46% 44% 44%;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.64), transparent 18%),
    radial-gradient(circle at 48% 42%, #dcb8a0 0 26%, #cb967f 34%, #9f7e72 58%, transparent 60%),
    radial-gradient(circle at 46% 44%, #1b2630 0 3px, transparent 4px),
    radial-gradient(circle at 57% 44%, #1b2630 0 3px, transparent 4px),
    radial-gradient(circle at 51% 52%, #ea9c86 0 10px, transparent 11px),
    linear-gradient(180deg, #d6c6bd 0%, #f2e5da 100%);
  box-shadow: inset 0 -20px 40px rgba(117, 83, 64, 0.18);
}

.feature-card--friends .feature-card__media::after {
  inset: auto 0 14px 0;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 18, 25, 0.56) 45%, rgba(16, 18, 25, 0.72) 100%);
}

.feature-card--lenses .feature-card__media {
  background:
    radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #061019 0%, #183244 38%, #687f93 100%);
}

.feature-card--lenses .feature-card__media::before {
  inset: 34px auto auto 18px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 36%, rgba(255, 255, 255, 0.7), transparent 16%),
    radial-gradient(circle at 60% 62%, rgba(31, 114, 187, 0.95), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(148, 176, 196, 0.7), transparent 60%),
    #516677;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.feature-card--lenses .feature-card__media::after {
  inset: auto 42px 30px auto;
  width: 180px;
  height: 260px;
  border-radius: 44% 44% 32% 32%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.88) 0 14%, transparent 15%),
    linear-gradient(180deg, rgba(240, 244, 247, 0.95) 0%, rgba(176, 190, 203, 0.92) 100%);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(255, 255, 255, 0.12);
  transform: rotate(10deg);
}

.feature-card--spotlight .feature-card__media {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.24), transparent 18%),
    radial-gradient(circle at 24% 0%, rgba(255, 184, 61, 0.22), transparent 22%),
    linear-gradient(160deg, #2b143f 0%, #101c35 44%, #071726 100%);
}

.feature-card--spotlight .feature-card__media::before {
  inset: auto 22px 22px 22px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
}

.feature-card--spotlight .feature-card__media::after {
  inset: auto auto 34px 28px;
  width: 210px;
  height: 92px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.feature-card--map .feature-card__media {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.22), transparent 20%),
    linear-gradient(135deg, #4a8550 0%, #87b95f 40%, #3f7f8e 78%, #1d4556 100%);
}

.feature-card--map .feature-card__media::before {
  inset: 18px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.38;
}

.feature-card--map .feature-card__media::after {
  inset: auto 26px 26px auto;
  width: 150px;
  height: 52px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hidden {
  display: none;
}

@media (max-width: 1180px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .auth-column {
    border-right: 0;
    border-bottom: 1px solid var(--panel-edge);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand-stage {
    min-width: 0;
    height: auto;
  }

  .feature-showcase__grid {
    grid-template-columns: 1fr;
  }

  .HomepageContent_videoSlidesContainer__RYMzP {
    grid-template-columns: 1fr;
  }

  .feature-card--tall,
  .feature-card--wide {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 8px 10px;
  }

  .promo-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
  }

  .promo-banner__deadline {
    white-space: normal;
  }

  .auth-column,
  .feature-showcase {
    padding: 18px;
  }

  .auth-panel h1 {
    font-size: 2rem;
  }

  .tool-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .brand-stage {
    min-width: 0;
    padding: 0;
  }

  .header-link {
    font-size: 0.88rem;
  }

  .feature-card__title {
    font-size: 1.85rem;
  }
}
