/* 玄灵仙界 - 去 AI 感排版 */
/* 水墨黑白 + 冰蓝，打破公式化 */

:root {
    --ink-900: #0a0a0a;
    --ink-800: #0f0f1a;
    --ink-700: #1a1a2e;
    --ink-600: #16213e;
    --s100: #f0f0f0;
    --s200: #d0d0d0;
    --s300: #a0a0b0;
    --s400: #707080;
    --ice: #00d4ff;
    --ice-dim: rgba(0, 212, 255, 0.12);
    --red: #ff3b3b;
    --red-dim: rgba(255, 59, 59, 0.12);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Noto Serif SC', 'SimSun', serif;
    background: var(--ink-900);
    color: var(--s200);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--ice); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

/* ===== 水墨背景 ===== */
.ink-bg {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(0, 212, 255, 0.03) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 100%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #0f0f1a 35%, #1a1a2e 70%, #16213e 100%);
    background-attachment: fixed;
}

/* ===== 导航 ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: padding 0.4s, background 0.4s, box-shadow 0.4s;
    padding: 14px 0;
}
.navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.25rem; font-weight: 700;
    color: var(--s100);
}
.brand:hover { color: var(--ice); }
.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--s300); font-size: 0.9rem;
    padding: 4px 0; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--ice);
    transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--s100); }

.menu-btn {
    display: none;
    background: none; border: 1px solid rgba(255,255,255,0.15);
    color: var(--s200); font-size: 1.2rem;
    padding: 8px 12px; cursor: pointer; border-radius: 6px;
    transition: all 0.3s ease;
}
.menu-btn:hover {
    border-color: var(--ice);
    color: var(--ice);
}
.menu-btn.active {
    border-color: var(--ice);
    color: var(--ice);
}
.menu-btn i {
    transition: transform 0.3s ease;
}
.menu-btn.active i {
    transform: rotate(90deg);
}
.mobile-menu {
    display: none;
    background: rgba(10,10,10,0.98);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 0.5rem 2rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block; padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--s200); font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
}
.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--ice);
    transition: height 0.3s ease;
    border-radius: 2px;
}
.mobile-menu a:hover {
    color: var(--ice);
    padding-left: 18px;
}
.mobile-menu a:hover::before {
    height: 60%;
}
.mobile-menu a.active {
    color: var(--ice);
    padding-left: 18px;
}
.mobile-menu a.active::before {
    height: 60%;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 100px 0 60px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.04) 0%, transparent 50%),
        linear-gradient(160deg, #0a0a0a 0%, #0f0f1a 50%, #1a1a2e 100%);
}

.hero-particles {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none;
}
.p-dot {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--ice);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(0,212,255,0.4);
    animation: floatP 10s infinite;
}
@keyframes floatP {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    15%  { opacity: 0.6; }
    70%  { opacity: 0.15; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.2); }
}

.hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px;
    margin: 0 auto; padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem; align-items: center;
}

.hero-main { max-width: 540px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem;
    color: var(--s400);
    margin-bottom: 22px;
    position: relative;
    padding-left: 18px;
}
.hero-badge::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 12px; height: 1px;
    background: var(--ice);
}

.hero-title {
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
}
.t-1 {
    display: block;
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    color: var(--s100);
}
.t-2 {
    display: block;
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    background: linear-gradient(135deg, var(--ice), #80e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--s300);
    margin-bottom: 26px;
}

.hero-sv {
    display: inline-flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 22px;
    margin-bottom: 26px;
}
.sv-label {
    font-size: 0.75rem;
    color: var(--s400);
    text-transform: uppercase;
}
.sv-num {
    font-size: 1.4rem; font-weight: 700;
    color: var(--s100);
    letter-spacing: 0.12em;
    font-family: 'Noto Serif SC', serif;
}

.hero-btns {
    display: flex; gap: 16px;
    align-items: center; flex-wrap: wrap;
}
.btn-main {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 32px;
    background: linear-gradient(135deg, var(--ice), #00a8cc);
    color: #0a0a0a; font-weight: 700;
    font-size: 0.95rem;
    border: none; border-radius: 8px;
    cursor: pointer; transition: all 0.35s;
    font-family: 'Noto Serif SC', serif;
    box-shadow: 0 4px 20px rgba(0,212,255,0.2);
}
.btn-main:hover {
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(0,212,255,0.35);
}
.btn-sub {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--s300); font-size: 0.9rem;
    transition: color 0.3s;
}
.btn-sub:hover { color: var(--ice); }

/* Hero 右侧境界 */
.hero-side {
    display: flex; justify-content: center; align-items: center;
}
.realm-dots {
    display: flex; flex-direction: column;
    gap: 10px; align-items: center;
}
.rm-dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: var(--s400);
    transition: all 0.35s;
}
.rm-dot.active {
    background: var(--ice-dim);
    border-color: var(--ice);
    color: var(--ice);
    box-shadow: 0 0 15px rgba(0,212,255,0.2);
}
.rm-dot:hover { border-color: var(--ice); color: var(--ice); }

/* Hero 向下提示 */
.scroll-hint {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    color: var(--s400); font-size: 0.75rem;
    animation: scrollH 2s ease-in-out infinite;
}
@keyframes scrollH {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== 通用板块 ===== */
.section {
    padding: 80px 2rem 90px;
    max-width: 1200px; margin: 0 auto;
}
.section-head {
    margin-bottom: 48px;
}
.s-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--s400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    position: relative; padding-left: 40px;
}
.s-tag::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 28px; height: 1px;
    background: var(--s400); opacity: 0.5;
}
.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700; color: var(--s100);
    margin-bottom: 10px;
}
.section-head p {
    font-size: 0.95rem; color: var(--s300);
    max-width: 400px; line-height: 1.7;
}

/* ===== 修仙世界 - 横向滑动境界 ===== */
.realm-bar {
    display: flex; gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 14px 0;
    margin-bottom: 36px;
    scrollbar-width: none;
}
.realm-bar::-webkit-scrollbar { display: none; }

.rb-item {
    flex: 0 0 auto;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    scroll-snap-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    transition: background 0.35s;
    cursor: pointer;
}
.rb-item:hover,
.rb-item.active { background: rgba(255,255,255,0.04); }

.rb-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.1);
    font-size: 1.1rem; color: var(--s300);
    transition: all 0.35s;
}
.rb-item:hover .rb-icon,
.rb-item.active .rb-icon {
    background: var(--ice-dim);
    border-color: var(--ice);
    color: var(--ice);
    box-shadow: 0 0 18px rgba(0,212,255,0.2);
}
.rb-name {
    font-size: 0.78rem; color: var(--s400);
}
.rb-item.active .rb-name { color: var(--ice); }
.rb-arrow {
    display: flex; align-items: center;
    color: var(--s400); font-size: 0.85rem;
    opacity: 0.4; padding: 0 6px;
}
.realm-hint {
    text-align: center;
    font-size: 0.75rem; color: var(--s400);
    margin-top: 12px;
    display: flex; align-items: center;
    justify-content: center; gap: 6px;
    opacity: 0.6;
}

/* 玩法卡片 */
.w-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.w-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 22px 18px;
    transition: all 0.35s;
    display: flex; flex-direction: column; gap: 10px;
}
.w-card:hover {
    border-color: rgba(0,212,255,0.25);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}
.w-card i { font-size: 1.15rem; color: var(--ice); opacity: 0.7; }
.w-card h3 { font-size: 1rem; font-weight: 700; color: var(--s100); }
.w-card p { font-size: 0.85rem; color: var(--s300); line-height: 1.7; }

.w-card-lg {
    grid-row: 1 / 3;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 26px;
    transition: all 0.4s;
}
.w-card-icon-lg {
    position: absolute; top: 20px; right: 20px;
    font-size: 3rem;
    color: rgba(0,212,255,0.08);
    z-index: 0;
}
.w-card-body { position: relative; z-index: 1; }
.w-card-lg h3 { font-size: 1.25rem; font-weight: 700; color: var(--s100); margin-bottom: 8px; }
.w-card-lg p { font-size: 0.9rem; color: var(--s300); line-height: 1.7; margin-bottom: 14px; }
.w-tag {
    display: inline-block;
    font-size: 0.72rem; color: var(--ice);
    background: var(--ice-dim);
    border-radius: 4px; padding: 3px 8px;
}

/* ===== 加入我们 - 时间线 ===== */
.steps {
    position: relative;
    max-width: 680px; margin: 0 auto;
    padding-left: 36px;
}
.steps::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 1.5px;
    background: linear-gradient(180deg, var(--ice), rgba(0,212,255,0.1));
}

.step {
    position: relative;
    margin-bottom: 36px;
    display: flex; gap: 20px;
    align-items: flex-start;
}
.step:last-child { margin-bottom: 0; }

.step-num {
    position: absolute;
    left: -36px;
    width: 28px; height: 28px;
    background: var(--ice);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.78rem;
    z-index: 1;
    box-shadow: 0 0 12px rgba(0,212,255,0.3);
}
.step i {
    font-size: 1rem; color: var(--ice);
    opacity: 0.7; margin-bottom: 6px;
    display: inline-block;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--s100); margin-bottom: 5px; }
.step p { font-size: 0.88rem; color: var(--s300); line-height: 1.7; }

/* ===== 修仙守则 ===== */
.rules-wrap {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px; align-items: start;
}
.rules-head .s-tag { padding-left: 0; }
.rules-head .s-tag::before { display: none; }
.rules-head { margin-bottom: 0; }
.rules-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--s100); margin-bottom: 8px; }
.rules-head p { font-size: 0.9rem; color: var(--s300); }

.rule {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border-left: 2.5px solid rgba(255,255,255,0.1);
    border-radius: 0 8px 8px 0;
    transition: background 0.3s;
    margin-bottom: 10px;
}
.rule:last-child { margin-bottom: 0; }
.rule:hover { background: rgba(255,255,255,0.05); }
.rule-no { border-left-color: var(--red); }
.rule-info { border-left-color: var(--ice); }

.rule-icon {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 0.85rem;
    flex-shrink: 0; margin-top: 2px;
}
.rule-no .rule-icon { background: var(--red-dim); color: var(--red); }
.rule-info .rule-icon { background: var(--ice-dim); color: var(--ice); }

.rule h4 { font-size: 0.95rem; font-weight: 700; color: var(--s100); margin-bottom: 5px; }
.rule p { font-size: 0.85rem; color: var(--s300); line-height: 1.6; }

/* ===== FAQ常见问题 ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.35s;
}
.faq-item:hover {
    border-color: rgba(0,212,255,0.25);
    background: rgba(255,255,255,0.05);
}
.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--s100);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-item h4 i {
    color: var(--ice);
    font-size: 0.9rem;
    opacity: 0.8;
}
.faq-item p {
    font-size: 0.9rem;
    color: var(--s300);
    line-height: 1.7;
    padding-left: 26px;
}

/* ===== 联系我们 ===== */
.contact-cards {
    display: flex; flex-direction: column;
    gap: 14px;
    max-width: 480px;
}
.ccard {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.92rem; color: var(--s300);
    transition: all 0.3s;
}
.ccard:hover {
    border-color: rgba(0,212,255,0.25);
    background: rgba(255,255,255,0.05);
}
.ccard i { font-size: 1.1rem; color: var(--ice); opacity: 0.7; }
.ccard-sv { background: rgba(0,212,255,0.04); border-color: rgba(0,212,255,0.15); }
.cc-label { display: block; font-size: 0.72rem; color: var(--s400); text-transform: uppercase; margin-bottom: 3px; }
.cc-val { display: block; font-size: 1.25rem; font-weight: 700; color: var(--ice); letter-spacing: 0.1em; font-family: 'Noto Serif SC', serif; }

/* ===== 滚动动画 ===== */
.fade {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
}
.fade.show { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px; text-align: center;
    }
    .hero-main { max-width: 100%; }
    .hero-badge { padding-left: 0; }
    .hero-badge::before { display: none; }
    .hero-btns { justify-content: center; }
    .hero-sv { justify-content: center; }
    .hero-side { display: none; }
    .w-grid { grid-template-columns: 1fr 1fr; }
    .w-card-lg { grid-row: auto; min-height: auto; }
}
@media (max-width: 768px) {
    .w-grid { grid-template-columns: 1fr; }
    .rules-wrap,
    .contact-layout {
        grid-template-columns: 1fr; gap: 24px;
    }
    .f-top { flex-direction: column; gap: 36px; }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 1rem; }
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .navbar { padding: 10px 0; }
    .navbar.scrolled { padding: 6px 0; }
    .brand span { font-size: 1.1rem; }
    .section { padding: 56px 18px 64px; }
    .section-head { margin-bottom: 32px; }
    .w-grid { grid-template-columns: 1fr; }
    .steps { padding-left: 28px; }
    .f-links { flex-direction: column; gap: 28px; }
    .f-bot { flex-direction: column; text-align: center; }


    /* 脚页响应式 */
    #tfbk-footer-new .tfbk-footer .tfbk-footer-widget-in {
        flex-direction: column;
    }
    #tfbk-footer-new .tfbk-footer section:first-child,
    #tfbk-footer-new .tfbk-footer section:nth-child(2),
    #tfbk-footer-new .tfbk-footer section:nth-child(3) {
        width: 100%;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-right {
        justify-content: center;
    }
}


@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn-main, .btn-sub { text-align: center; justify-content: center; }
    .rb-item { width: 76px; }
}


/* 优化后的页脚样式 - 简洁版 */

/* 页脚顶部区域 */
.footer-fav {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-image: linear-gradient(to top, rgba(0,212,255,0.1), transparent);
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-fav .footer-fav-top {
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 36px;
    padding-bottom: 36px;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

/* 网站信息区域 */
.footer-fav .site-info {
    width: 60%;
}

.footer-fav .site-info h2 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.4;
    color: #e0e0e0;
}

.footer-fav .site-info h2 a {
    color: #000;
    text-decoration: none;
}

.footer-fav .site-p {
    margin-bottom: 10px;
    max-width: 500px;
}

.footer-fav .site-info p {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    white-space: normal;
    word-wrap: break-word;
}

/* 右侧区域 */
.footer-fav .site-girl {
    position: absolute;
    bottom: 0;
    left: 50%;
}

.footer-fav .site-girl .girl {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 180px;
    transition: all 0.3s;
}

.footer-fav .site-girl h4 {
    color: #797979;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
}

.footer-fav .site-girl a {
    color: #797979;
    text-decoration: none;
}

.footer-fav .site-girl a:hover {
    color: #ff5c00;
}

.footer-fav .thumb {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 0;
    background-color: transparent;
    padding-top: 116.667%;
    max-height: 160px;
    transition: all 0.2s;
}

/* 收藏按钮等 */
.footer-fav .site-fav {
    padding-top: 5px;
}

.footer-fav .site-fav .btn-orange {
    padding: 0 1.2em;
    border-radius: 8px;
    background-color: #ff6600;
    color: #fff;
    font-size: 14px;
    line-height: 2.5;
    text-decoration: none;
    display: inline-block;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .footer-fav .footer-fav-top {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .footer-fav .site-info {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 15px;
    }
    
    .footer-fav .site-p,
    .footer-fav .site-info p {
        display: block !important;
        max-width: none !important;
        width: 100% !important;
        font-size: 13px;
        line-height: 1.6;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        margin-bottom: 10px;
    }
    
    .footer-fav .site-info h2 {
        font-size: 18px;
    }
    
    .footer-fav .site-girl,
    .footer-fav .girl-info,
    .footer-fav .site-fav {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .footer-fav .site-info {
        width: auto;
    }
    
    .footer-fav .site-p {
        margin-bottom: 0;
    }
    
    .footer-fav .site-p p:first-child:after {
        content: '';
    }
    
    .footer-fav .site-info p {
        display: block;
        margin-bottom: 0;
        font-size: 14px;
    }
    
    .footer-fav .site-fav {
        padding-top: 24px;
    }
    
    .footer-fav .site-girl .girl {
        left: -50px;
    }
    
    .footer-fav:hover .site-girl .girl {
        left: -80px;
    }
    
    .footer-fav .site-girl .girl:after {
        position: absolute;
        top: 40%;
        left: 100%;
        display: block;
        visibility: hidden;
        color: #a7a7a7;
        content: 'Hi~';
        font-size: 20px;
        opacity: 0;
        transition: all 0.3s;
    }
    
    .footer-fav:hover .site-girl .girl:after {
        visibility: visible;
        opacity: 1;
    }
}

/* ===== 脚页样式（照抄用户案例） ===== */
.footer {
    background: #222 !important;
    color: #ccc;
}
.footer-fav {
    position: relative;
    overflow: hidden;
    width:100%;
    background-image: linear-gradient(to top, #00ffbb36, transparent);
    padding:0 15px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .footer-fav {
        display: flex;
        overflow: visible;
        width: auto;
        padding:0;
    }
}
.footer-fav .footer-fav-top {
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 36px;
    padding-bottom: 36px;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .footer-fav .site-info p,
    .footer-fav .site-p,
    #tfbk-footer-new .tfbk-footer .textwidget,
    #tfbk-footer-new .tfbk-footer .widget ul li {
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: none !important;
    }
    .footer-fav {
        padding-bottom:0;
    }
    .footer-fav .site-p {
        display: block;
        font-size: 13px;
        line-height: 1.6;
        white-space: normal;
        word-break: break-word;
    }
    .footer-fav .site-info {
        width: 100%;
        padding-right: 0;
    }
    .footer-fav .site-girl {
        position: static;
        width: 50%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding-top: 10px;
        margin-left: auto;
    }
    .footer-fav .site-girl .girl {
        position: static;
        width:100%;
        max-width: 140px;
        height: auto;
    }
    .footer-fav .thumb {
        padding-top: 116.667%;
        max-height: 160px;
    }
    .footer-fav .footer-fav-top {
        flex-direction: column;
        padding-bottom: 20px;
    }
}
.footer-fav .site-info {
    width: 60%;
}
@media (min-width: 768px) {
    .footer-fav .site-info {
        width: auto;
    }
}
.footer-fav .site-info h2 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
    line-height:1.4;
    color: #e0e0e0;
}
@media (min-width: 768px) {
    .footer-fav .site-info h2 {
        font-size: 26px;
    }
}
.footer-fav .site-info h2 a {
    color: #000;
    text-decoration: none;
}
.footer-fav .site-info .site-p {
    margin-bottom: 10px;
    max-width: none;
}
.footer-fav .site-info .site-p p:first-child:after {
    content: ',';
}
@media (min-width: 768px) {
    .footer-fav .site-info .site-p {
        margin-bottom:0;
    }
    .footer-fav .site-info .site-p p:first-child:after {
        content: '';
    }
}
.footer-fav .site-info p {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.8;
    white-space: normal;
    word-wrap: break-word;
}
@media (min-width: 768px) {
    .footer-fav .site-info p {
        display: block;
        margin-bottom:0;
        font-size: 14px;
    }
}
.footer-fav .site-fav {
    padding-top: 5px;
}
@media (min-width: 768px) {
    .footer-fav .site-fav {
        padding-top: 24px;
    }
}
.footer-fav .site-fav .btn-orange {
    padding:0 1.2em;
    border-radius: 8px;
    background-color: #ff6600;
    color: #fff;
    font-size: 14px;
    line-height: 2.5;
    text-decoration: none;
    display: inline-block;
}
@media (min-width: 768px) {
    .footer-fav .site-fav .btn-orange {
        padding:0 2em;
        font-size: 14px;
        line-height: 3.5;
    }
}
.footer-fav .site-girl {
    position: absolute;
    bottom:0;
    left: 50%;
}
.footer-fav .site-girl .girl {
    position: absolute;
    bottom:0;
    left: 50px;
    width: 180px;
    transition: all 0.3s;
}
@media (min-width: 768px) {
    .footer-fav .site-girl .girl {
        left: -50px;
    }
}
.footer-fav .site-girl .girl:after {
    position: absolute;
    top: 40%;
    left: 100%;
    display: block;
    visibility: hidden;
    color: #a7a7a7;
    content: 'Hi~';
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s;
}
.footer-fav .site-girl .thumb {
    padding-top: 116.667%;
}
.footer-fav .site-girl .girl-info {
    margin-bottom: 55px;
    margin-left: 150px;
}
.footer-fav .site-girl h4 {
    color: #797979;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
}
.footer-fav .site-girl a {
    color: #797979;
    text-decoration: none;
}
.footer-fav .site-girl a:hover {
    color: #ff5c00;
}
@media (min-width: 768px) {
    .footer-fav:hover .site-girl .girl {
        left: -80px;
    }
    .footer-fav:hover .site-girl .girl:after {
        visibility: visible;
        opacity: 1;
    }
}
.thumb {
    position: relative;
    display: block;
    overflow: hidden;
    width:100%;
    height: 0;
    background-color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.2s;
}
.wrapper {
    max-width: 100%;
    margin:0 auto;
}
.Onecad_fl {
    float: none;
}
.fr {
    float: right;
}
.hide_md {
    display: none;
}
@media (min-width: 768px) {
    .hide_md {
        display: block;
    }
}
#onecad_new_footer {
    clear: both;
}
#tfbk-footer-new .tfbk-footer > .wrapper {
    border-bottom: 1px solid #9e9e9e3b;
}
.footer {
    padding:0 !important;
}
#tfbk-footer-new .tfbk-footer .widget-title {
    position: relative;
    border-bottom: 0;
    font-size: 18px;
    margin-bottom: 14px;
    color: #e0e0e0;
    text-align: left;
    margin-top: 25px;
    margin-left: 5px;
}
#tfbk-footer-new .tfbk-footer .widget-title:before {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4da6ff !important;
    content: '';
    transition: width 0.3s ease;
}
#tfbk-footer-new .tfbk-footer section:hover .widget-title:before {
    width: 80px;
}
#tfbk-footer-new .tfbk-footer .textwidget {
    padding: 10px 0;
    line-height: 26px;
    color: #aaa;
}
#tfbk-footer-new .tfbk-footer section:first-child {
    width: 30%;
}
#tfbk-footer-new .tfbk-footer #nav_menu-2,
#tfbk-footer-new .tfbk-footer #nav_menu-3,
#tfbk-footer-new .tfbk-footer #nav_menu-4 {
    width: 18%;
}
#tfbk-footer-new .tfbk-footer .widget ul {
    list-style: none;
    padding:0;
    margin:0;
}
#tfbk-footer-new .tfbk-footer .widget ul li {
    position: relative;
    padding: 7px 0 8px 15px;
}
#tfbk-footer-new .tfbk-footer .widget ul li:before {
    position: absolute;
    top: 9px;
    left: 1px;
    color: #40e0d0 !important;
    content: '•';
    font-size: 16px;
    line-height: 1;
}
#tfbk-footer-new .tfbk-footer #nav_menu-1 li {
    display: inline-block;
    width: 45%;
}
#tfbk-footer-new .tfbk-footer .tfbk-footer-widget-in {
    display: flex;
    justify-content: space-between;
}
#tfbk-footer-new .tfbk-footer .widget {
    padding:0 15px;
}
#tfbk-footer-new .tfbk-footer section {
    margin:0;
    margin-bottom:0;
}
#tfbk-footer-new .tfbk-footer .tfbk-footer-widget-in {
    margin:0 -10px;
}
#tfbk-footer-new .tfbk-footer section:last-child .qr-container {
    display: flex;
    width:100%;
    justify-content: space-around;
    padding-top: 5px;
}
.qr-item {
    text-align: center;
    padding:0 5px;
}
.qr-wrapper {
    width: 90px;
    height: 90px;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    padding: 5px;
}
.qr-img {
    width:100% !important;
    height:100% !important;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.qr-img:hover {
    transform: scale(1.05);
}
#tfbk-footer-new .tfbk-footer section:last-child .qr-tips {
    margin-top: 8px;
    max-width: 90px;
    text-align: center;
    font-size: 13px;
    line-height: 1.2em;
    margin-bottom:0;
}
#tfbk-footer-new a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: #aaa;
}
#tfbk-footer-new a:hover {
    color: #40e0d0 !important;
    margin-left: 3px;
}
#tfbk-footer-new .footer-bottom {
    height: auto;
    line-height: 24px;
    color: #fff;
    font-size: 12px;
    padding: 15px 20px;
    background-color: #000;
    width: 100%;
    margin:0;
    position: relative;
    left:0;
    right:0;
    box-sizing: border-box;
}
.footer-links {
    padding: 5px 20px;
    margin: 10px auto;
    max-width: 1200px;
    background: linear-gradient(135deg, rgb(120 234 180/30%) 0, rgb(85 106 241/10%) 100%);
    border-radius: 8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    position: relative;
    min-height: 40px;
}
.link-content {
    display: flex;
    align-items: center;
    width:100%;
    justify-content: center;
    padding-right: 100px;
    box-sizing: border-box;
}
.link-heading {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-right: 12px;
    white-space: nowrap;
    padding: 5px 0;
}
.link-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin:0;
    padding:0;
    justify-content: center;
}
.apply-link,
.link-items a {
    color: #f0f0f0 !important;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    white-space: nowrap;
}
.apply-link:hover,
.link-items a:hover {
    color: #40e0d0 !important;
}
.apply-link {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
    white-space: nowrap;
    z-index:1;
    background-color: rgba(64,224,208,0.2);
    padding: 3px 10px;
    border-radius: 4px;
}
#tfbk-footer-new .tfbk-footer-nav .wrapper {
    padding:0;
    max-width: none;
}
.footer-bottom-container {
    max-width: 1200px;
    margin:0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#tfbk-footer-new .footer-bottom a {
    color: #aaa;
}
#tfbk-footer-new .footer-bottom a:hover {
    color: #fff !important;
}
@media screen and (max-width: 768px) {

    #tfbk-footer-new .tfbk-footer > .wrapper {
        border-bottom: none;
    }
    .tfbk-footer-nav {
        box-sizing: border-box;
        width:100%;
        overflow: hidden;
    }
    #tfbk-footer-new .footer-bottom {
        padding: 15px 20px;
    }
    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom-right {
        margin-top: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }
    .foot-copyright {
        font-size: 10px;
        line-height: 1.8em;
        word-break: normal;
        white-space: normal;
        width: 100%;
    }
    .footer-bottom-right {
        font-size: 10px;
        line-height: 1.8em;
    }
}
@media screen and (min-width: 769px) {
    #tfbk-footer-new .tfbk-footer section:first-child {
        width: 25%;
    }
    #tfbk-footer-new .tfbk-footer #nav_menu-2,
    #tfbk-footer-new .tfbk-footer #nav_menu-3,
    #tfbk-footer-new .tfbk-footer #nav_menu-4 {
        width: 15%;
    }
    .link-items {
        gap: 5px;
        margin-top:1px;
    }
    .link-items a {
        font-size: 12px;
    }
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .foot-copyright {
        text-align: left;
    }
    .footer-bottom-right {
        text-align: right;
        display: flex;
        gap: 15px;
    }
}
.wrapper {
    margin:0 auto;
    max-width: 1200px;
    padding:0 20px;
}
.entry-content > ol li::marker,
.entry-content > ul li::marker {
    color: #999;
    font-family: DIN-Medium;
}
.widget ul li {
    font-size: 13px;
    padding: 12px 16px;
    box-sizing: border-box;
}
.widget ul li + li {
    margin-top: -8px;
}
.widget > h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}
.footer {
    font-size: 13px;
}
.footer a {
    font-size: 13px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    color: #0a0a0a;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0,212,255,0.5);
    color: #0a0a0a;
}

/* 简化移动端页脚样式 */
@media (max-width: 767px) {
    .footer-fav .site-info {
        width: 100% !important;
        float: none !important;
        padding: 15px !important;
    }
    .footer-fav .site-p,
    .footer-fav .site-info p {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        max-width: none !important;
        font-size: 13px;
        line-height: 1.6;
    }
    .footer-fav .footer-fav-top {
        flex-direction: column !important;
    }
    /* 隐藏不需要的元素 */
    .footer-fav .girl-info,
    .footer-fav .site-fav {
        display: none !important;
    }
}
