/* ========================================
   xy-007 体育企业模板 - 深靛蓝+暖金
   ======================================== */

:root {
    --primary: #1a237e;
    --primary-light: #283593;
    --primary-dark: #0d1442;
    --gold: #ffc107;
    --gold-hover: #e6ac00;
    --gold-light: #fff3cd;
    --bg-dark: #0a0e2e;
    --bg-light: #f5f6fa;
    --bg-gray: #f0f1f5;
    --text: #1a1a2e;
    --text-light: #6c6c8a;
    --text-white: #ffffff;
    --border: #d8dae5;
    --shadow: 0 4px 16px rgba(26,35,126,.1);
    --shadow-lg: 0 12px 40px rgba(26,35,126,.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all .3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif; color: var(--text); line-height: 1.7; background: #fff; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* Header */
.xy7-header { background: var(--primary-dark); padding: 0; box-shadow: 0 2px 12px rgba(0,0,0,.3); z-index: 1000; }
.xy7-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.xy7-header .logo { display: inline-block; }
.xy7-header .logo-text { color: var(--text-white); font-size: 1.4rem; font-weight: 700; }
.xy7-header .logo-text i { color: var(--gold); margin-right: 8px; }
.xy7-header .logo mip-img { height: 40px; width: auto; }
.xy7-nav { display: flex; align-items: center; gap: 6px; }
.xy7-nav .nav-link { color: rgba(255,255,255,.85); padding: 8px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; transition: var(--transition); }
.xy7-nav .nav-link:hover { color: var(--gold); background: rgba(255,255,255,.08); }
.xy7-search-btn { color: var(--gold); background: rgba(255,193,7,.1); border: 1px solid rgba(255,193,7,.3); padding: 8px 18px; border-radius: 20px; font-size: .9rem; cursor: pointer; transition: var(--transition); }
.xy7-search-btn:hover { background: var(--gold); color: var(--primary-dark); }
.xy7-mobile-btn { display: none; background: none; border: none; color: var(--text-white); font-size: 1.4rem; cursor: pointer; }

/* Hero */
.xy7-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.xy7-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.xy7-hero-bg mip-img { width: 100%; height: 100%; object-fit: cover; }
.xy7-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13,20,66,.92) 0%, rgba(26,35,126,.75) 50%, rgba(13,20,66,.6) 100%); }
.xy7-hero-content { padding: 80px 0 60px; color: var(--text-white); text-align: center; }
.xy7-hero-tag { display: inline-block; background: rgba(255,193,7,.15); border: 1px solid rgba(255,193,7,.4); color: var(--gold); padding: 6px 20px; border-radius: 20px; font-size: .85rem; margin-bottom: 20px; letter-spacing: 1px; }
.xy7-hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.xy7-hero-desc { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 30px; line-height: 1.8; }
.xy7-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.xy7-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.xy7-btn-gold { background: var(--gold); color: var(--primary-dark); }
.xy7-btn-gold:hover { background: var(--gold-hover); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,193,7,.4); }
.xy7-btn-outline { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,.4); }
.xy7-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Stats */
.xy7-stats { background: var(--primary); padding: 50px 0; }
.xy7-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.xy7-stat-item { color: var(--text-white); }
.xy7-stat-item .number { font-size: 2.8rem; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.xy7-stat-item .label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 8px; display: block; }

/* Sections */
.xy7-section { padding: 70px 0; }
.xy7-section-dark { background: var(--bg-light); }
.xy7-section-header { text-align: center; margin-bottom: 48px; }
.xy7-section-header h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.xy7-section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.xy7-section-header .line { width: 50px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }

/* About */
.xy7-about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.xy7-about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.xy7-about-img mip-img { width: 100%; display: block; }
.xy7-about-content h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 16px; font-weight: 700; }
.xy7-about-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.xy7-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.xy7-feature { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-light); border-radius: var(--radius-sm); }
.xy7-feature i { color: var(--gold); font-size: 1.1rem; }
.xy7-feature span { font-size: .9rem; font-weight: 500; }

/* Services */
.xy7-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.xy7-service-card { background: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); position: relative; overflow: hidden; }
.xy7-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.xy7-service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.xy7-service-card:hover::before { transform: scaleX(1); }
.xy7-service-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.xy7-service-icon i { font-size: 1.6rem; color: var(--gold); }
.xy7-service-card h4 { font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; font-weight: 600; }
.xy7-service-card p { color: var(--text-light); font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.xy7-service-link { color: var(--gold); font-weight: 600; font-size: .9rem; }
.xy7-service-link:hover { color: var(--gold-hover); }

/* News */
.xy7-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.xy7-news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.xy7-news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xy7-news-img { overflow: hidden; }
.xy7-news-img mip-img { width: 100%; display: block; transition: var(--transition); }
.xy7-news-card:hover .xy7-news-img mip-img { transform: scale(1.05); }
.xy7-news-body { padding: 22px; }
.xy7-news-body h4 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.5; }
.xy7-news-body h4 a { color: var(--primary); }
.xy7-news-body h4 a:hover { color: var(--gold); }
.xy7-news-body p { color: var(--text-light); font-size: .88rem; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xy7-read-more { color: var(--gold); font-size: .85rem; font-weight: 600; }
.xy7-read-more:hover { color: var(--gold-hover); }

/* CTA */
.xy7-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 70px 0; text-align: center; color: var(--text-white); }
.xy7-cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.xy7-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Category */
.xy7-cat-header { position: relative; overflow: hidden; }
.xy7-cat-bg { width: 100%; }
.xy7-cat-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(13,20,66,.7), rgba(26,35,126,.85)); }
.xy7-cat-header .container { position: relative; z-index: 2; padding: 60px 0 50px; }
.xy7-cat-header h1 { color: var(--text-white); font-size: 2rem; font-weight: 700; }
.xy7-breadcrumb { padding: 16px 0; font-size: .85rem; color: var(--text-light); }
.xy7-breadcrumb a { color: var(--text-light); }
.xy7-breadcrumb a:hover { color: var(--gold); }
.xy7-breadcrumb span { color: var(--primary); font-weight: 500; }
.xy7-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 0 50px; }
.xy7-cat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.xy7-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xy7-cat-card-img { overflow: hidden; }
.xy7-cat-card-img mip-img { width: 100%; display: block; transition: var(--transition); }
.xy7-cat-card:hover .xy7-cat-card-img mip-img { transform: scale(1.05); }
.xy7-cat-card-body { padding: 20px; }
.xy7-cat-card-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.5; }
.xy7-cat-card-body h3 a { color: var(--primary); }
.xy7-cat-card-body h3 a:hover { color: var(--gold); }
.xy7-cat-card-body p { color: var(--text-light); font-size: .85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xy7-pagination { padding: 20px 0 50px; text-align: center; }
.xy7-pagination .pagination { justify-content: center; gap: 6px; }
.xy7-pagination .page-link { color: var(--primary); border-color: var(--border); padding: 8px 16px; border-radius: var(--radius-sm); }
.xy7-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: var(--text-white); }

/* Detail */
.xy7-detail-layout { max-width: 860px; margin: 0 auto; padding: 40px 15px 60px; }
.article-title { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.4; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; font-size: .85rem; color: var(--text-light); }
.article-meta a { color: var(--gold); }
.article-content { font-size: 1rem; line-height: 2; color: var(--text); }
.article-content mip-img { margin: 16px 0; border-radius: var(--radius-sm); }
.article-content p { margin-bottom: 18px; }
.article-tags { padding: 24px 0; border-top: 1px solid var(--border); margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.article-tags a { display: inline-block; background: var(--gold-light); color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: .82rem; font-weight: 500; }
.article-tags a:hover { background: var(--gold); color: var(--primary-dark); }

/* Related */
.xy7-related { max-width: 860px; margin: 0 auto; padding: 0 15px 60px; }
.xy7-related-title { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.xy7-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xy7-related-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.xy7-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.xy7-related-img mip-img { width: 100%; display: block; }
.xy7-related-card h4 { padding: 14px 16px; font-size: .9rem; line-height: 1.5; }
.xy7-related-card h4 a { color: var(--primary); }
.xy7-related-card h4 a:hover { color: var(--gold); }

/* Search / SO */
.xy7-so-layout { max-width: 860px; margin: 0 auto; padding: 40px 15px 60px; }
.xy7-so-header { text-align: center; margin-bottom: 36px; }
.xy7-so-header h1 { font-size: 1.8rem; color: var(--primary); margin-bottom: 20px; }
.xy7-so-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
.xy7-so-input { flex: 1; padding: 12px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; outline: none; transition: var(--transition); }
.xy7-so-input:focus { border-color: var(--primary); }
.xy7-so-result { background: var(--bg-light); padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .9rem; color: var(--text-light); }
.xy7-so-result strong { color: var(--primary); }
.xy7-so-list { display: flex; flex-direction: column; gap: 18px; }
.xy7-so-item { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.xy7-so-item:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }
.xy7-so-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.xy7-so-item h3 a { color: var(--primary); }
.xy7-so-item h3 a:hover { color: var(--gold); }
.xy7-so-item p { color: var(--text-light); font-size: .88rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xy7-so-item .meta { font-size: .8rem; color: var(--text-light); margin-top: 10px; }
.xy7-so-hot { margin-top: 30px; }
.xy7-so-hot h4 { font-size: 1rem; color: var(--primary); margin-bottom: 14px; }
.xy7-so-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.xy7-so-tags a { background: var(--bg-light); color: var(--text-light); padding: 6px 16px; border-radius: 20px; font-size: .82rem; }
.xy7-so-tags a:hover { background: var(--gold-light); color: var(--primary); }

/* Tag */
.xy7-tag-layout { max-width: 900px; margin: 0 auto; padding: 40px 15px 60px; }
.xy7-tag-header { text-align: center; margin-bottom: 36px; }
.xy7-tag-header h1 { font-size: 1.8rem; color: var(--primary); margin-bottom: 8px; }
.xy7-tag-header p { color: var(--text-light); }
.xy7-tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xy7-tag-light { background: var(--bg-light); }

/* Gallery / Page Layout */
.xy7-gallery-layout, .xy7-page-layout { max-width: 900px; margin: 0 auto; padding: 40px 15px 60px; }
.xy7-page-layout .article-title { font-size: 1.8rem; }
.article-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }

/* Footer */
.xy7-footer { background: var(--primary-dark); color: rgba(255,255,255,.7); padding: 50px 0 0; }
.xy7-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.xy7-footer-logo { margin-bottom: 14px; }
.xy7-footer-logo .logo-text { color: var(--text-white); font-size: 1.3rem; font-weight: 700; }
.xy7-footer-logo .logo-text i { color: var(--gold); }
.xy7-footer-logo mip-img { height: 36px; width: auto; }
.xy7-footer-top p { font-size: .88rem; line-height: 1.7; }
.xy7-footer-links h6 { color: var(--gold); font-size: .9rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.xy7-footer-links ul { list-style: none; }
.xy7-footer-links li { margin-bottom: 10px; }
.xy7-footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; }
.xy7-footer-links a:hover { color: var(--gold); }
.xy7-footer-bottom { text-align: center; padding: 20px 0; font-size: .82rem; color: rgba(255,255,255,.4); }

/* Responsive */
@media (max-width: 991px) {
    .xy7-hero-content h1 { font-size: 2.2rem; }
    .xy7-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-about { grid-template-columns: 1fr; gap: 30px; }
    .xy7-services-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-news-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-related-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-tag-grid { grid-template-columns: repeat(2, 1fr); }
    .xy7-footer-top { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
    .xy7-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); padding: 16px; gap: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
    .xy7-nav.show { display: flex; }
    .xy7-mobile-btn { display: block; }
    .xy7-hero { min-height: 400px; }
    .xy7-hero-content h1 { font-size: 1.8rem; }
    .xy7-hero-desc { font-size: 1rem; }
    .xy7-services-grid { grid-template-columns: 1fr; }
    .xy7-news-grid { grid-template-columns: 1fr; }
    .xy7-cat-grid { grid-template-columns: 1fr; }
    .xy7-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .xy7-stat-item .number { font-size: 2rem; }
    .xy7-features { grid-template-columns: 1fr; }
    .xy7-related-grid { grid-template-columns: 1fr; }
    .xy7-tag-grid { grid-template-columns: 1fr; }
    .xy7-so-form { flex-direction: column; }
    .xy7-section { padding: 50px 0; }
    .article-title { font-size: 1.4rem; }
}
