/* ========== 免责声明样式 - 与全栈设计保持一致 ========== */

.legal-disclaimer {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12), 0 0 0 1px rgba(102, 126, 234, 0.15);
  animation: disclaimerFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 动态背景光晕效果 */
.legal-disclaimer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
  animation: disclaimerGlow 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes disclaimerGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 3%); }
}

@keyframes disclaimerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 左侧装饰条 */
.legal-disclaimer::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  box-shadow: 2px 0 8px rgba(102, 126, 234, 0.3);
  z-index: 1;
}

.legal-disclaimer-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667eea;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(102, 126, 234, 0.15);
}

.legal-disclaimer-title i {
  font-size: 20px;
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.legal-disclaimer-content {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.legal-disclaimer-content li {
  position: relative;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 20px;
  transition: all 0.3s ease;
}

.legal-disclaimer-content li:last-child {
  margin-bottom: 0;
}

/* 自定义列表图标 */
.legal-disclaimer-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}

.legal-disclaimer-content li:hover {
  color: #000;
  transform: translateX(3px);
}

.legal-disclaimer-content strong {
  color: #667eea;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .legal-disclaimer {
    padding: 20px 20px;
    margin: 15px 0;
    border-radius: 10px;
  }

  .legal-disclaimer-title {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .legal-disclaimer-title i {
    font-size: 18px;
  }

  .legal-disclaimer-content {
    padding-left: 16px;
  }

  .legal-disclaimer-content li {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 16px;
  }
}

/* 打印样式 */
@media print {
  .legal-disclaimer {
    background: #fff;
    border: 2px solid #667eea;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .legal-disclaimer::before,
  .legal-disclaimer::after {
    display: none;
  }

  .legal-disclaimer-title i {
    animation: none;
  }
}
