@charset "utf-8";
/* MK体育在线官网 - 全站公共样式 common.css */
/* 配色：M焦糖棕系列 主色#E8D5C0 辅色#8B5E3C 深色背景#2C1F15 */

/* === 重置与基础 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: #4A3728; background: #FDF8F3; line-height: 1.8;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: #8B5E3C; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #2C1F15; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.4; color: #2C1F15; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }
::selection { background: #E8D5C0; color: #2C1F15; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FDF8F3; }
::-webkit-scrollbar-thumb { background: #8B5E3C; border-radius: 3px; }

/* === 胶囊导航 N5 === */
.nav-capsule {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(44, 31, 21, 0.92); backdrop-filter: blur(20px);
  border-radius: 50px; padding: 8px 32px; z-index: 1000;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 30px rgba(44, 31, 21, 0.3);
  border: 1px solid rgba(232, 213, 192, 0.15);
  transition: all 0.3s ease;
}
.nav-capsule:hover {
  background: rgba(44, 31, 21, 0.98);
  box-shadow: 0 6px 40px rgba(44, 31, 21, 0.4);
}
.nav-logo {
  font-size: 15px; font-weight: 700; color: #E8D5C0;
  margin-right: 20px; white-space: nowrap; letter-spacing: 1px;
  font-family: "Courier New", "Consolas", "Monaco", monospace;
}
.nav-logo span { color: #8B5E3C; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 16px; border-radius: 25px; font-size: 14px;
  color: rgba(232, 213, 192, 0.8); white-space: nowrap;
  transition: all 0.3s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: #E8D5C0; background: rgba(139, 94, 60, 0.4);
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px;
  background: #E8D5C0; border-radius: 50%;
}
.nav-toggle {
  display: none; background: none; color: #E8D5C0;
  font-size: 20px; padding: 8px;
}

/* === 页脚 Footer === */
.footer {
  background: #2C1F15; color: rgba(232, 213, 192, 0.6);
  padding: 40px 24px 30px; text-align: center; font-size: 13px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  font-size: 18px; font-weight: 700; color: #E8D5C0;
  margin-bottom: 16px; letter-spacing: 2px;
  font-family: "Courier New", "Consolas", "Monaco", monospace;
}
.footer-info { margin-bottom: 20px; line-height: 2; }
.footer-info p { margin: 4px 0; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(232, 213, 192, 0.5); font-size: 13px; }
.footer-links a:hover { color: #E8D5C0; }
.footer-copy {
  border-top: 1px solid rgba(232, 213, 192, 0.1);
  padding-top: 20px; color: rgba(232, 213, 192, 0.35); font-size: 12px;
}
.footer-copy a { color: rgba(232, 213, 192, 0.35); }

/* === 通用容器 === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title h2 {
  font-size: 32px; color: #2C1F15; margin-bottom: 12px;
  position: relative; display: inline-block;
  font-family: "Courier New", "Consolas", "Monaco", monospace;
}
.section-title h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%); width: 40px; height: 3px;
  background: #8B5E3C; border-radius: 2px;
}
.section-title p { color: #8B5E3C; font-size: 14px; margin-top: 16px; }

/* === 按钮样式 B5箭头引导 === */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; background: #8B5E3C; color: #FDF8F3;
  border-radius: 8px; font-size: 15px; font-weight: 500;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-arrow:hover { background: #2C1F15; color: #E8D5C0; transform: translateX(4px); }
.btn-arrow svg { width: 16px; height: 16px; fill: currentColor; transition: transform 0.3s ease; }
.btn-arrow:hover svg { transform: translateX(4px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; background: transparent; color: #8B5E3C;
  border: 2px solid #8B5E3C; border-radius: 8px;
  font-size: 14px; font-weight: 500; transition: all 0.3s ease;
}
.btn-outline:hover { background: #8B5E3C; color: #FDF8F3; }

/* === 面包屑 === */
.breadcrumb {
  background: linear-gradient(135deg, #2C1F15 0%, #4A3728 100%);
  padding: 60px 0 40px; margin-top: 0;
}
.breadcrumb h1 { color: #E8D5C0; font-size: 28px; margin-bottom: 8px; }
.breadcrumb-nav { color: rgba(232, 213, 192, 0.5); font-size: 13px; }
.breadcrumb-nav a { color: rgba(232, 213, 192, 0.7); }
.breadcrumb-nav a:hover { color: #E8D5C0; }
.breadcrumb-nav span { margin: 0 8px; }

/* === 分页 === */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 10px 16px; border-radius: 6px; font-size: 14px;
  border: 1px solid #E8D5C0; color: #4A3728; transition: all 0.3s ease;
  min-width: 42px; text-align: center;
}
.pagination a:hover { background: #E8D5C0; color: #2C1F15; border-color: #E8D5C0; }
.pagination .current { background: #8B5E3C; color: #FDF8F3; border-color: #8B5E3C; }
.pagination .prev, .pagination .next { padding: 10px 20px; }

/* === 返回顶部 === */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #8B5E3C; color: #FDF8F3; display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; z-index: 999;
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #2C1F15; transform: translateY(-4px); }

/* === 响应式 === */
@media (max-width: 768px) {
  .nav-capsule { padding: 6px 16px; top: 12px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0;
    right: 0; background: rgba(44, 31, 21, 0.98); border-radius: 16px;
    padding: 12px; flex-direction: column; gap: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 10px 16px; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .nav-logo { margin-right: 12px; font-size: 13px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
  .section-title { margin-bottom: 40px; }
  .footer-links { gap: 12px; }
  .container { padding: 0 16px; }
  .breadcrumb { padding: 50px 0 30px; }
  .breadcrumb h1 { font-size: 22px; }
}
@media (max-width: 480px) {
  .nav-capsule { left: 12px; right: 12px; transform: none; border-radius: 12px; }
  .section { padding: 36px 0; }
  .section-title h2 { font-size: 20px; }
}
