/* Figma: web-进入页面弹窗 — Frame 2131455574 */
@import url("glass-card.css");

.entry-page {
  --entry-bg: #100f0f;
  --entry-card: #13151b;
  --entry-accent: #4cffd8;
  --entry-enter-text: #001d15;
  --entry-muted: rgba(255, 255, 255, 0.5);
  --entry-body: rgba(255, 255, 255, 0.8);
  --entry-pill-bg: rgba(255, 255, 255, 0.05);
  --entry-pill-border: rgba(255, 255, 255, 0.3);
  --entry-enter-grad: linear-gradient(90deg, #cbfcf2 0%, #4bffd9 50%, #76ef7d 100%);
  --entry-leave-grad: linear-gradient(90deg, #181516 0%, #3a4a39 50%, #7a474d 75%, #27232d 100%);
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--entry-bg);
  color: var(--entry-body);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.entry-page *,
.entry-page *::before,
.entry-page *::after { box-sizing: border-box; }

.entry-page a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-page button {
  font: inherit;
  cursor: pointer;
}

.entry-canvas {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.entry-card {
  position: relative;
  width: 600px;
  max-width: 100%;
  min-height: 600px;
  border-radius: 30px;
  background: var(--glass-bg-panel);
  overflow: hidden;
  isolation: isolate;
}

.entry-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 36px;
}

.entry-title {
  margin: 0;
  max-width: 596px;
  color: var(--entry-accent);
  font-size: 30px;
  font-weight: 600;
  line-height: 42px;
  text-align: center;
}

.entry-lead {
  margin: 24px 0 0;
  max-width: 437px;
  color: var(--entry-body);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}

.entry-checklist {
  width: 100%;
  max-width: 534px;
  margin: 20px 0 0;
}

.entry-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.entry-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--entry-muted);
  font-size: 13px;
  line-height: 18px;
}

.entry-checklist li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--entry-accent);
  border-radius: 50%;
  color: var(--entry-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.entry-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 12px 20px;
  width: 100%;
  max-width: 349px;
  margin: 20px 0 0;
}

.entry-trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 29px;
  padding: 6px 18px;
  border: 1px solid var(--entry-pill-border);
  border-radius: 30px;
  background: var(--entry-pill-bg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 14px;
  white-space: nowrap;
}

.entry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 476px;
  margin: 24px 0 0;
}

.entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 228px;
  max-width: calc(50% - 10px);
  height: 54px;
  padding: 10px;
  border: none;
  border-radius: 100px;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  white-space: nowrap;
}

.entry-btn-enter {
  background: var(--entry-enter-grad);
  color: var(--entry-enter-text);
}

.entry-btn-leave {
  background: var(--entry-leave-grad);
  color: rgba(255, 255, 255, 0.6);
}

.entry-legal {
  width: 100%;
  max-width: 403px;
  margin: 24px 0 0;
  color: var(--entry-muted);
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.entry-legal a { color: var(--entry-muted); }

/* Homepage overlay — same card, dimmed backdrop */
.entry-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow-y: auto;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(16, 15, 15, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.entry-gate-overlay .entry-canvas {
  min-height: 100vh;
  min-height: 100dvh;
}

@media (max-width: 640px) {
  .entry-card {
    min-height: 0;
    border-radius: 24px;
  }

  .entry-card-inner {
    padding: 48px 16px 28px;
  }

  .entry-title {
    font-size: 24px;
    line-height: 34px;
  }

  .entry-lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .entry-checklist {
    margin-top: 16px;
  }

  .entry-checklist li {
    font-size: 12px;
    line-height: 17px;
    gap: 6px;
  }

  .entry-trust {
    max-width: 100%;
    gap: 10px 12px;
  }

  .entry-trust-item {
    min-width: 0;
    height: 26px;
    padding: 5px 12px;
    font-size: 9px;
  }

  .entry-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .entry-btn {
    width: 100%;
    max-width: 280px;
    height: 48px;
    font-size: 16px;
    line-height: 22px;
  }
}
