:root {
  --pink: #ff2d78;
  --pink-hot: #ff1a6a;
  --green: #25d366;
  --bg: #050505;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  height: 100%;
  height: 100dvh;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

.header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand__wa {
  display: flex;
  width: 28px;
  height: 28px;
  color: var(--green);
  flex-shrink: 0;
}

.brand__name {
  font-family: Oswald, Outfit, sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--pink);
  line-height: 1;
  white-space: nowrap;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
  flex-shrink: 0;
}

.feed {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.feed__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 8px 12px 14px;
  will-change: transform;
  backface-visibility: hidden;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 2 / 3;
  min-height: 280px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.live {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.card__meta {
  position: absolute;
  left: 10px;
  right: 46px;
  bottom: 10px;
  z-index: 1;
}

.card__name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.card__quote {
  margin-top: 3px;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.card__cam {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 45, 120, 0.45);
}

.card__cam svg {
  width: 16px;
  height: 16px;
}

.dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 28px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    #000 58%
  );
  text-align: center;
  pointer-events: none;
}

.dock > * {
  pointer-events: auto;
}

.dock__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.dock__sub {
  margin: 6px 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1.4;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff4d8d 0%, var(--pink-hot) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 26, 106, 0.38);
  transform-origin: center center;
  animation: cta-pulse 1.6s ease-in-out infinite;
  will-change: transform;
}

.cta:active {
  animation: none;
  transform: scale(0.96);
}

.cta svg {
  width: 22px;
  height: 22px;
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 18px rgba(255, 26, 106, 0.38);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 10px 24px rgba(255, 26, 106, 0.55);
  }
}

.dock__note {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

/* ===== Verify sheet ===== */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet[hidden] {
  display: none !important;
}

.sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: #171b24;
  box-sizing: border-box;
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet.is-open .sheet__mask {
  opacity: 1;
}

.sheet.is-open .sheet__panel {
  transform: translateY(0);
}

.sheet__handle {
  width: 42px;
  height: 4px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sheet__title {
  margin: 8px 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.sheet__desc {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.sheet__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #10141c;
  box-sizing: border-box;
}

.phone__country {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.phone__flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.phone__chevron {
  font-size: 11px;
  opacity: 0.7;
}

.phone__dial {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.phone__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
}

.phone__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.sheet__error {
  margin: 8px 0 0;
  font-size: 12px;
  color: #ff5b7a;
}

.sheet__error[hidden] {
  display: none !important;
}

.country-list {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0f131b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  -webkit-overflow-scrolling: touch;
}

.country-list[hidden] {
  display: none !important;
}

.country-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.country-list__item:last-child {
  border-bottom: none;
}

.country-list__item.is-active {
  background: rgba(255, 45, 120, 0.12);
}

.country-list__item img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.country-list__name {
  flex: 1 1 auto;
  font-size: 14px;
}

.country-list__dial {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.sheet__submit {
  width: 100%;
  height: 52px;
  margin-top: 22px;
  border: none;
  border-radius: 999px;
  background: #ff1f57;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 31, 87, 0.35);
  animation: cta-pulse 1.6s ease-in-out infinite;
}

.sheet__submit:active {
  animation: none;
  transform: scale(0.97);
}

@media (min-width: 768px) {
  body {
    background: #111;
  }

  .app {
    box-shadow: 0 0 0 1px #222, 0 20px 60px rgba(0, 0, 0, 0.45);
  }
}
