:root {
    --primary-color: #ff4d6d;
    --secondary-color: #2d3436;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #2d3436;
    --text-light: #636e72;
}

/* 暗色主题类 */
body.dark-theme {
    --background-color: #1a1a1a;
    --card-background: #2d2d2d;
    --text-color: #ffffff;
    --text-light: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 60px;
}

header {
    background: linear-gradient(135deg, #ff4d6d 0%, #ff8fa3 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    scroll-margin-top: 60px;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    scroll-margin-top: 60px;
}

.case-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 24px;
    margin: 0 8px;
    border: none;
    border-radius: 30px;
    background-color: var(--card-background);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.case-card {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.case-card:hover .card-overlay {
    opacity: 1;
}

.case-card:hover .card-image img {
    transform: scale(1.1);
}

.view-more {
    color: white;
    font-size: 1rem;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    .header-content {
        padding: 0 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .case-filters {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .filter-btns-wrapper {
        display: flex;
        overflow-x: auto;
        padding: 5px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .filter-btns-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 8px 16px;
        margin: 0 4px;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: 20px;
        background: var(--card-background);
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    .filter-btn:first-child {
        margin-left: 0;
    }

    .filter-btn:last-child {
        margin-right: 0;
    }

    .cases-container {
        padding: 0 15px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .case-card {
        margin-bottom: 0;
    }

    .card-image img {
        height: 140px;
    }

    .card-content {
        padding: 10px;
    }

    .card-content h3 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-content p {
        font-size: 0.8rem;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 32px;
    }

    .card-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }

    .price {
        font-size: 0.9rem;
    }

    .stats {
        font-size: 0.75rem;
        gap: 8px;
    }

    .case-card:nth-child(n+7) {
        display: none;
    }

    .load-more {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 20px auto;
        padding: 10px 0;
        text-align: center;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        cursor: pointer;
    }

    .advanced-filters {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .search-box {
        position: relative;
        width: 100%;
    }

    .search-box input {
        width: 100%;
        padding: 10px 40px 10px 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        font-size: 0.9rem;
        background: var(--card-background);
    }

    .search-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
    }

    .price-filter select {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        font-size: 0.9rem;
        background: var(--card-background);
        color: var(--text-color);
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 15px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 0;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .filter-btn {
        flex: 1 1 calc(100% - 10px);
        max-width: none;
    }

    .cases-container {
        padding: 0 10px;
    }

    .card-image img {
        height: 180px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-card:nth-child(n+5) {
        display: none;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .search-box input,
    .price-filter select {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 896px) and (orientation: landscape) {
    header {
        padding: 20px 0;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-image img {
        height: 160px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-image img {
        transform-origin: center center;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
}

.logo span {
    color: #2d3436 !important;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #2d3436 !important;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color) !important;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
}

/* 搜索和筛选样式 */
.advanced-filters {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.price-filter select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: white;
    cursor: pointer;
}

/* 卡片标签和信息样式 */
.card-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 3;
}

.tag {
    background: rgba(255,255,255,0.9);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.price {
    color: var(--primary-color);
    font-weight: 500;
}

.stats {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2d3436;
    transition: all 0.3s ease;
}

/* 汉堡菜单动画效果 */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(255, 255, 255, 0.95) !important;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-links.show {
        height: auto;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.show a {
        opacity: 1;
        transform: translateY(0);
    }

    .contact-btn {
        display: none;
    }

    .nav-links.show a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.show a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.show a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.show a:nth-child(4) { transition-delay: 0.4s; }
}

/* 通用部分样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 服务项目样式 */
.services {
    background-color: var(--background-color);
    padding: 40px 0;
    scroll-margin-top: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-features li {
    color: var(--text-color);
    margin: 10px 0;
    font-size: 0.9rem;
}

.service-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 关于我们样式 */
.about {
    background: white;
    padding: 40px 0;
    scroll-margin-top: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-container {
        padding: 40px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
        background: var(--background-color);
        border-radius: 10px;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
}

.qr-code p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-item .info h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item .info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }

    .qr-code {
        order: -1;
    }

    .modal-content {
        padding: 20px;
        margin: 20px;
    }
}

/* 添加动画效果 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 修改现有的媒体查询部分并添加新的样式 */
@media (max-width: 768px) {
    /* 导航栏调整 */
    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 10px 15px;
    }

    .logo img {
        height: 24px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        height: auto;
        padding: 20px 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* 头部区域调整 */
    header {
        padding: 40px 0;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 30px;
    }

    /* 筛选区域调整 */
    .case-filters {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .filter-btn {
        padding: 8px 16px;
        margin: 5px;
        font-size: 0.85rem;
    }

    .advanced-filters {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .search-box, .price-filter {
        width: 100%;
    }

    /* 案例卡片调整 */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .case-card {
        margin-bottom: 5px;
    }

    .card-image img {
        height: 200px;
    }

    .card-content {
        padding: 15px;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    /* 服务项目区域调整 */
    .services {
        padding: 30px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    /* 关于我们区域调整 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .about-image img {
        height: 200px;
        object-fit: cover;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* 联系弹窗调整 */
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qr-code img {
        width: 150px;
        height: 150px;
    }

    .contact-item {
        gap: 10px;
    }

    .contact-item .icon {
        font-size: 20px;
    }

    .contact-item .info h4 {
        font-size: 0.9rem;
    }

    .contact-item .info p {
        font-size: 0.85rem;
    }
}

/* 添加小屏幕手机的特殊处理 */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .filter-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        background: var(--card-background);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .card-tags {
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.75rem;
        padding: 3px 6px;
    }

    .card-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* 添加横屏模式的优化 */
@media (max-width: 896px) and (orientation: landscape) {
    .nav-links.show {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 添加暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --card-background: #2d2d2d;
        --text-color: #ffffff;
        --text-light: #a0a0a0;
    }

    .navbar {
        background: rgba(45, 45, 45, 0.95);
    }

    .modal-content {
        background: var(--card-background);
    }

    .filter-btn {
        background: var(--card-background);
        color: var(--text-color);
    }
}

/* 主题相关样式 */
:root {
    --primary-color: #ff4d6d;
    --secondary-color: #2d3436;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #2d3436;
    --text-light: #636e72;
}

/* 暗色主题类 */
body.dark-theme {
    --background-color: #1a1a1a;
    --card-background: #2d2d2d;
    --text-color: #ffffff;
    --text-light: #a0a0a0;
}

/* 主题切换开关样式 */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}

.theme-switch span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .theme-switch {
        border-top: 1px solid rgba(0,0,0,0.1);
        padding: 15px 20px;
        justify-content: space-between;
    }

    body.dark-theme .theme-switch {
        border-top-color: rgba(255,255,255,0.1);
    }
} 

/* 修改加载更多按钮样式 */
.load-more {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 40px auto;
    padding: 12px 0;
    text-align: center;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 109, 0.2);
}

/* 移动端样式保持不变 */
@media (max-width: 768px) {
    .load-more {
        margin: 20px auto;
        padding: 10px 0;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .load-more:hover {
        background: var(--primary-color);
        transform: none;
        box-shadow: none;
    }
} 