/* 全局 - 深色主题 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}
body {
  padding-top: 70px;
  line-height: 1.6;
  background-color: #121212;
  color: #e0e0e0;
}
.section-padding {
  padding: 80px 0;
}
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}
.bg-gray {
  background-color: #1e1e1e;
}
footer {
  text-align: center;
  padding: 30px 0;
  background: #1e1e1e;
  margin-top: 30px;
  color: #e0e0e0;
}

/* 导航栏深色适配 */
.navbar {
  background-color: #1f1f1f !important;
}
.navbar-brand img {
  filter: brightness(1.2);
}
.nav-link {
  color: #e0e0e0 !important;
}
.nav-link.active, .nav-link:hover {
  color: #007bff !important;
}

/* 欢迎板块 */
#hero-area {
  background-color: #000000;
  padding: 60px 0;
}
.head-title {
  color: #ffffff !important;
}

/* 服务器介绍板块 */
#feature {
  background-color: #121212;
}
.title-hl {
  color: #ffffff !important;
}
.feature-bg {
  background-color: #1e1e1e;
}
.feature-item {
  color: #e0e0e0;
}
.feature-content h3 {
  color: #ffffff;
}

/* 特色介绍板块 */
#services {
  background-color: #1e1e1e;
}
.services-item {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.services-content h3 a {
  color: #ffffff !important;
}
.services-content p {
  color: #e0e0e0 !important;
}

/* 管理组板块 */
.team-item {
  background-color: #000 !important;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.info-text h3 a {
  color: #000000 !important;
}
.info-text p {
  color: #c2c2c2 !important;
}

/* 数据统计板块 */
#counter {
  background-color: #121212;
  position: relative;
}
#counter .overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.counter-box {
  color: #fff;
}
.fact-count h3 {
  color: #fff;
}
.fact-count p {
  color: #eee;
}

/* 玩家作品板块 */
#portfolios {
  background-color: #121212;
}
.portfolio-item {
  background-color: #1e1e1e;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.single-content a {
  color: #007bff !important;
}
.shot-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
}

/* 玩家留言板块 */
#testimonial {
  background-color: #1e1e1e;
}
.testimonial-item {
  color: #e0e0e0;
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
}
.testimonial-item h2 a,
.testimonial-item h3 a {
  color: #ffffff !important;
}
#testimonial .section-title,
#testimonial .section-header p {
  color: #ffffff !important;
}

/* 官方公告板块 */
#blog {
  background-color: #121212;
}
.blog-item-wrapper {
  background-color: #000 !important;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: none !important;
}
.blog-item-text h3 a {
  color: #fff !important;
  text-decoration: none;
}
.blog-item-text p {
  color: #fff !important;
}
.blog-item-text .btn-common {
  background-color: #222 !important;
  border-color: #444 !important;
  color: #fff !important;
}
.blog-item-text .btn-common:hover {
  background-color: #007bff !important;
  color: #fff !important;
}

/* 联系方式板块 */
.contact-right-area {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
}
.contact-right-area h1,
.contact-right-area h2 {
  color: #ffffff !important;
}
.single-contact p,
.single-contact p a {
  color: #e0e0e0 !important;
}

/* 版权信息 */
.copyright {
  background-color: #1f1f1f;
  color: #b0b0b0;
  padding: 20px 0;
}
.copyright p {
  color: #b0b0b0;
}

/* 自定义深色滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #007bff;
}

/* 全局文字统一白色 */
#feature .title-hl,
#feature p,
#feature .feature-content h3,
#feature .feature-content p,
#services .services-content h3 a,
#services .services-content p,
#services .section-title,
#services .section-header p,
#blog .blog-item-text h3 a,
#blog .blog-item-text p,
#testimonial .testimonial-item h2 a,
#testimonial .testimonial-item h3 a {
  color: #fff !important;
}

/* 修复QQ图标偏移问题 */
.contact-right .single-contact {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.contact-right .single-contact .contact-icon {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.contact-right .single-contact .contact-icon svg {
  width: 20px;
  height: 20px;
  transform: translateY(0);
}
.contact-right .single-contact .contact-icon i.lni-envelope {
  font-size: 20px;
  line-height: 24px;
}

/* ==================== 维护日志深色样式（合并新增） ==================== */
.log-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #1e1e1e;
  border-radius: 8px;
  padding: 30px;
  color: #e0e0e0;
}
.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}
.log-header h2 {
  color: #fff;
  font-size: 24px;
}
.log-filter {
  display: flex;
  gap: 15px;
  align-items: center;
}
.log-filter input, .log-filter select,
.log-add input, .log-add textarea, .log-add select {
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 4px;
  outline: none;
  width: 100%;
  background: #2a2a2a;
  color: #fff;
}
.log-filter button, .log-add button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  color: #fff;
}
.log-filter button {
  background: #007bff;
}
.log-filter button:hover {
  background: #0056b3;
}
.log-add {
  margin-bottom: 20px;
}
.log-add form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}
.log-add textarea {
  resize: none;
  padding: 10px;
}
.log-add button {
  padding: 10px 20px;
  background: #28a745;
}
.log-add button:hover {
  background: #1e7e34;
}
.log-table {
  width: 100%;
  border-collapse: collapse;
}
.log-table th, .log-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #333;
  color: #e0e0e0;
}
.log-table th {
  background: #2a2a2a;
  color: #fff;
  font-weight: 600;
}
.log-table tr:hover {
  background: #2a2a2a;
}
.log-empty {
  text-align: center;
  padding: 50px;
  color: #999;
}