@charset "UTF-8";
/* ===== MK体育在线官网 全站公共样式 common.css ===== */
/* 配色：主色#D6EAF8 / 辅色#2980B9 / 深色背景#1A252F */

/* ===== CSS变量 ===== */
:root {
  --primary: #2980B9;
  --primary-light: #D6EAF8;
  --dark: #1A252F;
  --text: #2C3E50;
  --text-light: #5D6D7E;
  --white: #FFFFFF;
  --gray: #ECF0F1;
  --border: #BDC3C7;
  --shadow: rgba(26, 37, 47, 0.08);
  --font-mono: 'Courier New', Consolas, 'SF Mono', monospace;
  --max-width: 1200px;
  --nav-height: 64px;
}

/* ===== 重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-mono);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== 导航栏 N1通栏白底 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--primary-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo span {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text);
  border-radius: 0;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 24px;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: #8E99A4;
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.8;
}
.footer-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-links a {
  display: block;
  color: #8E99A4;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-contact p {
  color: #8E99A4;
  font-size: 13px;
  line-height: 2;
}
.footer-contact .label { color: #5D6D7E; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #2C3E50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: #5D6D7E;
  font-size: 12px;
}
.footer-bottom a { color: #8E99A4; font-size: 12px; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== 通用容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
}

/* ===== B2直角切割按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 30px;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--primary-light);
  padding: 12px 0;
}
.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { color: var(--dark); }
.breadcrumb-inner span { color: var(--text-light); margin: 0 6px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 0;
    border-bottom: 1px solid var(--primary-light);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 12px 16px; border-bottom: 1px solid var(--gray); }
  .nav-toggle { display: flex; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
}
@media (max-width: 480px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 16px; }
  html { font-size: 14px; }
}
