* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brown-deep: #2C1810;
  --brown-dark: #4A2C1A;
  --brown: #6B3A2A;
  --brown-mid: #8B6040;
  --brown-light: #A08060;
  --gold: #C4A035;
  --gold-light: #E8D080;
  --gold-dark: #A08020;
  --cream: #F0E8D8;
  --cream-dark: #D8CCB0;
  --warm-gray: #B8A898;
  --ink: #2C1A0A;
  --ink-light: #5A4A3A;
  --red-dark: #8B2020;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: #1A0F0A;
  color: var(--ink);
  min-width: 1200px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

.no-io .fade-in {
  opacity: 1;
  transform: none;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, rgba(30, 20, 10, 0.95) 0%, rgba(30, 20, 10, 0.85) 100%);
  border-bottom: 1px solid rgba(196, 160, 53, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-inner {
  width: 1200px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 206px;
  height: 124px;
  position: relative;
}

.logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-right: 80px;
  gap: 0;
}

.nav a {
  position: relative;
  padding: 0 28px;
  height: 70px;
  line-height: 70px;
  color: #E8D8B8;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(196, 160, 53, 0) 0%, rgba(196, 160, 53, 0.25) 100%);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s;
  box-shadow: 0 0 10px rgba(196, 160, 53, 0.6);
}

.nav a:hover::after,
.nav a.active::after {
  width: 60%;
}

/* ===== Hero ===== */


/* ===== Age Rating ===== */
.age-rating {
  position: absolute;
  bottom: 165px;
  right: 50px;
  z-index: 20;
  text-align: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
}

.age-rating img {
  width: 56px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.age-rating p {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  line-height: 1.4;
  white-space: nowrap;
}

/* ===== Login Bar ===== */
.login-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 150px;
  background: linear-gradient(180deg, rgba(44, 24, 16, 0.95) 0%, rgba(30, 16, 10, 0.98) 100%);
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(196, 160, 53, 0.4);
  border-bottom: none;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(196, 160, 53, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 10;
}

.server-panel {
  width: 380px;
  height: 135px;
  background: linear-gradient(180deg, rgba(60, 40, 20, 0.7) 0%, rgba(44, 28, 16, 0.7) 100%);
  border: 1px solid rgba(196, 160, 53, 0.3);
  border-radius: 10px;
  padding: 10px 18px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: inset 0 0 20px rgba(196, 160, 53, 0.08);
}

.server-panel::before,
.server-panel::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 8px;
  border: 1px solid rgba(196, 160, 53, 0.25);
  border-radius: 4px;
}

.server-panel::before {
  left: 6px;
  border-right: none;
}

.server-panel::after {
  right: 6px;
  border-left: none;
}

.server-current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
  color: #E8D8B8;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 13px;
}

.server-current>* {
  margin-right: 10px;
}

.server-current>*:last-child {
  margin-right: 0;
}

.server-current label {
  font-weight: bold;
  color: #C4A035;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.server-more-btn {
  width: 309px;
  height: 30px;
  align-self: center;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-more-btn img {
  width: 309px;
  height: 30px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: filter 0.15s, transform 0.15s;
}

.server-more-btn:hover img {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.server-more-btn:active img {
  transform: translateY(0);
}

.server-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}

.server-modal-overlay.active {
  display: -ms-flexbox;
  display: flex;
}

.server-modal {
  width: 760px;
  max-width: 90%;
  max-height: 80%;
  background: linear-gradient(180deg, #2C2018 0%, #1E100A 100%);
  border: 1px solid #C4A035;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

.server-modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(196, 160, 53, 0.3);
}

.server-modal-title {
  font-size: 18px;
  color: #C4A035;
  letter-spacing: 2px;
  font-weight: bold;
}

.server-modal-close {
  width: 32px;
  height: 32px;
  line-height: 30px;
  font-size: 24px;
  color: #E8D8B8;
  background: transparent;
  border: 1px solid rgba(196, 160, 53, 0.4);
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.server-modal-close:hover {
  background: rgba(196, 160, 53, 0.2);
  border-color: #C4A035;
}

.server-modal-body {
  padding: 20px 25px;
  overflow-y: auto;
  -ms-flex: 1;
  flex: 1;
}

.server-modal-grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -6px -10px;
}

.server-modal-cell {
  width: 20%;
  padding: 6px 10px;
  box-sizing: border-box;
  cursor: pointer;
}

.server-modal-cell span {
  display: block;
  padding: 8px 5px;
  background: rgba(60, 40, 20, 0.7);
  border: 1px solid rgba(196, 160, 53, 0.3);
  border-radius: 5px;
  font-size: 13px;
  color: #E8D8B8;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.server-modal-cell:hover span,
.server-modal-cell.active span {
  background: rgba(196, 160, 53, 0.25);
  border-color: #C4A035;
}

.server-modal-cell.active span {
  color: #F0E8D0;
  font-weight: bold;
}

.server-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  flex: 1;
  align-content: flex-start;
}

.server-grid>* {
  width: calc(50% - 10px);
  box-sizing: border-box;
}

.server-cell {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #E8D8B8;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.server-cell:hover {
  color: #F0E8D8;
}

.server-cell .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C4A035;
  box-shadow: 0 0 8px #C4A035;
  flex-shrink: 0;
}

.server-cell .name {
  font-weight: bold;
}

.server-cell .status {
  color: #7fc8ff;
  font-size: 12px;
  margin-left: 8px;
}

.server-cell .status.normal {
  color: #C4B090;
}

.server-cell.active {
  color: #F0E8D8;
}

.server-cell.active .name {
  color: #F0E0B0;
}

.server-cell.active .dot {
  background: #F0E0B0;
  box-shadow: 0 0 10px #F0E0B0;
}

.server-cell.active .status {
  color: #F0E0B0;
}

.start-btn-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.start-btn-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(196, 160, 53, 0.5) 0%, rgba(232, 208, 128, 0.3) 25%, rgba(196, 160, 53, 0.5) 50%, rgba(232, 208, 128, 0.3) 75%, rgba(196, 160, 53, 0.5) 100%);
  mask: radial-gradient(circle, transparent 62%, black 63%);
  -webkit-mask: radial-gradient(circle, transparent 62%, black 63%);
  animation: swordRing 3s linear infinite;
}

@keyframes swordRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.start-btn {
  width: 130px;
  height: 130px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F0E8D0 0%, #D4BC80 50%, #A08040 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brown-deep);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 3px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(196, 160, 53, 0.5), inset 0 0 25px rgba(255, 255, 255, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}

.start-btn::before {
  content: "⚔";
  font-size: 28px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 8px rgba(196, 160, 53, 0.6));
}

.start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(196, 160, 53, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.8);
}

.start-btn small {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--brown-mid);
  margin-top: 2px;
  font-weight: normal;
}

.login-panel {
  width: 260px;
  height: 125px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.input-row:last-child {
  margin-bottom: 0;
}

.input-row label {
  width: 42px;
  font-size: 13px;
  color: #E8D8B8;
  text-align: right;
  line-height: 1.4;
  flex-shrink: 0;
}

.input-row input {
  flex: 1;
  height: 28px;
  line-height: 26px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #A08060;
  border-radius: 3px;
  padding: 0 8px;
  font-size: 13px;
  outline: none;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 8px 50px;
  font-size: 12px;
  line-height: 1.4;
  color: #C4B090;
}

.login-options label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  line-height: 1;
}

.login-options input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.login-options a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  line-height: 1;
}

.login-options a:hover {
  color: var(--gold-light);
}

.social-login {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 50px;
  font-size: 12px;
  line-height: 1.4;
  color: #C4B090;
}

.social-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.15);
}

.login-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 118px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 16px;
}

.btn-login,
.btn-register {
  display: block;
  cursor: pointer;
  transition: transform 0.2s;
  border: none;
  border-radius: 4px;
  object-fit: contain;
}

.btn-login:hover,
.btn-register:hover {
  transform: translateY(-2px);
}

.btn-login {
  width: 118px;
  height: 60px;
}

.btn-register {
  width: 113px;
  height: 24px;
}

.logged-view {
  width: 260px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #E8D8B8;
}

.logged-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #C4A035 0%, #8B6914 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(196, 160, 53, 0.5);
  flex-shrink: 0;
}

.logged-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.logged-title {
  font-size: 12px;
  color: #C4A035;
}

.logged-name {
  font-size: 15px;
  font-weight: bold;
  color: #F0E8D8;
}

.btn-logout {
  width: 60px;
  height: 30px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(180deg, #8B4A3A 0%, #5A2A1A 100%);
  color: #F0E8D8;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.btn-logout:hover {
  opacity: 0.9;
}

/* ===== Main Container ===== */
.main {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* ===== News Section ===== */
.news-section {
  display: flex;
  gap: 25px;
  margin-bottom: 50px;
}

.news-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.news-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  transition: background 0.3s;
}

.news-banner:hover::before {
  background: rgba(0, 0, 0, 0);
}

.news-list-wrap {
  flex: 1;
  height: 387px;
  background: rgba(240, 232, 216, 0.92);
  border-radius: 8px;
  border: 1px solid rgba(196, 160, 53, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), inset 0 0 60px rgba(196, 160, 53, 0.06);
  position: relative;
  overflow: hidden;
}

.news-tabs {
  display: flex;
  padding: 15px 30px 0;
  border-bottom: 1px solid rgba(139, 96, 64, 0.3);
  margin: 0 20px;
}

.news-tab {
  padding: 10px 22px;
  font-size: 15px;
  color: #6B5A40;
  cursor: pointer;
  position: relative;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.news-tab:hover {
  color: #8B6914;
}

.news-tab.active {
  color: #8B6914;
  font-weight: bold;
}

.news-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.news-more {
  display: none;
}

.news-content {
  padding: 15px 35px;
  height: calc(100% - 55px);
  overflow: hidden;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(196, 160, 53, 0.3);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}

.news-item.hidden {
  display: none;
}

.news-item:hover {
  color: var(--brown);
}

.news-item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 15px;
}

.news-item-title::before {
  content: "◆";
  color: var(--gold);
  margin-right: 10px;
  font-size: 10px;
}

.news-item-date {
  color: #8B7A60;
  font-size: 13px;
}

.news-highlight {
  color: #8B6914;
  font-weight: bold;
}

/* ===== Quick Links ===== */
.quick-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.quick-card {
  width: 285px;
  height: 350px;
  flex: none;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.3s;
  overflow: hidden;
}

.quick-card:hover {
  transform: translateY(-8px);
}


/* ===== Character Section ===== */
.character-section {
  height: 545px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 3px solid transparent;
  background:
    linear-gradient(#1A0F0A, #1A0F0A) padding-box,
    linear-gradient(135deg, #C4A035 0%, #F0E8D8 20%, #C4A035 40%, #8B6914 60%, #C4A035 80%, #F0E8D8 100%) border-box;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 220, 160, 0.3),
    0 0 30px rgba(196, 160, 53, 0.15);
}

.character-display {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.character-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--brown-deep) 0%, #0D0805 100%);
  border-top: 1px solid rgba(196, 160, 53, 0.25);
  padding: 40px 0 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  width: 1200px;
  margin: 0 auto;
  display: -ms-flexbox;
  display: flex;
}

.footer-inner>* {
  margin-right: 40px;
}

.footer-inner>*:last-child {
  margin-right: 0;
}

.footer-qr {
  width: 240px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.footer-qr>* {
  margin-right: 12px;
}

.footer-qr>*:last-child {
  margin-right: 0;
}

.qr-box {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.qr-left-text {
  font-size: 12px;
  line-height: 1.5;
  color: #C4B090;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  writing-mode: tb-lr;
  letter-spacing: 1px;
  height: 110px;
  width: 16px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 6px;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.qr-left-text span {
  display: block;
}

.qr-divider {
  width: 1px;
  height: 80px;
  background: rgba(196, 160, 53, 0.4);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.qr-text {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
  color: #F0E8D8;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  writing-mode: tb-lr;
  letter-spacing: 3px;
  height: 110px;
  width: 30px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.qr-text span {
  display: block;
}

.footer-links,
.footer-service {
  -ms-flex: 1;
  flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: 110px;
}

.service-col {
  -ms-flex: 1;
  flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 18px;
  box-sizing: border-box;
}

.service-divider {
  width: 1px;
  height: 70px;
  background: rgba(196, 160, 53, 0.25);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.service-icon-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  color: #C4A035;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.service-icon-wrap .service-icon {
  margin-right: 0;
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-right: 12px;
  color: #C4A035;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.service-icon svg,
.service-icon-wrap svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon.star svg {
  fill: #C4A035;
  stroke: none;
}

.new-badge {
  position: absolute;
  top: -8px;
  left: -10px;
  background: #C4A035;
  color: #2C1810;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: bold;
  -ms-transform: rotate(-12deg);
  transform: rotate(-12deg);
  z-index: 2;
  white-space: nowrap;
}

.service-body {
  font-size: 12px;
  line-height: 1.7;
  color: #A09880;
}

.service-body strong {
  display: block;
  font-size: 14px;
  color: #E8D090;
  margin-bottom: 3px;
  font-weight: bold;
}

.qq-btn {
  display: inline-block;
  background: #1E90FF;
  color: #fff;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  margin-top: 3px;
  transition: background 0.2s;
}

.qq-btn:hover {
  background: #187bcd;
}

.footer-title {
  display: none;
}

.footer-links p,
.footer-service p {
  font-size: 13px;
  line-height: 2;
  color: #A09880;
}

.footer-links a {
  color: #A09880;
  margin-right: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #807860;
  line-height: 2;
}

.company-info {
  font-size: 13px;
  line-height: 2.2;
  color: #A09880;
  margin-bottom: 8px;
}

.company-info p {
  margin: 0;
}

.company-info a {
  color: #C4A035;
  text-decoration: none;
}

.company-info a:hover {
  text-decoration: underline;
}

.copyright-notice {
  font-size: 12px;
  color: #807860;
  margin-bottom: 15px;
}

.footer-nav {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  border: 1px dashed rgba(196, 160, 53, 0.4);
  border-radius: 4px;
  padding: 8px 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #A09880;
  font-size: 13px;
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(196, 160, 53, 0.3);
}

.footer-nav a:last-child {
  border-right: none;
}

.footer-nav a:hover {
  color: #F0E8D8;
}

.cert-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 15px;
}

.cert-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 18px;
  color: #807860;
  font-size: 12px;
  text-align: left;
}

.cert-icon {
  width: 36px;
  height: 36px;
  margin-right: 8px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.cert-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.health-tip {
  font-size: 12px;
  color: #807860;
  margin-bottom: 10px;
}

.site-copyright {
  font-size: 12px;
  color: #807860;
}

.site-copyright a {
  color: #C4A035;
  text-decoration: none;
}

.site-copyright a:hover {
  text-decoration: underline;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--brown-mid);
  border-radius: 3px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== More Servers Page ===== */
.servers-section {
  width: 1200px;
  margin: 0 auto;
  padding: 45px 0 60px;
  min-height: 700px;
}

.servers-panel {
  background: linear-gradient(180deg, #3D2116 0%, #2C1810 100%);
  border: 2px solid #C4A035;
  border-radius: 12px;
  padding: 35px 55px 45px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.servers-panel::before,
.servers-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  border: 1px solid rgba(196, 160, 53, 0.35);
  pointer-events: none;
}

.servers-panel::before {
  left: 12px;
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.servers-panel::after {
  right: 12px;
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.servers-title {
  text-align: center;
  font-size: 32px;
  color: #E8D080;
  font-weight: bold;
  letter-spacing: 6px;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.servers-title>* {
  margin: 0 9px;
}

.servers-title .decor {
  color: #C4A035;
  font-size: 24px;
  letter-spacing: 2px;
}

.servers-title .decor-left::before {
  content: "▸";
  margin-right: 4px;
}

.servers-title .decor-right::after {
  content: "◂";
  margin-left: 4px;
}

.servers-block {
  margin-bottom: 28px;
}

.servers-block-title {
  font-size: 18px;
  color: #E8D8B8;
  font-weight: bold;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.recommend-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.recommend-grid .server-btn {
  width: calc(33.333% - 12px);
  margin-right: 18px;
  margin-bottom: 18px;
}

.recommend-grid .server-btn:nth-child(3n) {
  margin-right: 0;
}

@supports (display: grid) {
  .recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .recommend-grid .server-btn {
    width: auto;
    margin: 0;
  }
}

.server-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 44px;
  background: linear-gradient(180deg, #8B3030 0%, #6B2020 50%, #4A1515 100%);
  border: 1px solid #C4A035;
  border-radius: 4px;
  color: #F0E8D8;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  position: relative;
  padding: 0 14px;
}

.server-btn .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  -webkit-box-flex: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 8px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 0 3px rgba(0, 0, 0, 0.4);
}

.server-btn .status-dot.red {
  background: #C00;
}

.server-btn .status-dot.green {
  background: #28A428;
}

@supports (background: radial-gradient(circle at 30% 30%, #fff, #000)) {
  .server-btn .status-dot.red {
    background: radial-gradient(circle at 30% 30%, #FF6B6B, #C00 60%, #800 100%);
  }

  .server-btn .status-dot.green {
    background: radial-gradient(circle at 30% 30%, #7CFC7C, #28A428 60%, #186418 100%);
  }
}

.server-btn::before,
.server-btn::after {
  content: none;
}

.server-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 14px rgba(0, 0, 0, 0.4);
}

.server-btn.active {
  background: linear-gradient(180deg, #D4A030 0%, #B08020 50%, #8B6010 100%);
  color: #2C1810;
  border-color: #E8D080;
}


.servers-selector {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.servers-selector>* {
  margin-right: 10px;
}

.servers-selector>*:last-child {
  margin-right: 0;
}

.servers-selector label {
  font-size: 14px;
  color: #E8D8B8;
  letter-spacing: 1px;
}

.servers-selector select {
  height: 30px;
  line-height: 28px;
  background: #F0E8D8;
  border: 1px solid #C4A035;
  border-radius: 3px;
  padding: 0 28px 0 10px;
  font-size: 14px;
  color: #2C1810;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.selector-wrap {
  position: relative;
}

.selector-wrap::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #6B3A2A;
  pointer-events: none;
}

.servers-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.servers-input-wrap input {
  width: 70px;
  height: 30px;
  background: #F0E8D8;
  border: 1px solid #C4A035;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  color: #2C1810;
  outline: none;
}

.servers-input-wrap span {
  font-size: 14px;
  color: #E8D8B8;
}

.enter-game-btn {
  height: 30px;
  padding: 0 16px;
  background: linear-gradient(180deg, #C4A035 0%, #A08020 100%);
  border: 1px solid #E8D080;
  border-radius: 3px;
  color: #2C1810;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: filter 0.15s;
}

.enter-game-btn:hover {
  filter: brightness(1.15);
}

.range-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 22px;
}

.range-tab {
  height: 34px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid #C4A035;
  border-radius: 3px;
  color: #E8D8B8;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  margin-right: 10px;
}

.range-tab:last-child {
  margin-right: 0;
}

.range-tab:hover {
  background: rgba(196, 160, 53, 0.15);
}

.range-tab.active {
  background: #E8D080;
  border-color: #E8D080;
  color: #2C1810;
  font-weight: bold;
}

.server-list-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.server-list-grid .server-btn {
  width: calc(33.333% - 12px);
  margin-right: 18px;
  margin-bottom: 16px;
}

.server-list-grid .server-btn:nth-child(3n) {
  margin-right: 0;
}

@supports (display: grid) {
  .server-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
  }

  .server-list-grid .server-btn {
    width: auto;
    margin: 0;
  }
}

/* ===== Gift Center ===== */
.gift-section {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gift-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 25px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.gift-header-icon {
  width: 26px;
  height: 26px;
  color: #666;
  flex-shrink: 0;
}

.gift-header h2 {
  font-size: 22px;
  color: #333;
  font-weight: bold;
  letter-spacing: 1px;
}

.gift-body {
  min-height: 600px;
}

.gift-content {
  flex: 1;
  padding: 25px;
  background: #f5f5f5;
}

.gift-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
  transition: box-shadow 0.2s;
}

.gift-row:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gift-thumb {
  width: 130px;
  height: 85px;
  flex-shrink: 0;
  margin-right: 15px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f9f9f9;
}

.gift-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-info {
  width: 170px;
  flex-shrink: 0;
  margin-right: 15px;
}

.gift-name {
  font-size: 15px;
  color: #4a9eff;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: normal;
  display: inline-block;
}

.gift-name:hover {
  text-decoration: underline;
}

.gift-info p {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
  line-height: 1.5;
}

.vip-tag {
  display: inline-block;
  background: linear-gradient(180deg, #f0c040 0%, #d4a020 100%);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  margin-left: 4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.gift-desc {
  flex: 1;
  margin-right: 15px;
}

.gift-desc-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.gift-desc-content {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

.gift-action {
  flex-shrink: 0;
}

.btn-claim {
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  background: #ff8c00;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-claim:hover {
  opacity: 0.9;
}

.btn-claim:active {
  transform: scale(0.98);
}

.btn-claim.green {
  background: #5cb85c;
}

.gift-tips {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  margin-top: 20px;
}

.tips-text {
  color: #e74c3c;
  font-size: 13px;
  line-height: 1.8;
}

.tips-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.tips-text p {
  margin-bottom: 3px;
}

.tips-qq {
  color: #e74c3c;
  font-weight: bold;
  margin-left: 4px;
}

.tips-qrcode {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  margin-left: 20px;
}

.tips-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== Claim Code Modal ===== */
.claim-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.claim-modal-overlay.active {
  display: flex;
}

.claim-modal {
  width: 420px;
  max-width: 90%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: claimModalIn 0.3s ease;
}

@keyframes claimModalIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.claim-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  height: 34px;
  background: #6db3f2;
}

.claim-modal-header-title {
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
}

.claim-modal-close-x {
  width: 18px;
  height: 18px;
  line-height: 16px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  padding: 0;
}

.claim-modal-close-x:hover {
  background: rgba(255, 255, 255, 0.35);
}

.claim-modal-body {
  padding: 22px 28px 0;
  text-align: center;
}

.claim-modal-success {
  font-size: 16px;
  color: #4aa8f0;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.claim-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.claim-code-label {
  font-size: 14px;
  color: #333;
}

.claim-code-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.claim-code-text {
  width: 210px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #c0c0c0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1px;
  font-family: "Courier New", Consolas, monospace;
  text-align: left;
  user-select: all;
}

.btn-copy-code {
  padding: 7px 12px;
  border: none;
  border-radius: 2px;
  background: #6db3f2;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn-copy-code:hover {
  opacity: 0.85;
}

.btn-copy-code.copied {
  background: #5cb85c;
}

.claim-modal-extra {
  margin-top: 18px;
  padding: 12px 0;
  background: #f5f5f5;
  border-top: 1px solid #eaeaea;
  text-align: center;
  font-size: 13px;
  color: #e74c3c;
  line-height: 1.6;
}

.claim-modal-extra p {
  margin-bottom: 0;
}