html,
body {
  margin: 0;
  padding: 0;
  background: #0d1117;
  height: 100%;
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;
}

#tsparticles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  margin-top: -5%;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(to right, #00d9ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.2s forwards;
}

.mulText {
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.2s forwards;
  color: #00e0ff;
}

.progress-ring {
  position: relative;
  width: 240px; /* 原本是 160px */
  height: 240px;
  margin-bottom: 20px;
}

.progress-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-ring circle {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}

.progress-ring-bg {
  stroke: #1e2a3a;
}

.progress-ring-fill {
  stroke: url(#grad);
  transition: stroke-dashoffset 0.6s ease;
}

.progress-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  width: 100%;
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(to right, #00e4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button-group {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  color: white;
  background: #0099ff;
  box-shadow: 0 4px 20px rgba(0, 174, 255, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 174, 255, 0.7);
}
.fas {
  font-size: 1.5rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fileName {
  color: #00e4ff;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  max-width: 80%;
  word-break: break-all;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.fileName.show {
  animation: fadeUp 0.6s ease-out forwards;
}
.notice {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  background: rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
  color: #c9d1d9;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.notice a {
  color: #00e0ff;
  text-decoration: underline;
}

.notice span {
  color: #00e0ff;
  font-weight: 500;
}
.message {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.message.show {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, 0);
}

.message.success {
  background: rgba(0, 200, 100, 0.15);
  border: 1px solid #00e676;
  color: #00e676;
}

.message.warning {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid #ffc107;
  color: #ffc107;
}

.message.error {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid #f44336;
  color: #f44336;
}

.message .icon {
  font-size: 1.2rem;
}

.message.success .icon {
  content: "\f00c";
  color: #00e676;
}

.message.warning .icon {
  content: "\f071";
  color: #ffc107;
}

.message.error .icon {
  content: "\f057";
  color: #f44336;
}

.btn.disabled {
  background: #566573;
  color: #abb2b9;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

.btn.disabled:hover {
  transform: none;
  box-shadow: none;
}