* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #69689a;
  color: #ffffff;
}

body {
  min-height: 100vh;
}

#root {
  min-height: 100vh;
}

.app {
  position: relative;
  min-height: 100vh;
  background: #69689a;
}

.simple-slider {
  min-height: 100vh;
}

.slide {
  position: relative;
  min-height: 100vh;
  width: min(100%, 980px);
  margin: 0 auto;
  overflow: hidden;
}

/* 圆圈整体 */
.orbit-shell {
  position: absolute;
  left: 50%;
  top: 43%;
  width: min(78vw, 430px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}

/* 虚线圆圈 */
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(226, 224, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring.is-rotating {
  animation: orbitSpin 18s linear infinite;
  transform-origin: center center;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 头像 */
.avatar-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(38vw, 225px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(40, 39, 78, 0.30);
  background: rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左侧三个标签 */
.stat-chip {
  position: absolute;
  max-width: 220px;
  font-size: clamp(20px, 2.2vw, 22px);
  line-height: 1.1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 4px rgba(18, 18, 38, 0.45);
  white-space: nowrap;
  background: transparent;
  z-index: 3;
}

.stat-pos-0 {
  left: 2%;
  top: 28%;
  transform: translate(-62%, -50%);
}

.stat-pos-1 {
  left: 0;
  top: 50%;
  transform: translate(-66%, -50%);
}

.stat-pos-2 {
  left: 2%;
  top: 72%;
  transform: translate(-62%, -50%);
}

/* 姓名和职位：电脑端位置 */
.person-info {
  position: absolute;
  left: 100%;
  top: 180px;
  transform: translateX(-50%);
  width: 360px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(20, 20, 44, 0.42);
  z-index: 5;
}

/* 姓名 */
.person-name {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
  white-space: nowrap;
  line-height: 1.1;
}

/* 职位 */
.person-role {
  font-size: clamp(18px, 2.8vw, 21px);
  line-height: 1.08;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

/* 底部文字框 */
.quote-card {
  position: absolute;
  left: 50%;
  bottom: 76px;
  width: min(88vw, 760px);
  transform: translateX(-50%);
  background: rgba(84, 85, 146, 0.68);
  border-radius: 2px;
  box-shadow: 0 14px 24px rgba(46, 46, 85, 0.24);
  padding: 20px 18px 22px;
}

.quote-text {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(20, 19, 44, 0.5);
  letter-spacing: 0.01em;
}

/* 右侧按钮 */
.controls {
  position: fixed;
  right: 14%;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.circle-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
}

.circle-button.primary {
  background: rgba(255, 255, 255, 0.28);
  color: rgba(70, 71, 111, 0.92);
}

.circle-button.ghost {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.86);
}

/* 平板端 */
@media (max-width: 900px) {
  .slide {
    width: 100%;
  }

  .orbit-shell {
    width: min(82vw, 430px);
  }
}

/* 手机端 */
@media (max-width: 820px) {
  .slide {
    width: 100%;
    padding: 0 18px;
  }

  .orbit-shell {
    left: 52%;
    top: 42%;
    width: min(74vw, 430px);
  }

  .avatar-wrap {
    width: min(34vw, 200px);
  }

  .stat-chip {
    font-size: 12px;
    max-width: 180px;
  }

  .stat-pos-0 {
    left: 9%;
    top: 31%;
    transform: translate(-40%, -50%);
  }

  .stat-pos-1 {
    left: 7%;
    top: 50%;
    transform: translate(-42%, -50%);
  }

  .stat-pos-2 {
    left: 9%;
    top: 69%;
    transform: translate(-40%, -50%);
  }

  /* 手机端姓名职位：参考电脑端，放在右侧圆圈之上 */
  .person-info {
    left: 100%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 280px;
    text-align: center;
  }

  .person-name {
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-bottom: 3px;
  }

  .person-role {
    font-size: 14px;
    line-height: 1.15;
  }

  .controls {
    right: 16px;
    top: 57%;
    gap: 18px;
  }

  .circle-button {
    width: 52px;
    height: 52px;
    font-size: 10px;
  }

  .quote-card {
    width: calc(100vw - 84px);
    bottom: 72px;
    padding: 18px 18px 20px;
  }

  .quote-text {
    font-size: 11px;
    line-height: 1.55;
  }
}

/* 小手机 */
@media (max-width: 640px) {
  .orbit-shell {
    left: 50%;
    top: 42%;
    width: 330px;
    max-width: 86vw;
  }

  .avatar-wrap {
    width: 170px;
    max-width: 44vw;
  }

  .stat-chip {
    max-width: 180px;
    font-size: 16px;
  }

  .stat-pos-0 {
    left: 7px;
    top: 29%;
    transform: translate(-72%, -50%);
  }

  .stat-pos-1 {
    left: 0;
    top: 50%;
    transform: translate(-76%, -50%);
  }

  .stat-pos-2 {
    left: 7px;
    top: 71%;
    transform: translate(-72%, -50%);
  }

  /* 小手机姓名职位：仍然在右侧圆圈之上 */
  .person-info {
    left: 100%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 240px;
    text-align: center;
  }

  .person-name {
    font-size: 14px;
    letter-spacing: 0.16em;
    margin-bottom: 3px;
  }

  .person-role {
    font-size: 12px;
  }

  .quote-card {
    bottom: 70px;
    width: calc(100vw - 56px);
    padding: 18px 16px 20px;
  }

  .quote-text {
    font-size: 13px;
    line-height: 1.55;
  }

  .controls {
    right: 10px;
    top: 57%;
    gap: 12px;
  }

  .circle-button {
    width: 58px;
    height: 58px;
    font-size: 13px;
  }
}

/* 超小屏 */
@media (max-width: 420px) {
  .slide {
    padding: 0 10px;
  }

  .orbit-shell {
    left: 50%;
    top: 42%;
    width: 300px;
    max-width: 86vw;
  }

  .avatar-wrap {
    width: 158px;
  }

  .stat-chip {
    font-size: 11px;
    max-width: 140px;
  }

  .stat-pos-0 {
    left: 8%;
    top: 29%;
    transform: translate(-44%, -50%);
  }

  .stat-pos-1 {
    left: 5%;
    top: 50%;
    transform: translate(-46%, -50%);
  }

  .stat-pos-2 {
    left: 8%;
    top: 71%;
    transform: translate(-44%, -50%);
  }

  /* 超小屏姓名职位 */
  .person-info {
    left: 100%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 220px;
    text-align: center;
  }

  .person-name {
    font-size: 13px;
    letter-spacing: 0.14em;
    margin-bottom: 2px;
  }

  .person-role {
    font-size: 11px;
  }

  .controls {
    right: 8px;
    gap: 12px;
  }

  .circle-button {
    width: 46px;
    height: 46px;
    font-size: 9px;
  }

  .quote-card {
    width: calc(100vw - 20px);
    bottom: 70px;
    padding: 15px 14px 16px;
  }

  .quote-text {
    font-size: 10px;
    line-height: 1.6;
  }
}