/* Douyin desktop entry / landing */

.dy-entry-body {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 78% 0%, rgba(255, 107, 44, 0.1), transparent 62%),
    radial-gradient(600px 500px at 5% 40%, rgba(100, 216, 255, 0.05), transparent 65%),
    var(--bg);
}

.dy-entry-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(151, 170, 197, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 170, 197, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 55% 0%, #000, transparent 80%);
  z-index: -1;
}

.entry-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.86);
  backdrop-filter: blur(16px);
}

.entry-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.entry-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

.entry-nav a:hover { color: var(--text); }

.entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 70px;
  padding: 70px 0 55px;
  min-height: 620px;
}

.entry-copy h1 {
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.entry-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.entry-lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.entry-chips span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.entry-note {
  max-width: 500px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.65;
}

.phone-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 8%;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.15);
  filter: blur(80px);
  z-index: -1;
}

.phone-frame {
  position: relative;
  width: 286px;
  height: 570px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  background: #0b1018;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 18px;
  border-radius: 999px;
  background: #05080c;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.92);
}

.phone-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.phone-label .live-dot {
  width: 5px;
  height: 5px;
}

.entry-section {
  padding: 38px 0;
}

.entry-section-head {
  max-width: 620px;
}

.entry-section-head h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.entry-section-head p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.entry-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.entry-features article {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), transparent 55%), var(--panel);
  overflow: hidden;
}

.feature-num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.entry-features h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.entry-features p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.entry-steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  counter-reset: step;
}

.entry-steps li {
  display: flex;
  gap: 11px;
  padding: 15px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.entry-steps li b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
}

.entry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(255, 107, 44, 0.09), transparent 65%), var(--panel);
}

.entry-cta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.entry-cta p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
}

.entry-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.entry-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-2);
  font-size: 9px;
}

.entry-footer-inner div {
  display: flex;
  gap: 14px;
}

.entry-footer-inner a:hover { color: var(--text); }

.entry-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  padding: 9px 13px;
  border: 1px solid rgba(56, 224, 161, 0.3);
  border-radius: 7px;
  background: rgba(14, 21, 32, 0.97);
  color: var(--text-soft);
  font-size: 10px;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: 0.2s;
  pointer-events: none;
}

.entry-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .entry-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 46px;
  }

  .phone-stage { order: 2; }
  .phone-frame { width: 250px; height: 500px; }
  .entry-features { grid-template-columns: 1fr; }
  .entry-steps ol { grid-template-columns: 1fr; }
  .entry-cta { flex-direction: column; align-items: flex-start; }
  .entry-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .entry-header-inner { height: 62px; }
  .entry-nav a:first-child { display: none; }
  .entry-copy h1 { font-size: 44px; }
  .entry-actions .btn { width: 100%; }
  .entry-hero { padding-bottom: 34px; }
  .entry-section { padding: 28px 0; }
}
