/* ==========================================================================
   MK Sports - Common Styles
   全站公共样式
   ========================================================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.8; color: #E8D5C4; background: #0A0A0A; -webkit-font-smoothing: antialiased; }
a { color: #D4AF37; text-decoration: none; transition: color 0.3s; }
a:hover { color: #E8D5C4; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: "Noto Serif SC", "Source Han Serif SC", serif; font-weight: 900; line-height: 1.3; color: #E8D5C4; }

/* Layout */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 4vw; }

/* Navigation */
.main-nav { position: fixed; top: 0; left: 0; right: 0; height: 80px; background: rgba(44,24,24,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid rgba(212,175,55,0.15); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 4vw; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-family: "Noto Serif SC", serif; font-size: 1.4rem; font-weight: 900; color: #D4AF37; letter-spacing: 0.1em; }
.logo-en { font-size: 0.65rem; color: #8B3A3A; letter-spacing: 0.25em; text-transform: uppercase; }
.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-menu a { color: #E8D5C4; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; position: relative; padding-bottom: 4px; }
.nav-menu a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #D4AF37; transition: width 0.3s; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover { color: #D4AF37; }
.nav-contact { display: flex; align-items: center; gap: 1.2rem; }
.nav-contact .phone { color: #D4AF37; font-size: 0.9rem; font-weight: 700; }
.btn-contact { display: inline-block; padding: 0.5rem 1.2rem; border: 1px solid #D4AF37; color: #D4AF37; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.3s; }
.btn-contact:hover { background: #D4AF37; color: #0A0A0A; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: #D4AF37; transition: 0.3s; }

/* Buttons */
.btn-primary, .btn-outline { display: inline-block; padding: 0.9rem 2.2rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; border: none; }
.btn-primary { background: #D4AF37; color: #0A0A0A; }
.btn-primary:hover { background: #E8D5C4; color: #0A0A0A; }
.btn-outline { background: transparent; color: #D4AF37; border: 1px solid #D4AF37; }
.btn-outline:hover { background: #D4AF37; color: #0A0A0A; }
.btn-more { display: inline-block; color: #D4AF37; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; position: relative; }
.btn-more::after { content: " >"; }
.btn-more:hover { color: #E8D5C4; }

/* Page Banner */
.page-banner { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; z-index: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.75); z-index: 1; }
.banner-content { position: relative; z-index: 2; text-align: center; }
.banner-content h1 { font-size: 2.8rem; color: #E8D5C4; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.banner-content p { color: #D4AF37; font-size: 1.1rem; letter-spacing: 0.1em; }

/* Footer */
.main-footer { background: #000; border-top: 1px solid rgba(212,175,55,0.1); padding: 4rem 0 1.5rem; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 4vw; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { font-family: "Noto Serif SC", serif; font-size: 1.6rem; color: #D4AF37; margin-bottom: 0.5rem; }
.footer-brand .slogan { color: #8B3A3A; font-size: 0.85rem; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.footer-contact-info p { color: #888; font-size: 0.8rem; line-height: 2; }
.footer-contact-info span { color: #E8D5C4; }
.footer-links h4 { color: #D4AF37; font-size: 0.9rem; margin-bottom: 1.2rem; font-weight: 700; }
.footer-links a { color: #888; font-size: 0.8rem; line-height: 2.2; display: block; transition: color 0.3s; }
.footer-links a:hover { color: #D4AF37; }
.footer-bottom { border-top: 1px solid rgba(212,175,55,0.1); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: #666; font-size: 0.75rem; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #D4AF37; }

/* Error & Success Pages */
.error-section, .success-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 6rem 4vw; }
.error-content, .success-content { text-align: center; }
.error-code { font-size: 8rem; font-weight: 900; color: #8B3A3A; line-height: 1; margin-bottom: 1rem; font-family: "Noto Serif SC", serif; }
.error-content h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.error-content p { color: #888; margin-bottom: 0.5rem; }
.error-links { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.success-icon { width: 80px; height: 80px; line-height: 80px; border-radius: 50%; background: #D4AF37; color: #0A0A0A; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.success-content h1 { font-size: 2rem; margin-bottom: 1rem; }
.success-content p { color: #888; margin-bottom: 0.5rem; }
.success-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 0.5rem 1rem; font-size: 0.85rem; color: #888; border: 1px solid rgba(212,175,55,0.2); transition: all 0.3s; }
.pagination a:hover { background: #D4AF37; color: #0A0A0A; border-color: #D4AF37; }
.pagination span.current { background: #D4AF37; color: #0A0A0A; border-color: #D4AF37; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: 2.4rem; color: #E8D5C4; margin-bottom: 0.8rem; position: relative; display: inline-block; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: #D4AF37; margin: 0.8rem auto 0; }
.section-desc { color: #888; font-size: 1rem; }

/* Responsive */
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { position: absolute; top: 80px; left: 0; right: 0; background: rgba(44,24,24,0.98); flex-direction: column; padding: 2rem; gap: 1.5rem; display: none; border-bottom: 1px solid rgba(212,175,55,0.15); }
    .main-nav.nav-open .nav-menu { display: flex; }
    .nav-contact { display: none; }
    .footer-main { grid-template-columns: 1fr; gap: 2rem; }
    .page-banner { height: 280px; }
    .banner-content h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
}
