/* ===== MK体育在线官网-MK体育（中国）公共样式 common.css ===== */
/* 全站公共样式 - AF石榴红系列配色 */

/* ===== CSS变量定义 ===== */
:root {
  --primary: #E64A19;
  --primary-light: #FBE9E7;
  --primary-dark: #3E1208;
  --primary-mid: #FF7043;
  --text-main: #2D2D2D;
  --text-secondary: #666666;
  --text-muted: #999999;
  --bg-white: #FFFFFF;
  --bg-light: #FFF8F6;
  --bg-gradient-start: #FFF5F2;
  --bg-gradient-end: #FFFFFF;
  --border-light: #F0D5CE;
  --border-main: #E64A19;
  --shadow-sm: 0 2px 8px rgba(230,74,25,0.08);
  --shadow-md: 0 4px 20px rgba(230,74,25,0.12);
  --shadow-lg: 0 8px 40px rgba(230,74,25,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* ===== 重置与基础 ===== */
*, *::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: var(--text-main);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: var(--primary); transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; border: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

/* ===== 胶囊导航栏 N5 ===== */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 92%;
  max-width: 1200px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.header.scrolled {
  top: 10px;
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.98);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
}
.logo svg { width: 36px; height: 36px; }
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 25px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--primary-mid); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.65); }
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.footer-links a:hover { color: var(--primary-mid); padding-left: 4px; }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 35px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary-mid); }

/* ===== 响应式基础 ===== */
@media (max-width: 992px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .header { width: 95%; padding: 10px 18px; top: 12px; }
  .nav { display: none; position: absolute; top: 70px; left: 5%; right: 5%; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); flex-direction: column; padding: 16px; gap: 4px; border: 1px solid var(--border-light); }
  .nav.active { display: flex; }
  .nav a { width: 100%; text-align: center; padding: 12px; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .header { width: 96%; padding: 8px 14px; }
  .logo { font-size: 1rem; }
  .logo svg { width: 28px; height: 28px; }
}

/* ===== 通用工具类 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-title .line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* B1圆角填充按钮 */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* 面包屑 */
.breadcrumb {
  background: var(--bg-light);
  padding: 80px 0 30px;
  margin-bottom: 40px;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb h1 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.breadcrumb-nav { font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-nav a { color: var(--text-secondary); }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav span { margin: 0 8px; color: var(--text-muted); }
