/* history.html 样式 */
* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
body {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #1a1a2e;
  overflow-x: hidden;
}
a-waves {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
a-waves svg {
  width: 100%;
  height: 100%;
}
a-waves svg path {
  stroke: none;
  stroke-width: 0;
}
.container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}
.header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInDown 0.8s ease;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 7.2px;
  margin: 0 0 20px 0;
  user-select: none;
}
.subtitle {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  margin: 0 0 40px 0;
  user-select: none;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.back-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.back-btn:hover::before {
  width: 300px;
  height: 300px;
}
.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(96, 197, 241, 0.3);
}
.back-btn:active {
  transform: translateY(-1px);
}
.back-btn span {
  position: relative;
  z-index: 1;
}
.timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, 
    rgba(96, 197, 241, 0.5) 0%,
    rgba(96, 197, 241, 0.3) 50%,
    rgba(96, 197, 241, 0.1) 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
}
.version-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.version-item:nth-child(1) { animation-delay: 0.1s; }
.version-item:nth-child(2) { animation-delay: 0.2s; }
.version-item:nth-child(3) { animation-delay: 0.3s; }
.version-item:nth-child(4) { animation-delay: 0.4s; }
.version-item:nth-child(5) { animation-delay: 0.5s; }
.version-item:nth-child(n+6) { animation-delay: 0.6s; }
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.version-item:nth-child(odd) {
  flex-direction: row;
}
.version-item:nth-child(even) {
  flex-direction: row-reverse;
}
.version-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #60c5f1, #3da5e0);
  border: 4px solid rgba(26, 26, 46, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(96, 197, 241, 0.2),
              0 0 25px rgba(96, 197, 241, 0.6),
              inset 0 2px 4px rgba(255, 255, 255, 0.3);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(96, 197, 241, 0.2),
                0 0 25px rgba(96, 197, 241, 0.6),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(96, 197, 241, 0.1),
                0 0 35px rgba(96, 197, 241, 0.8),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
  }
}
.version-content {
  width: calc(50% - 50px);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.version-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60c5f1, #3da5e0, #1e88c7);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.version-content:hover::before {
  opacity: 1;
}
.version-item:nth-child(odd) .version-content {
  margin-right: auto;
}
.version-item:nth-child(even) .version-content {
  margin-left: auto;
}
.version-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(96, 197, 241, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  border-color: rgba(96, 197, 241, 0.4);
}
.version-number {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #60c5f1, #3da5e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px 0;
  letter-spacing: 1.5px;
}
.version-date {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 18px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.version-date::before {
  content: '📅';
  font-size: 14px;
}
.version-description {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin: 0 0 20px 0;
}
.version-features {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 15px 20px;
}
.version-features li {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
  transition: all 0.3s ease;
}
.version-features li:hover {
  color: rgba(255, 255, 255, 1);
  padding-left: 32px;
}
.version-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #60c5f1;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.version-features li:hover::before {
  transform: rotate(90deg) scale(1.2);
}
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #3da5e0 0%, #60c5f1 100%);
  border-radius: 20px;
  margin-top: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(96, 197, 241, 0.4);
  animation: glow 2s ease-in-out infinite;
}
.version-badge::before {
  content: '⭐';
  font-size: 12px;
}
@keyframes glow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(96, 197, 241, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(96, 197, 241, 0.6);
  }
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  margin-top: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(96, 197, 241, 0.3) 0%, rgba(61, 165, 224, 0.3) 100%);
  border: 1.5px solid rgba(96, 197, 241, 0.5);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.download-btn:hover {
  background: linear-gradient(135deg, rgba(96, 197, 241, 0.5) 0%, rgba(61, 165, 224, 0.5) 100%);
  border-color: rgba(96, 197, 241, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 197, 241, 0.3);
}
.download-btn:active {
  transform: translateY(0);
}
.footer {
  text-align: center;
  padding: 60px 20px 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}
.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.footer a:hover {
  color: #60c5f1;
  border-bottom-color: #60c5f1;
}
/* 移动端适配 */
@media (max-width: 768px) {
  .container {
    padding: 50px 20px 40px;
  }
  .header {
    margin-bottom: 50px;
  }
  .title {
    font-size: 40px;
    letter-spacing: 2px;
  }
  .subtitle {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .back-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  .timeline {
    padding: 20px 0;
  }
  .timeline::before {
    left: 20px;
  }
  .version-item {
    flex-direction: column !important;
    padding-left: 50px;
    margin-bottom: 40px;
  }
  .version-item:nth-child(even) {
    flex-direction: column !important;
  }
  .version-dot {
    left: 20px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-width: 3px;
  }
  .version-content {
    width: 100%;
    margin: 0 !important;
    padding: 20px;
    border-radius: 16px;
  }
  .version-number {
    font-size: 26px;
  }
  .version-date {
    font-size: 12px;
  }
  .version-description {
    font-size: 14px;
  }
  .version-features {
    padding: 12px 15px;
  }
  .version-features li {
    font-size: 13px;
    padding: 6px 0 6px 24px;
  }
  .version-features li:hover {
    padding-left: 26px;
  }
  .version-badge {
    font-size: 10px;
    padding: 5px 14px;
  }
  .download-btn {
    padding: 9px 20px;
    font-size: 13px;
  }
  .footer {
    padding: 40px 20px 30px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .title {
    font-size: 32px;
  }
  .subtitle {
    font-size: 14px;
  }
  .version-number {
    font-size: 22px;
  }
  .version-content {
    padding: 18px;
  }
  .download-btn {
    padding: 8px 18px;
    font-size: 12px;
  }
}
