/* ===== 全局样式 ===== */
@font-face {
  font-family: "remixicon";
  src: url('../fonts/remixicon.eot?t=1734404658139');
  src: url("../fonts/remixicon.woff?t=1734404658139") format("woff");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', sans-serif;
}

body {
  margin: 30px;
  background-color: #f5f7fa;
  color: #333;
  overflow-x: hidden;
  transition: overflow 0.3s;
}

.wrapper {
  width: 890px;
  margin: 0 auto;
  position: relative;
}

/* ===== 头部横幅样式 ===== */
.hero-banner {
  width: 100%;
  height: 300px;
  background: url('/images/header1.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin-bottom:15px;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.logo-image {
  width: 199px;
  height: 103px;
  margin-bottom: 5px;
  background-image: url('/images/smail_logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 5px rgb(0, 0, 0));
  transition: all 1.6s ease;
}

.logo-link:hover .logo-image {
  background-image: url('/images/logo.png');
  filter: drop-shadow(0 2px 5px rgb(255, 255, 255));
}

.hero-banner .logo {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.89), 0 4px 8px rgba(0, 0, 0, 0.8), 0 8px 16px rgba(0, 0, 0, 0.89);
  transition: text-shadow 0.5s ease;
}

.hero-banner p {
  margin-top: 10px;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.89), 0 4px 8px rgba(0, 0, 0, 0.8), 0 8px 16px rgba(0, 0, 0, 0.89);
}

/* ===== 主要内容区域 ===== */
.content {
  background-color: white;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 30px;
}

.section-title {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b93000;
  display: inline-block;
  font-weight: normal;
}

.section-subtitle {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b93000;
  align-items: center;
  font-weight: normal;
   position: relative;
}

.section-subtitle::before {
  content: '\f4d3';
  color: #b93000;
  font-family: "remixicon" !important;
  margin-right: 5px;
  font-size: 20px;
  line-height: 1;
  position: relative;
  top: 1px;
}

.section-subtitle.service::before {
  content: '\ec15';
}

/* ===== 下载区域样式 ===== */
.download-area {
  text-align: center;
  padding: 30px 0;
  background-color: #e8f4fd;
  border-radius: 1px;
  margin-bottom: 15px;
  background-image: url('/images/footer_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.download-area p {
  font-size: 14px;
}

.button-action{
  gap: 15px;
  display: flex;
  padding-top:20px;
  justify-content: center;
}

.download-button {
  display: inline-flex;
  align-items: center;
  background-color: #2ecc71;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: normal;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  white-space: nowrap;
}

.download-button:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
}

.download-button.alt1 {
  background-color: #3498db;
}

.download-button.alt1:hover {
  background-color: #2980b9;
}

.download-button.alt2 {
  background-color: #e74c3c;
}

.download-button.alt2:hover {
  background-color: #c0392b;
}

/* 下载图标样式 */
.download-icon::before {
  content: '\f2e0';
  font-family: "remixicon" !important;
  color: #fff;
  font-size: 18px;
  margin: 0 5px 0 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
}
.download-icon.version::before {
  content: '\f4d3';
}
.download-icon.download::before {
  content: '\ea49';
}
.download-icon.account::before {
  content: '\ea08';
}
.download-icon.tools::before {
  content: '\f21a';
}

/* ===== 内容区域布局 ===== */
.content-section {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.content-section.reverse {
  margin-bottom: 0;
  flex-direction: row-reverse;
}

/* ===== 新闻部分样式 ===== */
.news-container {
  flex: 1;
}

.news-feed {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.news-list {
  list-style: none;
}

.news-item {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item.featured {
  padding: 12px;
  margin-bottom: 10px;
  background-color: #e8f4fd;
  border-left: 4px solid #3498db;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
  display: block;
}

.news-link {
  color: #2c3e50;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.news-link.featured {
  display: block;
}

.news-link.featured h3{
  color: #a93000;
  font-size: 16px;
  margin-bottom: 15px;
}

.news-link h3:hover {
  color: #b93000;
  text-decoration: none;
}

.news-link h3 {
  font-size: 14px;
  color: #2c3e50;
  font-weight: normal;
  margin: 0;
}

.news-link .news-badge {
  font-size: 12px;
  color: #fff;
  line-height: 12px;
  padding: 2px 6px;
  margin-right: 10px;
  border-radius: 2px;
  background-color: #b93000;
}

.news-link p {
  display: none;
}

.news-link.featured p {
  display: block;
  font-size: 12px;
  color: #555;
  margin: 5px 0;
  line-height: 1.6;
}

.news-link span {
  font-size: 11px;
  color: #7f8c8d;
}

/* ===== 特色图片样式 ===== */
.featured-image {
  flex: 1;
}

.game-screenshot {
  width: 100%;
  height: 260px;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}

.screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-image .screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-image:hover .screenshot {
  transform: scale(1.05);
}

.screenshot:hover {
  transform: scale(1.05);
}

/* 图片标题样式 */
.image-caption {
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(13, 13, 13, 0.67);
  color: white;
  transition: all 0.3s ease;
}

.image-caption:hover {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

.image-caption h2 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.image-caption h2::before {
  content: '\ee12';
  color: #fff;
  font-family: "remixicon" !important;
  margin-right: 5px;
  font-size: 20px;
  line-height: 1;
  position: relative;
}

.image-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== 游戏描述样式 ===== */
.game-description {
  flex: 1;
  margin-top: 10px;
}

.description-text p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

.more {
  position: absolute;
  right: 0;
  top: -2px;
  display: inline-block;
  padding:5px 15px;
  background-color: #b93000;
  color: white;
  text-decoration: none;
  border-radius:15px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.more:hover {
  background-color: #d94130;
}

/* ===== 活动与服务器样式 ===== */
.events-servers {
  flex: 1;
}

.events-list {
  width: 100%;
}

.event-card {
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 1px;
  padding: 15px 15px 0 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.event-card.primary {
  background-color: #fff7df;
}

.event-card.secondary {
  background-color: #feedff;
}

.event-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-details {
  flex: 1;
}

.event-card.primary .event-details h3 {
  color: #b93000;
  margin-bottom:5px;
  font-size: 16px;
  font-weight: normal;
  padding-left: 35px;
  background: url('/images/wuxia.png') center left no-repeat;
}
.event-card.secondary .event-details h3 {
  color: #b93000;
  margin-bottom:5px;
  font-size: 16px;
  font-weight: normal;
}
.event-time {
  color: #7f8c8d;
  font-size: 12px;
  margin-bottom: 5px;
}

.event-time::before {
  content: '\eb20';
  color: #666;
  font-family: "remixicon" !important;
  margin-right: 5px;
  font-size: 13px;
  line-height: 1;
  position: relative;
}

.event-description {
  color: #333;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #e74c3c;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 1px;
  font-size: 12px;
  transition: background-color 0.3s;
}

.event-button::before {
  content: '\f0f6';
  color: #fff;
  font-family: "remixicon" !important;
  margin-right: 5px;
  font-size: 13px;
  line-height: 1;
  position: relative;
}

.event-button:hover {
  background-color: #c0392b;
}

/* 服务器列表样式 */
.server-list {
  width: 100%;
}

.server-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.server-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.server-row:last-child {
  border: none;
}

.server-cell {
  padding: 12px 0;
  text-align: left;
  display: flex;
  font-size: 13px;
  align-items: center;
}

.server-cell.name {
  flex: 1;
}

.server-cell.status {
  font-size: 13px;
}

.status-label {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: normal;
  vertical-align: middle;
}

.status-label.hot {
  background-color: #f39c12;
  color: white;
}

/* 服务器图标样式 */
.server-icon::before {
  content: '\ed32';
  font-family: "remixicon" !important;
  color: #b93000;
  font-size: 18px;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-style: normal;
  margin-right: 5px;
  transition: color 0.3s ease;
}

.server-icon.normal::before {
  content: '\ec8e';
  font-family: "remixicon" !important;
  color: #ccc;
  font-size: 18px;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-style: normal;
  margin-right: 5px;
  transition: color 0.3s ease;
}

/* ===== 页脚样式 ===== */
.footer {
    display: flex;
    justify-content:center;
    margin-top: 10px;
    padding-top: 20px;
    text-align: center;
    color: #7f8c8d;
    font-size: 12px;
    border-top: 1px solid #eae7e5;
    flex-wrap: wrap; /* 允许换行 */
    gap:5px; /* 添加间距 */
  }
  
  .footer span {
    white-space: nowrap; /* 防止文本换行 */
  }
  
  .footer .help {
    color: #7f8c8d;
    text-decoration: none;
  }
  
  .footer .help::before {
    content: '\f5cd';
    font-family: "remixicon" !important;
    color: #ccc;
    font-size: 14px;
    margin: 0;
  }
  
  .footer .help:hover::before,
  .footer a:hover {
    color: #b93000;
    text-decoration: none;
  }
  
  .warning-text {
    color: #b93000; /* 保持原有警告文本颜色 */
  }
/* ===== 操作链接样式 ===== */
.action-links {
  gap: 10px;
  display: flex;
  padding: 10px 0 0 0;
}

.account-action {
  color: #fff;
  font-size: 12px;
  padding: 3px 10px 3px 5px;
  border-radius: 2px;
  text-decoration: none;
  background-color: #c0392b;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s;
}

.account-action:hover {
  background-color: #e74c3c;
}

.account-action::before {
  content: '\f0f4';
  font-family: "remixicon" !important;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  position: relative;
  font-weight: normal;
  margin: 0 5px;
}

.account-action.register-link::before {
  content: '\eff2';
}

.account-action.wait-build::before {
  content: '\f16b';
}

.email-link {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}

.email-link:hover {
  color: #e74c3c;
  text-decoration: underline;
}
/* ===== 公告弹窗样式 ===== */
.announcement-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: opacity 0.3s;
}

.announcement-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 弹窗容器 */
.announcement-container {
  background-color: white;
  border-radius: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  max-width: 450px;
  position: relative;
}

/* 标题样式 */
.announcement-title {
  font-size: 14px;
  font-weight: normal;
  color: #333;
  text-align: left;
  margin: 0;
  padding: 15px;
  background: #f2f2f2;
}

.announcement-title::before {
  content: '\eca0';
  color: #333;
  font-family: "remixicon" !important;
  font-size: 16px;
  line-height: 1;
  position: relative;
  font-weight: normal;
  margin-right: 5px;
}

/* 内容样式 */
.announcement-content {
  word-wrap: break-word;
  width: 100%;
  line-height: 1.8;
  font-size: 12px;
  padding: 0 20px 20px 20px;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #afafaf #f1f5f9;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* WebKit 浏览器（Chrome、Safari 等） */
.announcement-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.announcement-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.announcement-content::-webkit-scrollbar-thumb {
  background: #f1f5f9;
  border-radius: 4px;
}

.announcement-content::-webkit-scrollbar-thumb:hover {
  background: #f1f5f9;
}

.announcement-content::-webkit-scrollbar-thumb:active {
  background: #f1f5f9;
}
 
.announcement-content ol,
.announcement-content ol li,
.announcement-content ul,
.announcement-content ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.announcement-content p,
.announcement-content ol li,
.announcement-content ul li {
  color: #4f4e4e;
}

.announcement-content h1,
.announcement-content h2,
.announcement-content h3,
.announcement-content h4,
.announcement-content h5 {
  font-size: 15px;
  color: #b93000;
  font-weight: normal;
  margin: 10px 0;
  border-bottom: 1px solid #eae7e5;
  padding-bottom: 10px;
}

.announcement-content h1::before,
.announcement-content h2::before,
.announcement-content h3::before,
.announcement-content h4::before,
.announcement-content h5::before {
  content: '\eb45';
  color: #b93000;
  font-family: "remixicon" !important;
  font-size: 16px;
  line-height: 1;
  position: relative;
  font-weight: normal;
  margin-right: 5px;
}

.announcement-content strong {
  font-size: 13px;
  color: #000;
  font-weight: normal;
  margin-right: 5px;
}

.announcement-content p:first-child {
  margin-top: 0;
}

.announcement-content p:last-child {
  margin-bottom: 0;
}

.announcement-images {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  margin:0;
  justify-content: center;
  align-items: center;
}

.announcement-images img {
  width: 100%;
  height:auto;
  display: block;
}

/* 关闭按钮样式 */
.announcement-close {
  position: absolute;
  cursor: pointer;
  top: 15px;
  right: 15px;
  text-decoration: none;
  transition: transform 0.5s ease;
}
.announcement-close:hover{
  transform: rotate(360deg);
}
.announcement-close::before {
  content: '\eb98';
  color: #ccc;
  font-family: "remixicon" !important;
  font-size: 22px;
  font-weight: normal;
  line-height: 1;
  position: relative;
  transition: all 0.3s;
}

.announcement-close:hover::before {
  color: #b93000;
}

/* 确认操作区域 */
.confirm-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 15px;
  background: #f2f2f2;
}

.copy-info {
  font-size: 12px;
  color: #6f6e6e;
  align-items: center;
}
.copy-info::before {
  content: '\f104';
  font-family: "remixicon" !important;
  color: #b93000;
  font-size: 13px;
  margin: 0 5px 0 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
}

.confirm-bottun {
  margin: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background-color: #c0392b;
  color: white !important;
  padding: 5px 25px;
  text-decoration: none !important;
  border-radius: 2px;
  font-size: 12px;
  font-weight: normal;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  white-space: nowrap;
}

.confirm-bottun:hover {
  background-color: #e74c3c;
  transform: translateY(-3px);
}

/* ===== 简易弹窗样式 ===== */
.easy-dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 5000000;
}

.easy-dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dialog-content {
  background: white;
  padding:15px 20px;
  border-radius: 1px;
  width: auto;
  position: relative;
}
.dialog-content p{
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}
.dialog-content p::before{
  content: '\f448';
  font-family: "remixicon" !important;
  color: #847474;
  font-size: 14px;
  display: inline-block;
  margin-right:5px;
}

/* ===== 认证弹窗样式 ===== */
.auth-modal-wrapper {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.03);
}

.auth-modal-content {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.39);
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 10px 7px 15px 10px;
}

.auth-modal-header h2 {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #333;
  font-weight: normal;
  margin: 0;
}

.auth-modal-header h2::before {
  content: '\ea08';
  font-family: "remixicon" !important;
  color: #a6a6a6;
  font-size: 18px;
  margin: 0 5px 0 0;
  padding: 0;
  line-height: 1;
}

.auth-modal-close {
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.auth-modal-body {
  padding: 0 10px 10px 10px;
  text-align: center;
}

.auth-modal-close::before {
  content: '\f4c7';
  font-family: "remixicon" !important;
  color: #979696;
  font-size: 14px;
  margin: 0;
  padding: 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.auth-modal-close:hover::before {
  color: #b90000;
}

.auth-modal-close:hover {
  transform: rotate(360deg);
}

/* 认证表单样式 */
.auth-form {
  width: 175px;
  margin: 0px auto;
}

.auth-form-group {
  width: 100%;
  margin-bottom: 5px;
  height: 30px;
  line-height: 30px;
}

input[type="text"],
input[type="password"] {
  font-size: 13px;
  outline: none;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  margin: 0;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #b78574;
  box-shadow: none;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  font-size: 12px;
  color: #cacaca;
  font-style: italic;
  opacity: 1;
}

input[type="text"]:focus::placeholder,
input[type="password"]:focus::placeholder {
  font-style: normal;
  color: #b78574;
}

select {
  font-size: 13px;
  outline: none;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  margin: 0;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
  cursor: pointer;
}

select:focus {
  border-color: #006dcc;
  box-shadow: none;
}

select option:disabled {
  color: #cacaca;
  font-style: italic;
}

/* 按钮样式 */
.auth-form button {
  width: 100%;
  padding: 8px 10px;
  background-color: #c0392b;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.auth-form button:hover {
  background-color: #e74c3c;
}

.auth-form button.processing {
  color: #ffffff;
  background-color: #b44952;
  cursor: not-allowed;
  opacity: 0.8;
  position: relative;
}

.auth-form button.processing::before {
  content: '\eec2';
  font-family: "remixicon" !important;
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  padding: 0;
  display: inline-block;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}
/* ===== AC-Dialog 提示弹窗样式 ===== */
#ac-dialog.ac-wrapper {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(3px);
}

#ac-dialog .ac-content {
  background-color: #fff;
  padding: 10px;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.39);
  min-width: 250px;
}

#ac-dialog .ac-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 7px 15px 10px;
}

#ac-dialog .ac-header h2 {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #333;
  font-weight: normal;
  margin: 0;
}

#ac-dialog .ac-header h2::before {
  content: '\ea08';
  font-family: "remixicon" !important;
  color: #a6a6a6;
  font-size: 18px;
  margin: 0 5px 0 0;
  padding: 0;
  line-height: 1;
}

#ac-dialog .ac-close {
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

#ac-dialog .ac-close::before {
  content: '\f4c7';
  font-family: "remixicon" !important;
  color: #979696;
  font-size: 14px;
  margin: 0;
  padding: 0;
  display: inline-block;
  transition: color 0.3s ease;
}

#ac-dialog .ac-close:hover::before {
  color: #b90000;
}

#ac-dialog .ac-close:hover {
  transform: rotate(360deg);
}

#ac-dialog .ac-body {
  padding: 0 10px 10px;
  text-align: center;
}

#ac-dialog .ac-message {
  font-size: 13px;
  color: #333;
  margin-bottom: 20px;
}

#ac-dialog .ac-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#ac-dialog .ac-buttons button {
  width: 86px;
  padding: 8px 10px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  font-style: inherit;
}

#ac-dialog .ac-no,
#ac-dialog .ac-yes {
  background-color: #c0392b;
  color: white;
}

#ac-dialog .ac-no:hover,
#ac-dialog .ac-yes:hover {
  background-color: #e74c3c;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== 响应式设计 ===== */
@media (max-width: 900px) {
  body{
    margin: 15px;
  }
  .wrapper {
    width: 90%;
  }
  .footer {
    flex-direction: column;
    align-items: center;
  }
  .content-section,
  .content-section.reverse {
    flex-direction: column;
  }
  .hero-banner .logo{
    font-size: 22px;
  }
  .hero-banner p{
    font-size: 16px;
  }
  .download-area{
    padding:25px 15px;
  }
  .featured-image{
    width: 100%;
  }
  .download-button {
    padding: 10px 20px;
    font-size:13px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .section-title{
    font-size: 14px;
  }
  .event-card.primary .event-details h3{
    font-size: 14px;
  }
  .featured-image .screenshot{
    width: 100%;
    height: auto;
  }
  .news-container{
    width: 100%;
  }
  .button-action{
    align-items: center;
    flex-direction: column;
  }
  .announcement-container{
    width: 85%;
    line-height: 1.5;
  }
  
  .announcement-content h1,
  .announcement-content h2,
  .announcement-content h3,
  .announcement-content h4,
  .announcement-content h5 {
    font-size: 14px;
    color: #b93000;
    font-weight: normal;
    margin: 8px 0 !important;
    border-bottom: 1px solid #eae7e5;
    padding-bottom:10px !important;
  }
}

@media (max-width: 465px) {
  body{
    margin: 15px;
  }
  .hero-banner{
    height: 150px;
  }
  .hero-banner .logo{
    display: none;
  }
  .hero-banner p{
    display: none;
  }
  .server-cell.status{
    display: none;
  }
  .download-button {
    padding:5px 10px;
    font-size:12px;
  }
  
  .download-area{
    padding:20px 15px;
  }
  .game-screenshot{
    height: auto;
    overflow: hidden;
  }
  .image-caption{
    display: none;
  }
  .news-link span{
    display: none !important;
  }
  .content{
    padding: 15px;
  }
  .footer span {
    white-space:unset; /* 防止文本换行 */
  }
  .announcement-container{
    width: 80%;
    line-height: 1.4;
  }
  .announcement-content h1,
  .announcement-content h2,
  .announcement-content h3,
  .announcement-content h4,
  .announcement-content h5 {
    font-size: 14px;
    color: #b93000;
    font-weight: normal;
    margin: 5px 0 !important;
    border-bottom: 1px solid #eae7e5;
    padding-bottom: 5px !important;
  }
}