/* 奇迹 1.03H 主题样式 - 红/黑主题，配合 bg-mu-red-01.jpg */

:root {
  --mu-bg-deep: #0a0506;
  --mu-bg-panel: rgba(20, 8, 9, 0.82);
  --mu-bg-panel-light: rgba(34, 14, 16, 0.88);
  --mu-border: rgba(190, 50, 45, 0.38);
  --mu-border-strong: rgba(220, 70, 60, 0.7);
  --mu-text: #ecdcdc;
  --mu-text-muted: #b78f8f;
  --mu-gold: #e8a85c;
  --mu-gold-bright: #ff8a00;
  --mu-cyan: #e06a5a;
  --mu-red: #c93030;
  --mu-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --mu-title-grad: linear-gradient(90deg, rgba(140, 30, 28, 0.75), rgba(55, 16, 16, 0.5));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--mu-bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mu-text);
  font-family: "Microsoft YaHei", "PingFang SC", simsun, arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

a {
  color: var(--mu-cyan);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #fff;
}

.fl {
  float: left;
}
.fr {
  float: right;
}
.cs-clear::after {
  content: "";
  display: table;
  clear: both;
}

/* 预览切换条（仅 preview.html 使用） */
.preview-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--mu-border);
}
.preview-bar button {
  padding: 6px 18px;
  border: 1px solid var(--mu-border);
  background: rgba(55, 16, 16, 0.6);
  color: var(--mu-text);
  cursor: pointer;
  font-size: 13px;
  border-radius: 3px;
}
.preview-bar button.active,
.preview-bar button:hover {
  background: linear-gradient(
    180deg,
    rgba(190, 50, 45, 0.35),
    rgba(140, 30, 28, 0.5)
  );
  border-color: var(--mu-border-strong);
  color: #fff;
}
.preview-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.preview-page.none {
  display: none;
}

/* 布局容器 */
.wrapbg {
  position: relative;
  z-index: 1;
}
.wrapbg_top {
  min-width: 1040px;
  min-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.main {
  flex: 1;
  background: transparent;
  padding: 50px 0 0;
}

/* 背景轮播（三张交叉淡入淡出） */
.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--mu-bg-deep);
  pointer-events: none;
}
.bg-slideshow .bg-slide {
  position: absolute;
  inset: 0;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.bg-slideshow .bg-slide.active {
  opacity: 1;
}

/* 顶栏导航 - 整行占满、无边框、透明 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(74, 18, 18, 0.92) 0%,
    rgba(150, 32, 28, 0.92) 50%,
    rgba(74, 18, 18, 0.92) 100%
  );
  box-shadow: var(--mu-shadow);
  border: none;
  backdrop-filter: blur(3px);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease;
  will-change: background-color, backdrop-filter;
}
.nav_div {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
.nav {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: left;
}
.nav a {
  position: relative;
  width: 100px;
  height: 50px;
  overflow: hidden;
  transition: background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav a:not(.nav_logo)::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mu-gold-bright),
    transparent
  );
  transition:
    left 0.25s ease,
    right 0.25s ease;
}
.nav a:not(.nav_logo):hover {
  background: linear-gradient(
    180deg,
    rgba(190, 50, 45, 0.04) 0%,
    rgba(200, 48, 40, 0.32) 100%
  );
}
.nav a:not(.nav_logo):hover::after {
  left: 12%;
  right: 12%;
}
.nav .nav_logo {
  width: 150px;
  margin-right: auto;
  background: none;
  overflow: visible;
}
.nav .nav_logo .logo-svg {
  transform-origin: center;
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
  animation: logoBreath 6s ease-in-out infinite;
}
.nav .nav_logo:hover .logo-svg {
  filter: drop-shadow(0 0 10px rgba(255, 196, 90, 0.95))
    drop-shadow(0 0 24px rgba(255, 150, 40, 0.55)) brightness(1.15);
  transform: scale(1.12);
  animation: none;
}
@keyframes logoBreath {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 190, 80, 0.25));
    transform: scale(0.96);
  }
  50% {
    filter: drop-shadow(0 0 11px rgba(255, 205, 95, 0.8))
      drop-shadow(0 0 20px rgba(255, 150, 40, 0.4));
    transform: scale(1.04);
  }
}
.nav a .nav_text1 {
  margin: 0;
  font-size: 14px;
  color: #f5e9e9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.nav a:hover .nav_text1 {
  color: var(--mu-gold);
}

/* 主内容区 - 上下布局 */
.content {
  width: 1000px;
  margin: 0 auto;
}
.sec_man {
  width: 100%;
}
.section {
  width: 100%;
}

/* 侧栏模块 */
.mod {
  background: var(--mu-bg-panel);
  border: 1px solid var(--mu-border);
  border-radius: 4px;
  box-shadow: var(--mu-shadow);
  margin-bottom: 10px;
  overflow: hidden;
}
.mod_serverlist {
  width: 250px;
  min-height: 185px;
  background: linear-gradient(
    180deg,
    rgba(70, 20, 20, 0.4) 0%,
    rgba(20, 8, 9, 0.9) 100%
  );
}
.mod_stat_div {
  width: 250px;
  height: 120px;
  margin: 0 auto;
}
.server_choose {
  width: 200px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  margin: 8px auto 12px;
  background: linear-gradient(
    180deg,
    rgba(120, 40, 38, 0.3),
    rgba(55, 16, 16, 0.5)
  );
  border: 1px solid var(--mu-border);
  border-radius: 3px;
}
.server_choose a {
  color: var(--mu-gold);
  font-size: 14px;
}
.server_choose a:hover {
  color: #fff;
}

/* 快捷按钮 - 横向一排 */
.mod_gift {
  display: flex;
}
.mod_gift a {
  flex: 1;
  display: block;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: var(--mu-text);
  font-size: 15px;
  background: rgba(40, 14, 14, 0.6);
}
.mod_gift a:hover {
  color: var(--mu-gold);
  background: rgba(190, 50, 45, 0.12);
}
.mod_gift .mod_gift_bl,
.mod_gift a + a {
  border-left: 1px solid var(--mu-border);
}

/* 底部客服区 */
.mod_service {
  margin-top: 12px;
  background: var(--mu-bg-panel);
  border: 1px solid var(--mu-border);
  border-radius: 4px;
  box-shadow: var(--mu-shadow);
  overflow: hidden;
}
.mod_service .service_hd {
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  color: #fff;
  font-size: 15px;
  background: linear-gradient(
    90deg,
    rgba(140, 30, 28, 0.7),
    rgba(55, 16, 16, 0.5)
  );
  border-bottom: 1px solid var(--mu-border);
}
.mod_service .service_body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 18px 16px;
  color: var(--mu-text-muted);
  font-size: 14px;
}
.mod_service .service_body p {
  margin: 0;
}
.mod_service .service_body .kf_qq {
  color: var(--mu-gold);
  font-size: 16px;
}
.qq_group img {
  vertical-align: middle;
}

/* 轮播 */
.mod_slide {
  width: 330px;
}
.mod-slide-s2 {
  width: 330px;
  height: 240px;
  border: 1px solid var(--mu-border-strong);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--mu-shadow);
}
.mod-slide-s2 .mod-slide-content {
  height: 240px;
  overflow: hidden;
}
.mod-slide-s2 .mod-slide-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mod-slide-s2 .mod-slide-content img {
  width: 330px;
  height: 240px;
  object-fit: cover;
  display: block;
}
.mod-slide-s2 .mod-slide-trigger {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mod-slide-s2 .mod-slide-trigger li {
  float: left;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  background: rgba(150, 150, 150, 0.6);
  border-radius: 50%;
  cursor: pointer;
}
.mod-slide-s2 .mod-slide-trigger li.selected {
  background: var(--mu-gold);
}

/* 新闻区 - 全宽，标题与游戏配置一致 */
.mod_newstab {
  width: 100%;
  background: var(--mu-bg-panel);
  border: 1px solid var(--mu-border);
  border-radius: 4px;
  box-shadow: var(--mu-shadow);
  overflow: hidden;
}
.newtabs {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(
    90deg,
    rgba(140, 30, 28, 0.7),
    rgba(55, 16, 16, 0.5)
  );
  border-bottom: 1px solid var(--mu-border);
}
.newtabs p {
  margin: 0;
  line-height: 40px;
  color: #fff;
  font-size: 15px;
  font-weight: normal;
}

.newcoms {
  min-height: 160px;
  background: transparent;
}
.newcom_box {
  padding: 10px 12px;
}

.newcom_box .new_list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
}
.newcom_box .new_list li {
  display: flex;
  width: calc(50% - 15px);
  justify-content: space-between;
  align-items: center;
  line-height: 28px;
  border-bottom: 1px dashed rgba(190, 50, 45, 0.2);
  padding: 0 2px;
}
.newcom_box .new_list a.new_tit {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--mu-text);
  font-size: 12px;
}
.newcom_box .new_list a.new_tit:hover {
  color: var(--mu-gold);
}
.newcom_box .new_list .tit_label {
  color: var(--mu-cyan);
  margin-right: 4px;
}
.newcom_box .new_list .new_date {
  color: var(--mu-text-muted);
  font-size: 12px;
  flex-shrink: 0;
  margin-left: 8px;
}

.part {
  margin-bottom: 12px;
}

/* 游戏配置区 */
.game-set {
  margin: 12px 0;
  background: rgba(20, 8, 9, 0.45);
  border: 1px solid var(--mu-border);
  border-radius: 4px;
  box-shadow: var(--mu-shadow);
  overflow: hidden;
}
.game-set h3.pic_tabs {
  margin: 0;
  padding: 0 16px;
  line-height: 40px;
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  background: linear-gradient(
    90deg,
    rgba(140, 30, 28, 0.7),
    rgba(55, 16, 16, 0.5)
  );
  border-bottom: 1px solid var(--mu-border);
}
.set-content {
  padding: 0;
  background: rgba(6, 12, 24, 0.3);
}

/* 首页配置 table（CMS 输出） */
.set-content table,
.download_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: transparent;
  border: none;
}
.set-content table td,
.download_table td,
.download_table th {
  padding: 8px 12px;
  border: 1px solid rgba(190, 50, 45, 0.22);
  color: var(--mu-text);
  font-size: 13px;
  vertical-align: middle;
  background: rgba(24, 8, 9, 0.55);
}
.set-content table tr:first-child td,
.download_table tr:first-child td {
  background: rgba(80, 22, 22, 0.45);
}
.set-content table td:first-child,
.download_table td:first-child[width],
.download_table td[align="right"] {
  width: 150px;
  text-align: center;
  color: var(--mu-gold);
  font-weight: bold;
  background: rgba(40, 14, 14, 0.7);
  white-space: nowrap;
}
.set-content table span,
.set-content table strong,
.set-content table font {
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: inherit !important;
}
.set-content table a {
  color: var(--mu-cyan);
}
.set-content table p {
  margin: 6px 0;
  text-align: center;
}
/* 首页配置表格透明度调高 */
.set-content table td {
  background: rgba(24, 8, 9, 0.3);
}
.set-content table tr:first-child td {
  background: rgba(80, 22, 22, 0.28);
}
.set-content table td:first-child {
  background: rgba(40, 14, 14, 0.42);
}

/* 内页容器 */
.inner {
  background: var(--mu-bg-panel);
  border: 1px solid var(--mu-border);
  border-radius: 4px;
  box-shadow: var(--mu-shadow);
  overflow: hidden;
}
.inner_hd {
  height: 40px;
  line-height: 40px;
  padding: 0 16px 0 20px;
  color: var(--mu-text-muted);
  font-size: 14px;
  background: linear-gradient(
    90deg,
    rgba(140, 30, 28, 0.7),
    rgba(55, 16, 16, 0.4)
  );
  border-bottom: 1px solid var(--mu-border);
}
.inner_hd span {
  color: var(--mu-gold);
}
.inner_main {
  min-height: 500px;
  padding: 0;
  background: rgba(6, 12, 24, 0.55);
  border: none;
  overflow: hidden;
}

/* 内页表单 table */
.download_table {
  width: 92%;
  margin: 20px auto 30px;
}
.download_table td[align="right"] {
  width: 150px;
  text-align: right;
  color: var(--mu-gold);
  font-weight: bold;
  background: rgba(40, 14, 14, 0.75);
}
.download_table input[type="text"],
.download_table input[type="password"],
.download_table select,
.download_table textarea {
  padding: 6px 10px;
  border: 1px solid var(--mu-border);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  outline: none;
}
.download_table input:focus,
.download_table select:focus {
  border-color: var(--mu-border-strong);
  box-shadow: 0 0 6px rgba(190, 50, 45, 0.3);
}
.download_table strong {
  color: var(--mu-text-muted);
  font-weight: normal;
  font-size: 12px;
}
.download_table input[type="submit"],
.download_table input[type="button"],
.download_table .btn-submit {
  padding: 8px 28px;
  border: 1px solid var(--mu-border-strong);
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    rgba(150, 45, 40, 0.8),
    rgba(140, 30, 28, 0.9)
  );
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.download_table input[type="submit"]:hover {
  background: linear-gradient(
    180deg,
    rgba(190, 50, 45, 0.6),
    rgba(50, 100, 160, 0.9)
  );
}

.site-icp {
  margin-top: 50px;
  text-align: center;
  padding: 8px 4px;
  color: var(--mu-text-muted);
  font-size: 12px;
}
