/* 萝莉社app - 完整样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f7fb;
    color: #1F2937;
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

body.dark {
    background: #0f141e;
    color: #E2E8F0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #2b3a67;
    border-radius: 10px;
}
body.dark ::-webkit-scrollbar-thumb {
    background: #ffb347;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #2b3a67 0%, #3b4d8f 50%, #2b3a67 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(43, 58, 103, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(43, 58, 103, 0.95);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #f0f4ff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffb347;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffb347;
}

.search-box {
    display: flex;
    gap: 5px;
    align-items: center;
}

.search-box input {
    padding: 9px 16px;
    border-radius: 30px;
    border: 2px solid transparent;
    width: 180px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box input:focus {
    outline: none;
    border-color: #ffb347;
    background: rgba(255,255,255,0.25);
    width: 220px;
}

body.dark .search-box input {
    background: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

.search-box button {
    background: linear-gradient(135deg, #ffb347, #ff9f1a);
    border: none;
    border-radius: 30px;
    padding: 9px 18px;
    font-weight: 600;
    color: #1e1e2f;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.3);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 179, 71, 0.5);
}

.dark-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dark-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

body.dark .dark-toggle {
    border-color: #ffb347;
    color: #ffb347;
    background: rgba(255, 179, 71, 0.1);
}

/* 移动端菜单 */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(43, 58, 103, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 16px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .menu-toggle {
        display: block;
    }
    
    .search-box {
        margin-top: 12px;
        width: 100%;
        order: 3;
    }
    
    .search-box input {
        flex: 1;
        width: auto;
    }
    
    .search-box input:focus {
        width: auto;
    }
    
    .dark-toggle {
        margin-left: auto;
    }
    
    .navbar .container {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
    
    .search-box button {
        padding: 9px 12px;
    }
    
    .dark-toggle {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* 按钮 */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2b3a67, #3b4d8f);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(43, 58, 103, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #1f2b4a, #2b3a67);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 58, 103, 0.4);
    color: #fff;
}

.btn:hover::before {
    left: 100%;
}

.btn-amber {
    background: linear-gradient(135deg, #ffb347, #ff9f1a);
    color: #1e1e2f;
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.4);
}

.btn-amber:hover {
    background: linear-gradient(135deg, #ff9f1a, #e08c00);
    color: #121212;
    box-shadow: 0 10px 30px rgba(255, 179, 71, 0.5);
}

/* Hero Banner */
.hero {
    padding: 70px 0;
    background: linear-gradient(145deg, #eef2ff 0%, #dfe7fd 50%, #c8d5f8 100%);
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 58, 103, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

body.dark .hero {
    background: linear-gradient(145deg, #1a2332, #1e2a44);
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1 1 300px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2b3a67, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

body.dark .hero-text h1 {
    background: linear-gradient(135deg, #ffffff, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #2d3a5e;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

body.dark .hero-text p {
    color: #cbd5e1;
}

.hero-text .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image {
    flex: 1 1 300px;
    text-align: center;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(43, 58, 103, 0.2));
    transition: transform 0.3s ease;
}

.hero-image svg:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
        border-radius: 0 0 20px 20px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-text .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

/* 数据统计 */
.stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    max-width: 900px;
}

body.dark .stats {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.5);
}

.stat-item {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1F2937;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

body.dark .stat-item {
    color: #F1F5F9;
}

.stat-label {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 400;
    margin-top: 5px;
}

body.dark .stat-label {
    color: #9ca3af;
}

@media (max-width: 768px) {
    .stats {
        gap: 20px;
        margin: 30px auto;
        padding: 20px;
    }
    
    .stat-item {
        font-size: 1.6rem;
        min-width: 100px;
    }
}

/* 区块标题 */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 60px 0 30px;
    color: #1F2937;
    position: relative;
    padding-bottom: 15px;
}

body.dark .section-title {
    color: #F1F5F9;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffb347, #ff9f1a);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
}

/* 网格布局 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 卡片 */
.card {
    background: rgba(255,255,255,0.9);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(238, 242, 246, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b3a67, #ffb347);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

body.dark .card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(51, 65, 85, 0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

body.dark .card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.card h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

body.dark .card h3 {
    color: #F8FAFC;
}

.card p {
    color: #2d3a5e;
    line-height: 1.8;
}

body.dark .card p {
    color: #cbd5e1;
}

.card h4 {
    color: #1F2937;
    font-size: 1rem;
    font-weight: 600;
}

body.dark .card h4 {
    color: #F1F5F9;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.article-item {
    background: rgba(255,255,255,0.95);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border-left: 6px solid #2b3a67;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.article-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-left-color: #ffb347;
}

body.dark .article-item {
    background: rgba(30, 41, 59, 0.95);
    border-left-color: #ffb347;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.article-item h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #1F2937;
    transition: color 0.3s ease;
}

body.dark .article-item h4 {
    color: #F1F5F9;
}

.article-item .meta {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark .article-item .meta {
    color: #9ca3af;
}

.article-item p {
    color: #2d3a5e;
    margin-bottom: 15px;
}

body.dark .article-item p {
    color: #cbd5e1;
}

.read-more {
    color: #2b3a67;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #ffb347;
    gap: 10px;
}

body.dark .read-more {
    color: #ffb347;
}

@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-item {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(238, 242, 246, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #ffb347;
}

.faq-item.active {
    border-color: #ffb347;
    box-shadow: 0 8px 24px rgba(255, 179, 71, 0.1);
}

body.dark .faq-item {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.5);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: #ffb347;
}

body.dark .faq-question {
    color: #F1F5F9;
}

.faq-answer {
    margin-top: 15px;
    color: #2d3a5e;
    line-height: 1.8;
    display: none;
    padding-top: 15px;
    border-top: 1px solid rgba(238, 242, 246, 0.5);
    animation: fadeIn 0.3s ease;
}

body.dark .faq-answer {
    color: #cbd5e1;
    border-top-color: rgba(51, 65, 85, 0.5);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: '▲';
}

.faq-question::after {
    content: '▼';
    font-size: 0.9rem;
    color: #2b3a67;
    transition: color 0.3s ease;
}

.faq-question:hover::after {
    color: #ffb347;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-item {
        padding: 16px 18px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}

/* 表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.dark .info-table {
    background: rgba(30, 41, 59, 0.95);
}

.info-table th,
.info-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.3s ease;
}

body.dark .info-table th,
body.dark .info-table td {
    border-bottom-color: #334155;
}

.info-table tr:hover td {
    background: rgba(255, 179, 71, 0.05);
}

body.dark .info-table tr:hover td {
    background: rgba(255, 179, 71, 0.1);
}

.info-table th {
    background: linear-gradient(135deg, #2b3a67, #3b4d8f);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark .info-table th {
    background: linear-gradient(135deg, #1e2a44, #2b3a67);
}

.info-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 15px;
    }
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e2639 0%, #2b3a67 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffb347, transparent);
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #ffb347;
    text-shadow: 0 0 20px rgba(255, 179, 71, 0.3);
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffb347;
    border-radius: 2px;
}

.footer .copyright {
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer .row {
        flex-direction: column;
        gap: 25px;
    }
}

/* 返回顶部 */
.go-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #2b3a67, #3b4d8f);
    color: white;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(43, 58, 103, 0.3);
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.go-top.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.go-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(43, 58, 103, 0.4);
    background: linear-gradient(135deg, #ffb347, #ff9f1a);
    color: #1e1e2f;
}

body.dark .go-top {
    background: linear-gradient(135deg, #ffb347, #ff9f1a);
    color: #1e1e2f;
    box-shadow: 0 8px 24px rgba(255, 179, 71, 0.3);
}

body.dark .go-top:hover {
    background: linear-gradient(135deg, #2b3a67, #3b4d8f);
    color: white;
}

@media (max-width: 768px) {
    .go-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* 工具类 */
.text-center { text-align: center; }
.mt-4 { margin-top: 30px; }
.mb-4 { margin-bottom: 30px; }

img, svg {
    vertical-align: middle;
    max-width: 100%;
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.95rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.dark .breadcrumb { color: #9ca3af; }

.breadcrumb a {
    color: #2b3a67;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffb347;
}

body.dark .breadcrumb a { color: #ffb347; }

/* 滚动动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式通用调整 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .grid-3 {
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* 暗色模式全局优化 */
body.dark .hero-text p {
    color: #94a3b8;
}

body.dark .article-item .meta {
    color: #94a3b8;
}

body.dark .stat-label {
    color: #94a3b8;
}

body.dark .breadcrumb {
    color: #94a3b8;
}

/* 高对比度文本 */
@media (prefers-reduced-motion: no-preference) {
    .card, .article-item, .faq-item, .stat-item {
        transition: all 0.3s ease;
    }
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #ffb347;
    outline-offset: 2px;
}

/* 选择文本 */
::selection {
    background: #ffb347;
    color: #1e1e2f;
}

/* 打印样式 */
@media print {
    .navbar,
    .footer,
    .go-top,
    .search-box,
    .dark-toggle,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card,
    .article-item,
    .faq-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}