.banner {
  width: 100%;
  height: 195px;
}

#app {
  position: relative;
  min-height: 100vh;
  background-color: #fff;
}

/* 操作区样式 */
.operation-area {
  padding: 20px;
  text-align: center;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step-1 .title {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin: 20px 0 15px;
  line-height: 1.4;
}

.step-1 .description {
  font-size: 14px;
  color: #000;
  margin: 0 0 15px;
  line-height: 1.5;
}

.decorative-line {
  width: 120px;
  height: 10px;
  border-radius: 10px;
  background-color: #ff0000;
  margin: 15px auto 30px;
}

.action-btn {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 50px;
  background: linear-gradient(135deg, #ff4444, #ff6666);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.action-btn:active {
  transform: scale(0.98);
}
.btn-animation {
  border-radius: 100%;
  animation: ripple-bfc1e0ed 1s linear infinite;
}

@keyframes ripple-bfc1e0ed {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1),
      0 0 0 60px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1),
      0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  to {
    -webkit-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1),
      0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1),
      0 0 0 80px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1),
      0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1),
      0 0 0 80px rgba(255, 255, 255, 0);
  }
}

/* 评论区样式 */
.comment-section {
  position: relative;
  background-color: #fff;
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
}

.social-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.viewers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-group {
  display: flex;
  position: relative;
}

.avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: #e0e0e0;
}

.avatar-small:nth-child(1) {
  z-index: 3;
}

.avatar-small:nth-child(2) {
  margin-left: -8px;
  z-index: 2;
}

.avatar-small:nth-child(3) {
  margin-left: -8px;
  z-index: 1;
}

.view-count {
  font-size: 14px;
  color: #666;
}

.interaction-stats {
  font-size: 14px;
  color: #666;
}

.divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 10px 0;
}

.interaction-buttons {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}

.interaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 0;
  transition: color 0.2s;
}

.interaction-btn:hover {
  color: #333;
}

.interaction-btn .icon {
  font-size: 18px;
}

.comments-list {
  margin-top: 10px;
}

.comment-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e0e0e0;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-author {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px;
}

.comment-text {
  font-size: 14px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 5px;
}

.comment-actions {
  font-size: 12px;
  color: #999;
  display: flex;
  gap: 12px;
}

.comment-actions span {
  cursor: pointer;
  transition: color 0.2s;
}

.comment-actions span:hover {
  color: #666;
}

.comment-time {
  margin-left: auto;
}

/* 第二步样式 */
.step-2 .title {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin: 20px 0 15px;
  line-height: 1.4;
}

.step-2 .description {
  font-size: 14px;
  color: #000;
  margin: 0 0 15px;
  line-height: 1.5;
}

.step-2 .decorative-line {
  width: 120px;
  height: 10px;
  border-radius: 10px;
  background-color: #ff0000;
  margin: 15px auto 30px;
}

.step-2-sub {
  display: none;
}

.step-2-sub.active {
  display: block;
}

/* 第二步-1：进度展示 */
.progress-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 30px auto;
}

.progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg {
  stroke: #e0e0e0;
}

.progress-bar {
  transition: stroke-dashoffset 0.3s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

/* 第二步-2：完成检查 */
.check-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.check-icon svg {
  width: 100%;
  height: 100%;
  animation: checkScale 0.5s ease-out;
}

@keyframes checkScale {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.check-message {
  font-size: 16px;
  color: #000;
  text-align: center;
  margin: 0;
}

/* 第二步-3：输入手机号码 */
.phone-input-container {
  margin: 30px auto;
  max-width: 400px;
}

.input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-input {
  flex: 1;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.phone-input:focus {
  border-color: #ff4444;
}

.phone-input.error {
  border-color: #ff0000;
}

.submit-btn {
  height: 50px;
  padding: 0 30px;
  background: #ff4444;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.submit-btn:hover {
  background: #ff3333;
  transform: scale(1.02);
}

.submit-btn:active {
  transform: scale(0.98);
}

.error-message {
  margin-top: 10px;
  font-size: 14px;
  color: #ff0000;
  text-align: left;
  min-height: 20px;
  display: none;
}

.error-message.show {
  display: block;
}

/* 第三步样式 */
.step-3-sub {
  display: none;
}

.step-3-sub.active {
  display: block;
}

/* 第三步-1：加载动画 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px auto;
  min-height: 200px;
}

.loading-animation {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.loading-arc {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: loadingRotate 1.5s linear infinite;
}

.loading-arc-left {
  border: 6px solid transparent;
  border-top-color: #00d4ff;
  border-right-color: #00d4ff;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.loading-arc-right {
  border: 6px solid transparent;
  border-bottom-color: #ff00ff;
  border-left-color: #ff00ff;
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  animation-delay: 0.75s;
}

@keyframes loadingRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 16px;
  color: #000;
  text-align: center;
  margin: 0;
}

/* 第三步-2和3：标题和进度条 */
.step-3-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin: 30px 0 20px;
}

.progress-item {
  display: flex;
  align-items: center;
  margin: 15px auto;
  max-width: 500px;
  height: 60px;
}

.progress-bar-left {
  flex: 0 0 40%;
  height: 100%;
  display: flex;
  align-items: center;
}

.progress-bar-red {
  width: 100%;
  height: 50px;
  background-color: #ff4444;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  transition: width 0.3s ease;
}

.progress-text-white {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-bar-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-left: 15px;
}

.progress-circle-small {
  width: 50px;
  height: 50px;
  position: relative;
}

.progress-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg-small {
  stroke: #e0e0e0;
}

.progress-bar-small {
  transition: stroke-dashoffset 0.3s ease;
}

.progress-percent {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  min-width: 45px;
  text-align: left;
}

/* 第三步进度条高亮状态 */
.progress-item.completed {
  opacity: 1;
}

.progress-item.completed .progress-circle-small {
  border: 2px solid #ff00ff;
  border-radius: 50%;
  padding: 2px;
}

.progress-item.completed .progress-circle-svg {
  border-radius: 50%;
}

/* 第四步样式 */
.step-4 {
  padding: 20px;
  text-align: center;
}

.step-4-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 20px 0 15px;
  line-height: 1.5;
}

.step-4-description {
  text-align: left;
  margin: 20px auto;
  max-width: 500px;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
}

.step-4-description p {
  margin: 10px 0;
}

.step-4-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
  max-width: 500px;
  border: 2px solid #edd08e;
  border-radius: 8px;
  padding: 10px;
}

.progress-bar-horizontal {
  flex: 1;
  height: 30px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background-color: #ff4444;
  border-radius: 8px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-circle-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px auto;
  max-width: 400px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 55px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  padding: 0 20px;
}

.share-btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.share-btn:active {
  transform: scale(0.98);
}

.share-btn-line {
  background: #00c300;
}

.share-btn-messenger {
  background: linear-gradient(135deg, #0084ff, #ff00ff);
}

.share-btn-whatsapp {
  background: #25d366;
}

.share-btn-icon {
  font-size: 20px;
  font-weight: bold;
}

/* 第五步样式 */
.step-5 {
  padding: 20px;
  text-align: center;
}

.step-5-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  margin: 20px auto 10px;
  max-width: 520px;
}

.step-5-description {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  margin: 10px auto 25px;
  max-width: 520px;
  text-align: left;
}

.step-5-description p {
  margin: 6px 0;
}

.step-5-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 10px auto 0;
  max-width: 320px;
}

.step-5-btn {
  width: 100%;
}

/* 失败提示弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-dialog {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
  text-align: center;
}

.modal-body p {
  font-size: 16px;
  color: #000;
  margin: 0;
  line-height: 1.5;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.modal-btn {
  width: 100%;
  height: 45px;
  background-color: #ff4444;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.modal-btn:hover {
  background-color: #ff3333;
  transform: scale(1.02);
}

.modal-btn:active {
  transform: scale(0.98);
}
