/* 苍穹蓝 主题 - 体育企业模板 (ylx) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --ylx-primary: #1a3a6b;
    --ylx-primary-dark: #0d1f3a;
    --ylx-accent: #3b82f6;
    --ylx-gradient1: #dbeafe;
    --ylx-gradient2: #eff6ff;
    --ylx-dark1: #0f172a;
    --ylx-dark2: #1e3a5f;
    --ylx-bg: #ffffff;
    --ylx-text: #1e293b;
    --ylx-text2: #64748b;
    --ylx-border: #e5e7eb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito','PingFang SC','Microsoft YaHei',sans-serif; color: var(--ylx-text); background: var(--ylx-bg); line-height: 1.6; }
a { color: var(--ylx-primary); text-decoration: none; transition: .3s; }
a:hover { color: var(--ylx-primary-dark); }
img { max-width: 100%; display: block; }

/* Header */
.ylx-header { background: #fff; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.ylx-header .navbar { padding: 15px 0; }
.ylx-header .navbar-brand img { max-height: 50px; }
.ylx-header .nav-link { color: #333; font-weight: 500; padding: .5rem 1rem; transition: .3s; }
.ylx-header .nav-link:hover, .ylx-header .nav-link.active { color: var(--ylx-primary); background: var(--ylx-gradient2); border-radius: 4px; }
.ylx-header .btn-primary { background: var(--ylx-primary); border-color: var(--ylx-primary); font-weight: 500; }
.ylx-header .btn-primary:hover { background: var(--ylx-primary-dark); border-color: var(--ylx-primary-dark); }

/* Hero */
.ylx-hero { padding: 100px 0 80px; background: linear-gradient(135deg, var(--ylx-gradient1), var(--ylx-gradient2)); }
.ylx-hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--ylx-text); margin-bottom: 1.5rem; }
.ylx-hero p { font-size: 1.1rem; color: var(--ylx-text2); margin-bottom: 2rem; }
.ylx-hero .btn-hero { background: var(--ylx-primary); color: #fff; padding: 14px 32px; border-radius: 30px; font-weight: 600; transition: .3s; display: inline-flex; align-items: center; gap: 8px; }
.ylx-hero .btn-hero:hover { background: var(--ylx-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); color: #fff; }
.ylx-hero .btn-outline { border: 2px solid var(--ylx-primary); color: var(--ylx-primary); padding: 12px 28px; border-radius: 30px; font-weight: 600; transition: .3s; }
.ylx-hero .btn-outline:hover { background: var(--ylx-primary); color: #fff; }
.ylx-hero img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.15); }

/* Section base */
.ylx-section { padding: 100px 0; }
.ylx-section.alt { background: linear-gradient(to right, var(--ylx-gradient1), var(--ylx-gradient2)); }
.ylx-sec-header { text-align: center; margin-bottom: 3rem; }
.ylx-sec-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: .5rem; }
.ylx-sec-header p { color: var(--ylx-text2); font-size: 1.1rem; }

/* About */
.ylx-about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ylx-about-img { flex: 1 1 45%; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.ylx-about-img img { width: 100%; height: 100%; object-fit: cover; }
.ylx-about-txt { flex: 1 1 48%; }
.ylx-about-txt h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.ylx-about-txt p { color: var(--ylx-text2); margin-bottom: 1rem; line-height: 1.9; }

/* Services */
.ylx-svc-card { background: #fff; border-radius: 16px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,.05); transition: .3s; height: 100%; }
.ylx-svc-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,.1); }
.ylx-svc-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--ylx-primary), var(--ylx-accent)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: #fff; font-size: 2rem; }
.ylx-svc-card h4 { font-weight: 700; margin-bottom: .8rem; }
.ylx-svc-card p { color: var(--ylx-text2); font-size: .95rem; }
.ylx-svc-card .img-wrap { border-radius: 10px; overflow: hidden; margin-bottom: 1rem; height: 160px; }
.ylx-svc-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ylx-svc-card:hover .img-wrap img { transform: scale(1.06); }

/* Pricing */
.ylx-price-card { background: #fff; border-radius: 16px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,.05); border: 2px solid transparent; transition: .3s; }
.ylx-price-card.featured { border-color: var(--ylx-primary); transform: scale(1.05); }
.ylx-price-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.1); }
.ylx-price-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.ylx-price-card .price { font-size: 2.5rem; font-weight: 800; color: var(--ylx-primary); margin: 1rem 0; }
.ylx-price-card .price span { font-size: 1rem; color: var(--ylx-text2); font-weight: 400; }
.ylx-price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.ylx-price-card ul li { padding: .5rem 0; color: var(--ylx-text2); }
.ylx-price-card ul li i { color: var(--ylx-primary); margin-right: .5rem; }
.ylx-price-card .btn-p { display: block; background: var(--ylx-primary); color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 600; }
.ylx-price-card .btn-p:hover { background: var(--ylx-primary-dark); color: #fff; }

/* Reviews */
.ylx-rev-card { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 5px 20px rgba(0,0,0,.05); margin: 0 1rem; }
.ylx-rev-card i { font-size: 2.5rem; color: var(--ylx-accent); margin-bottom: 1rem; }
.ylx-rev-card h4 { font-weight: 700; margin-bottom: .5rem; }
.ylx-rev-card p { color: var(--ylx-text2); font-size: .95rem; }

/* App */
.ylx-app { padding: 100px 0; }
.ylx-app h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
.ylx-app p { color: var(--ylx-text2); margin-bottom: 2rem; }
.ylx-app .btn-app { display: inline-block; background: var(--ylx-text); color: #fff; padding: 12px 30px; border-radius: 8px; font-weight: 600; margin-right: 1rem; margin-bottom: .5rem; }
.ylx-app .btn-app:hover { background: var(--ylx-primary); color: #fff; }

/* CTA */
.ylx-cta { padding: 80px 0; background: linear-gradient(135deg, var(--ylx-primary), var(--ylx-primary-dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.ylx-cta::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ylx-cta h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; position: relative; z-index: 2; }
.ylx-cta .btn-cta { display: inline-block; background: #fff; color: var(--ylx-primary); padding: 14px 40px; border-radius: 30px; font-weight: 600; position: relative; z-index: 2; }
.ylx-cta .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.2); color: var(--ylx-primary-dark); }

/* FAQ */
.ylx-faq-item { background: var(--ylx-gradient2); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; transition: .3s; }
.ylx-faq-item:hover { background: var(--ylx-gradient1); }
.ylx-faq-item h5 { font-weight: 600; margin-bottom: .5rem; color: var(--ylx-primary); }
.ylx-faq-item p { color: var(--ylx-text2); margin: 0; }

/* News */
.ylx-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ylx-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); border: 1px solid var(--ylx-border); transition: .3s; }
.ylx-news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.ylx-news-card .thumb { height: 180px; background: var(--ylx-gradient2); display: flex; align-items: center; justify-content: center; color: var(--ylx-accent); font-size: 2rem; overflow: hidden; }
.ylx-news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ylx-news-card .body { padding: 18px 20px; }
.ylx-news-card .body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ylx-news-card .body h3 a { color: var(--ylx-text); }
.ylx-news-card .body h3 a:hover { color: var(--ylx-primary); }
.ylx-news-card .body p { font-size: 14px; color: var(--ylx-text2); margin-bottom: 10px; }
.ylx-news-card .meta { font-size: 12px; color: var(--ylx-text2); display: flex; gap: 12px; }
.ylx-news-card .meta i { color: var(--ylx-primary); margin-right: 3px; }

/* Detail */
.ylx-detail { max-width: 860px; margin: 0 auto; }
.ylx-detail h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.ylx-detail .meta { color: var(--ylx-text2); font-size: 14px; margin-bottom: 24px; }
.ylx-detail .body { font-size: 17px; line-height: 1.9; color: #374151; }
.ylx-detail .body img { border-radius: 10px; margin: 16px auto; }

/* Pagehead / Breadcrumb / Pagination */
.ylx-pagehead { background: linear-gradient(135deg, var(--ylx-primary), var(--ylx-accent)); color: #fff; padding: 50px 0; }
.ylx-pagehead h1 { margin: 0; font-size: 2rem; font-weight: 700; }
.ylx-pagehead p { margin: 8px 0 0; color: rgba(255,255,255,.8); }
.ylx-crumb { margin-bottom: 24px; font-size: 14px; }
.ylx-crumb a { color: var(--ylx-text2); }
.ylx-crumb a:hover { color: var(--ylx-primary); }
.ylx-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.ylx-pagination a, .ylx-pagination span { padding: 8px 14px; border: 1px solid var(--ylx-border); border-radius: 6px; color: var(--ylx-text2); font-size: 14px; }
.ylx-pagination .active, .ylx-pagination a:hover { background: var(--ylx-primary); color: #fff; border-color: var(--ylx-primary); }

/* Search / Tags */
.ylx-searchbar { display: flex; max-width: 560px; margin: 0 auto 36px; gap: 8px; }
.ylx-searchbar input { flex: 1; padding: 12px 18px; border: 1px solid var(--ylx-border); border-radius: 8px; font-size: 15px; }
.ylx-searchbar button { padding: 12px 28px; background: var(--ylx-primary); color: #fff; border: 0; border-radius: 8px; font-weight: 600; cursor: pointer; }
.ylx-searchbar button:hover { background: var(--ylx-primary-dark); }
.ylx-tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ylx-tagcloud a { padding: 7px 16px; background: var(--ylx-gradient2); color: var(--ylx-primary); border-radius: 20px; font-size: 14px; }
.ylx-tagcloud a:hover { background: var(--ylx-primary); color: #fff; }

/* Footer */
.ylx-footer { background: var(--ylx-dark1); color: #fff; padding: 60px 0 30px; }
.ylx-footer h5 { font-weight: 700; margin-bottom: 1.2rem; }
.ylx-footer p, .ylx-footer li { color: rgba(255,255,255,.7); font-size: .95rem; }
.ylx-footer ul { list-style: none; padding: 0; }
.ylx-footer ul li { margin-bottom: .5rem; }
.ylx-footer ul li a { color: rgba(255,255,255,.7); text-decoration: none; transition: .3s; }
.ylx-footer ul li a:hover { color: #fff; padding-left: 4px; }
.ylx-footer .form-control { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.ylx-footer .form-control::placeholder { color: rgba(255,255,255,.5); }
.ylx-footer .copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin-top: 2rem; text-align: center; color: rgba(255,255,255,.5); }

/* Responsive */
@media (max-width: 768px) {
    .ylx-hero h1 { font-size: 2rem; }
    .ylx-hero p { font-size: 1rem; }
    .ylx-price-card.featured { transform: scale(1); }
    .ylx-about { flex-direction: column; }
}
