/* ============================================================
   Citta 足球资讯企业风模板 · 原创样式
   结构对标 lacittadella（Bootstrap 5.3 + ylx-* 类体系）
   theme1 午夜蓝·琥珀金 / theme2 森林绿·铜橙 / theme3 勃艮第·青蓝
   注意：凡含 var() 组合的复合变量，在各 theme 块内用字面色值重声明，
   防止 :root 冻结（见 dancms 站群主题化经验）。
   ============================================================ */
:root {
    --ylx-primary: #14213d;
    --ylx-primary-dark: #0d1526;
    --ylx-accent: #fca311;
    --ylx-gradient1: #e9eefb;
    --ylx-gradient2: #f7f9ff;
    --ylx-dark1: #0d1526;
    --ylx-dark2: #1d3557;
    --ylx-bg: #ffffff;
    --ylx-text: #17233b;
    --ylx-text2: #5c6b84;
    --ylx-border: #e5e7eb;
    --ylx-radius: 16px;
    --ylx-hero-grad: linear-gradient(135deg, #e9eefb, #f7f9ff);
    --ylx-sec-grad: linear-gradient(to right, #e9eefb, #f7f9ff);
    --ylx-btn-grad: linear-gradient(135deg, #14213d, #fca311);
    --ylx-page-grad: linear-gradient(135deg, #14213d, #3d5a80);
}
body[data-theme="2"] {
    --ylx-primary: #14532d;
    --ylx-primary-dark: #052e16;
    --ylx-accent: #ea580c;
    --ylx-gradient1: #e5f5e9;
    --ylx-gradient2: #f3fbf5;
    --ylx-dark1: #04220f;
    --ylx-dark2: #14532d;
    --ylx-text: #14251a;
    --ylx-text2: #55705f;
    --ylx-hero-grad: linear-gradient(160deg, #e5f5e9, #f6fdf8);
    --ylx-sec-grad: linear-gradient(to left, #e5f5e9, #f3fbf5);
    --ylx-btn-grad: linear-gradient(135deg, #14532d, #ea580c);
    --ylx-page-grad: linear-gradient(150deg, #052e16, #16a34a);
}
body[data-theme="3"] {
    --ylx-primary: #6d1a36;
    --ylx-primary-dark: #45071f;
    --ylx-accent: #0891b2;
    --ylx-gradient1: #fbe9ef;
    --ylx-gradient2: #fdf4f7;
    --ylx-dark1: #2c0413;
    --ylx-dark2: #6d1a36;
    --ylx-text: #2c1220;
    --ylx-text2: #7c5a68;
    --ylx-hero-grad: linear-gradient(200deg, #fbe9ef, #fff6f9);
    --ylx-sec-grad: linear-gradient(120deg, #fbe9ef, #fdf4f7);
    --ylx-btn-grad: linear-gradient(135deg, #6d1a36, #0891b2);
    --ylx-page-grad: linear-gradient(200deg, #45071f, #0891b2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: var(--ylx-text); background: var(--ylx-bg); line-height: 1.65; }
a { color: var(--ylx-primary); text-decoration: none; transition: .25s; }
a:hover { color: var(--ylx-primary-dark); }
img { max-width: 100%; display: block; }
.ylx-main { display: block; }

/* ---------- Header ---------- */
.ylx-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 12px rgba(15, 23, 42, .06); }
.ylx-header .navbar { padding: 14px 0; }
.ylx-header .navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ylx-text); max-width: min(46vw, 420px); }
.ylx-header .navbar-brand:hover { color: var(--ylx-primary); }
.ylx-brand-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--ylx-btn-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 auto; }
.ylx-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ylx-header .nav-link { color: #334155; font-weight: 600; padding: .5rem 1rem !important; border-radius: 8px; }
.ylx-header .nav-link:hover, .ylx-header .nav-link.active { color: var(--ylx-primary); background: var(--ylx-gradient2); }
.ylx-header .btn-primary, .ylx-footer .btn-primary, .ylx-searchbar button { background: var(--ylx-primary); border-color: var(--ylx-primary); color: #fff; font-weight: 600; }
.ylx-header .btn-primary:hover { background: var(--ylx-primary-dark); border-color: var(--ylx-primary-dark); }
.ylx-hotline-btn { border-radius: 30px; white-space: nowrap; }
.ylx-nav-state { display: none; }
.ylx-collapse { display: flex; align-items: center; flex: 1 1 auto; gap: 12px; }
.ylx-collapse .navbar-nav { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; }
.ylx-toggler { border: 1px solid var(--ylx-border); color: var(--ylx-primary); display: none; cursor: pointer; padding: .4rem .65rem; font-size: 1.1rem; }
.ylx-toggler .navbar-toggler-icon { background-image: none; width: 1.4em; height: 1.1em; position: relative; }
.ylx-toggler .navbar-toggler-icon::before { content: '\2630'; color: var(--ylx-primary); font-size: 1.3rem; position: absolute; left: 0; top: -4px; }

/* ---------- Hero ---------- */
.ylx-hero { padding: 96px 0 80px; background: var(--ylx-hero-grad); }
.ylx-hero h1 { font-size: 2.7rem; font-weight: 900; color: var(--ylx-text); margin-bottom: 1.2rem; line-height: 1.25; }
.ylx-hero h1 .ylx-hero-tail { display: block; font-size: 1.5rem; font-weight: 700; color: var(--ylx-primary); margin-top: .35rem; }
.ylx-hero p { font-size: 1.08rem; color: var(--ylx-text2); margin-bottom: 1rem; }
.ylx-hero .ylx-hero-sub2 { margin-bottom: 1.8rem; }
.ylx-hero .btn-hero { background: var(--ylx-primary); color: #fff; padding: 13px 30px; border-radius: 30px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: .3s; }
.ylx-hero .btn-hero:hover { background: var(--ylx-primary-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 23, 42, .22); color: #fff; }
.ylx-hero .btn-outline, .ylx-sec-footer .btn-outline { border: 2px solid var(--ylx-primary); color: var(--ylx-primary); padding: 11px 26px; border-radius: 30px; font-weight: 700; display: inline-block; }
.ylx-hero .btn-outline:hover, .ylx-sec-footer .btn-outline:hover { background: var(--ylx-primary); color: #fff; }
.ylx-hero img { border-radius: var(--ylx-radius); box-shadow: 0 22px 50px rgba(15, 23, 42, .18); margin: 0 auto; }
body[data-theme="2"] .ylx-hero .row { flex-direction: row-reverse; }
body[data-theme="3"] .ylx-hero { padding: 70px 0 60px; }
body[data-theme="3"] .ylx-hero .col-lg-6:first-child { text-align: center; }
body[data-theme="3"] .ylx-hero .d-flex { justify-content: center; }

/* ---------- Section base ---------- */
.ylx-section { padding: 92px 0; }
.ylx-section.alt { background: var(--ylx-sec-grad); }
.ylx-sec-header { text-align: center; margin-bottom: 2.8rem; }
.ylx-sec-header h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: .5rem; }
.ylx-sec-header p { color: var(--ylx-text2); font-size: 1.05rem; }

/* ---------- About ---------- */
.ylx-about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ylx-about-img { flex: 1 1 45%; border-radius: var(--ylx-radius); overflow: hidden; box-shadow: 0 14px 36px rgba(15, 23, 42, .14); }
.ylx-about-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.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; }
.ylx-about-txt .d-flex div strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--ylx-primary); }
.ylx-about-txt .d-flex div span { color: var(--ylx-text2); font-size: .92rem; }
body[data-theme="2"] .ylx-about { flex-direction: row-reverse; }
body[data-theme="3"] .ylx-about-img { flex-basis: 40%; }

/* ---------- Services ---------- */
.ylx-svc-card { background: #fff; border-radius: var(--ylx-radius); padding: 1.6rem 1.4rem 2rem; text-align: center; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); transition: .3s; height: 100%; }
.ylx-svc-card:hover { transform: translateY(-8px); box-shadow: 0 16px 38px rgba(15, 23, 42, .12); }
.ylx-svc-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ylx-btn-grad); display: flex; align-items: center; justify-content: center; margin: -2.6rem auto 1.2rem; color: #fff; font-size: 1.5rem; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, .18); position: relative; z-index: 2; }
.ylx-svc-card h4 { font-weight: 800; margin-bottom: .7rem; }
.ylx-svc-card p { color: var(--ylx-text2); font-size: .93rem; margin: 0; }
.ylx-svc-card .img-wrap { border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; height: 150px; }
.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); }
body[data-theme="3"] .ylx-svc-card { text-align: left; padding-top: 2rem; }
body[data-theme="3"] .ylx-svc-icon { margin: 0 0 1rem; }

/* ---------- Plans ---------- */
.ylx-price-card { background: #fff; border-radius: var(--ylx-radius); padding: 2.4rem 2rem; text-align: center; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); border: 2px solid transparent; transition: .3s; height: 100%; position: relative; }
.ylx-price-card h4 { font-weight: 800; }
.ylx-price-card.featured { border-color: var(--ylx-primary); transform: scale(1.04); }
.ylx-price-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(15, 23, 42, .12); }
.ylx-price-card.featured:hover { transform: scale(1.04) translateY(-5px); }
.ylx-price-card .price { font-size: 2.4rem; font-weight: 900; color: var(--ylx-primary); margin: .8rem 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.4rem 0; text-align: left; }
.ylx-price-card ul li { padding: .45rem 0; color: var(--ylx-text2); }
.ylx-price-card ul li i { color: var(--ylx-primary); margin-right: .55rem; }
.ylx-price-card .btn-p { display: block; background: var(--ylx-primary); color: #fff; padding: 12px 28px; border-radius: 30px; font-weight: 700; }
.ylx-price-card .btn-p:hover { background: var(--ylx-primary-dark); color: #fff; }
.ylx-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ylx-accent); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; }
body[data-theme="3"] .ylx-price-card.featured { transform: scale(1); }
body[data-theme="3"] .ylx-price-card.featured:hover { transform: translateY(-5px); }

/* ---------- Reviews ---------- */
.ylx-rev-card { background: #fff; border-radius: var(--ylx-radius); padding: 2rem; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); margin: .5rem 0; height: 100%; }
.ylx-rev-card i { font-size: 2.2rem; color: var(--ylx-accent); margin-bottom: 1rem; }
.ylx-rev-card p { color: var(--ylx-text2); font-size: .95rem; min-height: 96px; }
.ylx-rev-card h4 { font-weight: 800; margin: 0; font-size: 1rem; color: var(--ylx-text); }
.owl-theme .owl-dots .owl-dot span { background: var(--ylx-gradient1); }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: var(--ylx-primary); }

/* ---------- CTA ---------- */
.ylx-cta { padding: 84px 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: -8%; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ylx-cta::after { content: ''; position: absolute; bottom: -60%; left: -6%; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.ylx-cta h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 2; }
.ylx-cta p { color: rgba(255, 255, 255, .82); margin-bottom: 1.8rem; 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: 800; position: relative; z-index: 2; }
.ylx-cta .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, .25); color: var(--ylx-primary-dark); }

/* ---------- FAQ ---------- */
.ylx-faq { max-width: 860px; margin: 0 auto; }
.ylx-faq-item { background: var(--ylx-gradient2); border-radius: 12px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; transition: .3s; border-left: 4px solid var(--ylx-primary); }
.ylx-faq-item:hover { background: var(--ylx-gradient1); }
.ylx-faq-item h5 { font-weight: 800; margin-bottom: .45rem; color: var(--ylx-primary); }
.ylx-faq-item p { color: var(--ylx-text2); margin: 0; }

/* ---------- News cards ---------- */
.ylx-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ylx-grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ylx-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(15, 23, 42, .07); border: 1px solid var(--ylx-border); transition: .3s; display: flex; flex-direction: column; }
.ylx-news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .13); }
.ylx-news-card .thumb { height: 180px; background: var(--ylx-gradient2); overflow: hidden; flex: 0 0 auto; }
.ylx-news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ylx-news-card:hover .thumb img { transform: scale(1.05); }
.ylx-news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.ylx-news-card .meta { font-size: 12.5px; color: var(--ylx-text2); display: flex; gap: 14px; flex-wrap: wrap; }
.ylx-news-card .meta i { color: var(--ylx-primary); margin-right: 4px; }
.ylx-news-card .body h3 { font-size: 16px; font-weight: 800; margin: 2px 0 0; line-height: 1.55; }
.ylx-news-card .body h3 a { color: var(--ylx-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ylx-news-card .body h3 a:hover { color: var(--ylx-primary); }
.ylx-news-card .body p { font-size: 13.5px; color: var(--ylx-text2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ylx-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--ylx-primary); }
.ylx-more:hover { color: var(--ylx-primary-dark); }
.ylx-sec-footer { text-align: center; margin-top: 2rem; }
body[data-theme="3"] .ylx-news-card { flex-direction: row; }
body[data-theme="3"] .ylx-news-card .thumb { width: 190px; height: auto; min-height: 150px; }
body[data-theme="3"] .ylx-news-grid { grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); }

/* ---------- Detail ---------- */
.ylx-detail { max-width: 900px; margin: 0 auto; background: #fff; border-radius: var(--ylx-radius); box-shadow: 0 8px 28px rgba(15, 23, 42, .08); padding: 2.6rem 2.8rem; }
.ylx-detail h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.45; }
.ylx-detail .meta { color: var(--ylx-text2); font-size: 14px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px dashed var(--ylx-border); }
.ylx-detail .meta a { color: var(--ylx-primary); }
.ylx-cover { margin-bottom: 18px; }
.ylx-cover img { border-radius: 12px; width: 100%; max-height: 460px; object-fit: cover; }
.ylx-detail .body { font-size: 17px; line-height: 1.95; color: #374151; }
.ylx-detail .body .article-wrap > p { margin-bottom: 1.1rem; }
.ylx-detail .body img { border-radius: 10px; margin: 18px auto; }
.ylx-detail .body h3 { font-size: 1.25rem; font-weight: 800; color: var(--ylx-text); margin: 1.8rem 0 .8rem; padding-left: 12px; border-left: 4px solid var(--ylx-accent); }
.ylx-detail .body ul, .ylx-detail .body ol { margin: 0 0 1.1rem 1.4rem; }
.ylx-detail .body li { margin-bottom: .4rem; }
.ylx-d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.ylx-d-tags a { padding: 5px 14px; background: var(--ylx-gradient2); color: var(--ylx-primary); border-radius: 20px; font-size: 13.5px; }
.ylx-d-tags a:hover { background: var(--ylx-primary); color: #fff; }
.ylx-page-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; }
.ylx-page-nav a { flex: 1 1 0; min-width: 0; padding: 12px 16px; border: 1px solid var(--ylx-border); border-radius: 10px; color: var(--ylx-text2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ylx-page-nav a:hover { border-color: var(--ylx-primary); color: var(--ylx-primary); }
.ylx-back { margin-top: 18px; }
.ylx-back a { display: inline-block; padding: 10px 26px; border-radius: 30px; background: var(--ylx-primary); color: #fff; font-weight: 700; }
.ylx-back a:hover { background: var(--ylx-primary-dark); color: #fff; }
.ylx-relate { max-width: 900px; margin: 34px auto 0; }
.ylx-relate h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; color: var(--ylx-text); }
.ylx-relate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.ylx-relate-item { background: #fff; border: 1px solid var(--ylx-border); border-radius: 10px; overflow: hidden; display: block; transition: .3s; }
.ylx-relate-item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15, 23, 42, .1); }
.ylx-relate-item .thumb { height: 110px; }
.ylx-relate-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ylx-relate-item .tt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--ylx-text); line-height: 1.5; }

/* ---------- Pagehead / crumb / pagination ---------- */
.ylx-pagehead { background: var(--ylx-page-grad); color: #fff; padding: 48px 0; }
.ylx-pagehead h1 { margin: 0; font-size: 2rem; font-weight: 800; }
.ylx-pagehead p { margin: 8px 0 0; color: rgba(255, 255, 255, .82); }
.ylx-crumb { margin-bottom: 22px; font-size: 14px; }
.ylx-crumb a { color: var(--ylx-text2); }
.ylx-crumb a:hover { color: var(--ylx-primary); }
.ylx-crumb-light, .ylx-crumb-light a { color: rgba(255, 255, 255, .85); }
.ylx-crumb-light a:hover { color: #fff; }
.ylx-pagination-wrap { margin-top: 36px; }
.ylx-pagination-wrap .page-control ul, .ylx-pagination-wrap .pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.ylx-pagination-wrap .page-item .page-link { display: block; padding: 8px 14px; border: 1px solid var(--ylx-border); border-radius: 8px; color: var(--ylx-text2); font-size: 14px; }
.ylx-pagination-wrap .page-item.active .page-link, .ylx-pagination-wrap .page-item .page-link:hover { background: var(--ylx-primary); color: #fff; border-color: var(--ylx-primary); }
.ylx-side-box { background: #fff; border: 1px solid var(--ylx-border); border-radius: 12px; padding: 20px; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ylx-side-box h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ylx-border); }
.ylx-rank-list { list-style-position: inside; padding-left: 4px; margin: 0; }
.ylx-rank-list li { margin-bottom: .55rem; }
.ylx-rank-list li a { color: var(--ylx-text2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ylx-rank-list li a:hover { color: var(--ylx-primary); }

/* ---------- Search / tags ---------- */
.ylx-searchbar { display: flex; max-width: 620px; margin: 20px auto 0; gap: 8px; }
.ylx-searchbar input { flex: 1; min-width: 0; padding: 12px 18px; border: 0; border-radius: 10px; font-size: 15px; }
.ylx-searchbar button { padding: 12px 30px; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.ylx-search-tip { font-weight: 800; margin-bottom: 1.4rem; }
.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; border: 1px solid var(--ylx-border); }
.ylx-tagcloud a:hover { background: var(--ylx-primary); color: #fff; }
.ylx-tagcloud-side { justify-content: flex-start; }
.ylx-tag-desc { color: var(--ylx-text2); margin-bottom: 18px; }
.ylx-empty { padding: 40px 20px; text-align: center; color: var(--ylx-text2); background: var(--ylx-gradient2); border-radius: 12px; }

/* ---------- Footer ---------- */
.ylx-footer { background: var(--ylx-dark1); color: #fff; padding: 64px 0 28px; }
.ylx-footer h5 { font-weight: 800; margin-bottom: 1.2rem; }
.ylx-footer p, .ylx-footer li { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.ylx-footer ul { list-style: none; padding: 0; }
.ylx-footer ul li { margin-bottom: .55rem; }
.ylx-footer ul li a { color: rgba(255, 255, 255, .72); }
.ylx-footer ul li a:hover { color: #fff; padding-left: 4px; }
.ylx-social span { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); cursor: default; transition: .3s; }
.ylx-social span:hover { background: var(--ylx-accent); color: #fff; }
.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-sub-msg { display: none; color: #4ade80; font-size: .9rem; margin-top: .6rem; }
.ylx-sub-form.done .ylx-sub-msg { display: block; }
.ylx-mini-nav { display: flex; gap: 18px; }
.ylx-copyright { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; margin-top: 1rem; text-align: center; color: rgba(255, 255, 255, .55); font-size: .9rem; }

/* ---------- Gototop / 404 ---------- */
.ylx-gototop { position: fixed; right: 18px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--ylx-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(15, 23, 42, .25); z-index: 1040; }
.ylx-gototop:hover { background: var(--ylx-primary-dark); color: #fff; }
.ylx-404-body { background: var(--ylx-hero-grad); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.ylx-404 { text-align: center; padding: 60px 20px; }
.ylx-404-icon { font-size: 3rem; color: var(--ylx-primary); }
.ylx-404 h1 { font-size: 5rem; font-weight: 900; color: var(--ylx-primary); margin: .4rem 0; }
.ylx-404 p { color: var(--ylx-text2); font-size: 1.1rem; }
.ylx-404 .btn-outline { border: 2px solid var(--ylx-primary); color: var(--ylx-primary); padding: 10px 26px; border-radius: 30px; font-weight: 700; display: inline-block; }
.ylx-404 .btn-primary { border-radius: 30px; padding: 10px 26px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ylx-toggler { display: block; order: 3; }
    .ylx-header .navbar-brand { order: 1; }
    .ylx-collapse { display: none; order: 4; flex-basis: 100%; margin-top: 12px; }
    .ylx-collapse .navbar-nav { gap: 4px; }
    .ylx-nav-state:checked ~ .ylx-collapse { display: flex; flex-direction: column; align-items: stretch; }
    .ylx-nav-state:checked ~ .ylx-collapse .navbar-nav { flex-direction: column; align-items: stretch; }
    .ylx-hotline-btn { margin-top: 8px; align-self: flex-start; }
    .ylx-hero { padding: 60px 0 50px; }
    .ylx-hero .col-lg-6.text-center { margin-top: 34px; }
    .ylx-section { padding: 60px 0; }
}
@media (max-width: 767.98px) {
    .ylx-hero h1 { font-size: 1.9rem; }
    .ylx-hero h1 .ylx-hero-tail { font-size: 1.2rem; }
    .ylx-detail { padding: 1.4rem 1.1rem; }
    .ylx-page-nav { flex-direction: column; }
    .ylx-news-grid, body[data-theme="3"] .ylx-news-grid { grid-template-columns: 1fr; }
    body[data-theme="3"] .ylx-news-card { flex-direction: column; }
    body[data-theme="3"] .ylx-news-card .thumb { width: 100%; height: 180px; }
    .ylx-about { flex-direction: column !important; }
    .ylx-about-img, .ylx-about-txt { flex-basis: auto; width: 100%; }
    .ylx-price-card.featured { transform: scale(1); }
    .ylx-header .navbar-brand { max-width: 62vw; }
    .ylx-brand-badge { width: 34px; height: 34px; font-size: 1rem; }
}
