/* ========================================
   国际米兰App下载官网 - 全局样式
   域名: guomiapp.com
   主题色: 国米蓝 #003366 / 黑 #0A0A0A / 金 #C9A959
   ======================================== */

/* --- 重置与基础 --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a; background: #fff; line-height: 1.7; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; border: none; outline: none; }
button { cursor: pointer; }

/* --- 工具类 --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
    font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px;
    color: #003366; position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px; background: #C9A959;
    margin: 10px auto 0;
}
.section-subtitle {
    text-align: center; color: #666; font-size: 1.05rem; margin-bottom: 50px;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #C9A959, #D4B86A); color: #003366;
    box-shadow: 0 4px 15px rgba(201,169,89,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(201,169,89,0.5); }
.btn-outline {
    border: 2px solid #fff; color: #fff; background: transparent;
}
.btn-outline:hover { background: #fff; color: #003366; }
.btn-dark {
    background: #003366; color: #fff; box-shadow: 0 4px 15px rgba(0,51,102,0.3);
}
.btn-dark:hover { background: #004080; transform: translateY(-2px); }

/* --- 导航栏 --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(0, 51, 102, 0.95); backdrop-filter: blur(10px);
    padding: 0 0; transition: all 0.3s ease; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar.scrolled { background: rgba(0, 51, 102, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar .container {
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: #fff;
}
.nav-logo .logo-icon {
    width: 42px; height: 42px; background: linear-gradient(135deg, #C9A959, #D4B86A);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; color: #003366;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #C9A959; transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-download {
    background: linear-gradient(135deg, #C9A959, #D4B86A); color: #003366 !important;
    padding: 8px 20px; border-radius: 50px; font-weight: 600 !important;
}
.nav-download::after { display: none !important; }
.nav-download:hover { transform: scale(1.05); }

/* 移动端菜单 */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 25px; height: 2px; background: #fff; transition: all 0.3s ease; }

/* --- Hero 区域 --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #001a33 0%, #003366 40%, #0a1628 100%);
    position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(201,169,89,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,104,168,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    text-align: center; color: #fff; position: relative; z-index: 2; max-width: 800px; padding: 20px;
}
.hero-badge {
    display: inline-block; background: rgba(201,169,89,0.15); border: 1px solid rgba(201,169,89,0.3);
    color: #C9A959; padding: 6px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #C9A959 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 50px; justify-content: center; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 { font-size: 2.2rem; color: #C9A959; font-weight: 700; }
.hero-stat p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* --- 俱乐部介绍 --- */
.club-intro { background: #f8f9fc; }
.club-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.club-image {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,51,102,0.15);
}
.club-image-placeholder {
    width: 100%; height: 400px; background: linear-gradient(135deg, #003366, #004080);
    display: flex; align-items: center; justify-content: center; color: #C9A959;
    font-size: 4rem; font-weight: 800;
}
.club-text h3 { font-size: 1.8rem; color: #003366; margin-bottom: 20px; }
.club-text p { color: #555; margin-bottom: 16px; font-size: 1.02rem; }
.club-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.club-feature {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px;
    background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.club-feature-icon {
    width: 40px; height: 40px; background: linear-gradient(135deg, #003366, #004080);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: #C9A959; font-size: 1.1rem; flex-shrink: 0;
}
.club-feature h4 { font-size: 1rem; color: #003366; margin-bottom: 4px; }
.club-feature p { font-size: 0.88rem; color: #777; margin: 0; }

/* --- 新闻区域 --- */
.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.news-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s ease;
    border: 1px solid #eee;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,51,102,0.12); }
.news-card-image {
    height: 180px; background: linear-gradient(135deg, #003366, #004080);
    display: flex; align-items: center; justify-content: center; color: #C9A959;
    font-size: 2.5rem; position: relative;
}
.news-card-date {
    position: absolute; top: 12px; right: 12px; background: rgba(0,51,102,0.9);
    color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem;
}
.news-card-body { padding: 24px; }
.news-card-category {
    display: inline-block; background: rgba(0,51,102,0.08); color: #003366;
    padding: 3px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 10px;
}
.news-card h3 { font-size: 1.1rem; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: #666; font-size: 0.92rem; line-height: 1.6; }
.news-card-footer {
    padding: 16px 24px; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center;
}
.news-card-footer a { color: #003366; font-weight: 600; font-size: 0.9rem; }
.news-card-footer a:hover { color: #C9A959; }
.news-card-footer span { color: #999; font-size: 0.85rem; }

/* --- FAQ 区域 --- */
.faq-section { background: #f8f9fc; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; border-radius: 12px; margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid #eee; overflow: hidden;
}
.faq-question {
    padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: background 0.3s ease;
}
.faq-question:hover { background: #f8f9fc; }
.faq-question h3 {
    font-size: 1.05rem; color: #1a1a1a; font-weight: 600; flex: 1; padding-right: 16px;
}
.faq-toggle {
    width: 32px; height: 32px; background: rgba(0,51,102,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #003366;
    font-size: 1.2rem; transition: all 0.3s ease; flex-shrink: 0;
}
.faq-item.active .faq-toggle { background: #003366; color: #C9A959; transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-content {
    padding: 0 24px 20px; color: #555; font-size: 0.98rem; line-height: 1.8;
}

/* --- App下载区域 --- */
.download-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: #fff; text-align: center; position: relative; overflow: hidden;
}
.download-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A959' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.download-content { position: relative; z-index: 2; }
.download-section h2 { font-size: 2.5rem; margin-bottom: 16px; }
.download-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.download-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.download-btn {
    display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px; color: #fff; transition: all 0.3s ease;
}
.download-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.download-btn-icon { font-size: 2rem; }
.download-btn-text small { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.download-btn-text strong { font-size: 1.1rem; }

/* --- 页脚 --- */
.footer {
    background: #0a0a0a; color: rgba(255,255,255,0.7); padding: 60px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; }
.footer h4 { color: #C9A959; font-size: 1.1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer ul li a:hover { color: #C9A959; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
    text-align: center; font-size: 0.88rem; color: rgba(255,255,255,0.5);
}

/* --- 响应式 --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .club-grid { grid-template-columns: 1fr; gap: 40px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { 
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: rgba(0,51,102,0.98); flex-direction: column; padding: 20px;
        gap: 16px; border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 30px; flex-wrap: wrap; }
    .news-grid { grid-template-columns: 1fr; }
    .club-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}

/* --- SEO 隐藏文本 --- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}