/* public/status/error.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-background {
  background: linear-gradient(135deg, #f0e6f7 0%, #e3c1e8 100%);
}

.status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px); /* 减去页脚大致高度，避免内容挤压 */
  padding: 2rem;
  text-align: center;
  box-sizing: border-box;
}

.status-illustration {
  max-width: 320px;
  width: 100%;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.status-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #8A2BE2;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.status-description {
  max-width: 550px;
  color: #6A1A6A;
  font-size: 1.125rem;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 优化: 动态消息样式，与主题更协调 */
.dynamic-message {
  font-weight: 600;
  color: #8A2BE2; /* 改为主题色 */
  margin-top: 15px;
  margin-bottom: 20px;
  padding: 12px 18px;
  border: 1px solid #BA55D3; /* 改为主题色系 */
  border-radius: 8px;
  background-color: rgba(138, 43, 226, 0.08); /* 使用更柔和的背景 */
  max-width: 500px;
  width: 90%;
}

/* 新增: 用于JS控制元素显隐的工具类 */
.hidden {
  display: none;
}

/* 新增: 搜索框容器样式 */
.search-container {
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.search-container form {
  display: flex;
  width: 100%;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.15);
  transition: box-shadow 0.3s ease;
}

.search-container form:focus-within {
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.25);
}

.search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #6A1A6A;
  outline: none;
  border-radius: 9999px 0 0 9999px;
}

.search-button {
  border: none;
  background-color: #8A2BE2;
  color: white;
  padding: 0 1.5rem;
  border-radius: 0 9999px 9999px 0;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #7B1FA2;
}


.status-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-image: linear-gradient(to right, #8A2BE2 0%, #BA55D3 51%, #8A2BE2 100%);
  background-size: 200% auto;
  border: none;
  border-radius: 9999px; 
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px 0 rgba(138, 43, 226, 0.3);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.status-button:hover {
  background-position: right center; 
  box-shadow: 0 6px 20px 0 rgba(138, 43, 226, 0.4);
  transform: translateY(-2px);
}

.status-button i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.status-button:hover i {
  transform: translateX(-3px);
}

.status-additional-info {
  margin-top: 25px;
  color: #6A1A6A;
  font-size: 0.95em;
  line-height: 1.6;
}

.status-additional-info ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.status-additional-info li {
  margin-bottom: 8px;
}

.status-additional-info a {
  color: #8A2BE2;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.status-additional-info a:hover {
  color: #BA55D3;
  border-bottom-color: #BA55D3;
}

.status-explore-more {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px dashed rgba(138, 43, 226, 0.2);
  color: #6A1A6A;
}

.status-explore-more p {
  margin-bottom: 20px;
  font-size: 1.05em;
  font-weight: 500;
}

.explore-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.status-small-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background-color: rgba(138, 43, 226, 0.05); 
  color: #8A2BE2;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(138, 43, 226, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.status-small-button:hover {
  background-color: rgba(138, 43, 226, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.status-small-button i {
  margin-right: 8px;
  font-size: 1.1em;
}

.status-footer {
  margin-top: auto; /* 让页脚在内容不足时也能贴近底部 */
  text-align: center;
  color: #9370DB;
  font-size: 0.85em;
  padding: 20px;
  line-height: 1.8;
}

.status-footer p {
  margin: 0;
}

.status-footer a {
  color: #8A2BE2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.status-footer a:hover {
  text-decoration: underline;
  color: #BA55D3;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 600px) {
  .explore-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .status-small-button {
    width: auto;
    max-width: 280px;
    margin: 0 auto;
  }
}