:root {
    --primary-color: #bf9f46;
    --secondary-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-dark: #1a242f;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: 70px; /* 为固定导航栏留出空间 */
}

/* 性能优化 */
*,
*::before,
*::after {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #a88c3d;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* 导航栏 */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255,255,255,0.98);
    z-index: 9999 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: none !important;
    backface-visibility: visible !important;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 2px solid #bf9f46 !important;
    transform: none !important;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.navbar-logo span {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-container {
    position: absolute;
    right: 40px;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
}

.search-input-container.active {
    width: 250px;
    padding: 5px 10px;
    box-shadow: var(--shadow);
    opacity: 1;
    visibility: visible;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    background: transparent;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    position: relative;
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
}

/* 搜索结果项样式 */
.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(191, 159, 70, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.search-result-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 20px;
    }
    
    .navbar-logo {
        gap: 8px;
    }
    
    .navbar-logo img {
        height: 35px;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .navbar-menu a {
        padding: 15px 30px;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0,0,0,0.1);
        display: block;
        width: 100%;
    }
    
    .navbar-menu a:last-child {
        border-bottom: none;
    }
    
    .navbar-menu a.active::after {
        display: none;
    }
    
    .navbar-menu a:hover {
        background: rgba(191, 159, 70, 0.1);
        color: var(--primary-color);
    }
    
    .mobile-menu-btn {
        display: block;
        color: var(--text-dark);
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(191, 159, 70, 0.1);
        color: var(--primary-color);
    }
    
    .mobile-menu-btn.active i::before {
        content: '\f00d';
    }
    
    .navbar-search {
        order: -1;
    }
    
    .search-input-container {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        border-radius: 0;
        border-bottom: 2px solid rgba(191, 159, 70, 0.2);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        height: 0;
        padding: 0 20px;
        box-shadow: none;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }
    
    .search-input-container.active {
        transform: translateY(0);
        height: 60px;
        padding: 15px 20px;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        border-bottom: 2px solid var(--primary-color);
        opacity: 1;
        visibility: visible;
    }
    
    .search-input {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: var(--text-dark);
    }
    
    .search-input::placeholder {
        color: #999;
        font-size: 15px;
    }
    
    .search-btn {
        padding: 12px;
        border-radius: 50%;
        transition: all 0.3s ease;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        color: var(--text-dark);
    }
    
    .search-btn:hover {
        background: rgba(191, 159, 70, 0.1);
        color: var(--primary-color);
    }
    
    .search-results {
        position: fixed;
        top: 130px;
        left: 15px;
        right: 15px;
        width: auto;
        z-index: 999;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        max-height: 60vh;
        overflow-y: auto;
        border: 1px solid rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .search-results.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 英雄区域轮播 */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 通用区域样式 */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(191, 159, 70, 0.02) 50%, transparent 100%);
    z-index: 0;
}

.section:nth-child(odd)::before {
    background: linear-gradient(-45deg, transparent 0%, rgba(191, 159, 70, 0.02) 50%, transparent 100%);
}

.section:nth-child(even)::before {
    background: linear-gradient(45deg, transparent 0%, rgba(44, 62, 80, 0.02) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section:nth-child(even) {
    background: rgba(248, 249, 250, 0.5);
}

.section:nth-child(odd) {
    background: rgba(255, 255, 255, 0.8);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.work-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.work-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-content {
    padding: 20px;
}

.work-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.work-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.work-desc {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.event-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.event-date i {
    color: var(--primary-color);
}

.event-desc {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .works-grid,
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .works-grid,
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .works-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

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

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.news-date {
    font-weight: 500;
}

.news-views {
    color: #666;
}

/* 新闻列表 */
.news-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    transform: translateY(-10px);
    text-decoration: none;
    color: inherit;
}

.news-item:hover::after {
    opacity: 1;
}

.news-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 45px -5px rgba(0,0,0,0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    border-radius: var(--radius);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-desc {
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(191, 159, 70, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info {
    line-height: 1.8;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact-item i {
    color: var(--primary-color);
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-copyright {
    margin: 0;
}

/* 查看更多按钮容器 */
.view-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-view-more {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-view-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(4px);
}

/* 友情链接部分 */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* 友情链接样式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.partner-logo {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    height: 100px;
    border: 1px solid rgba(191, 159, 70, 0.1);
    position: relative;
    cursor: pointer;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(191, 159, 70, 0.2);
    border-color: rgba(191, 159, 70, 0.3);
}

/* 隐藏图片，显示文字 */
.partner-logo img {
    display: none;
}

/* 添加文字内容 */
.partner-logo::after {
    content: attr(data-name);
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    text-align: center;
}

.partner-logo:hover::after {
    color: var(--primary-color);
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(191, 159, 70, 0.2);
}

/* 为不同位置添加不同的悬停效果 */
.partner-logo:nth-child(6n+1):hover::after {
    color: #bf9f46;
}

.partner-logo:nth-child(6n+2):hover::after {
    color: #e74c3c;
}

.partner-logo:nth-child(6n+3):hover::after {
    color: #3498db;
}

.partner-logo:nth-child(6n+4):hover::after {
    color: #27ae60;
}

.partner-logo:nth-child(6n+5):hover::after {
    color: #9b59b6;
}

.partner-logo:nth-child(6n+6):hover::after {
    color: #f39c12;
}

/* 对应的顶部装饰条颜色 */
.partner-logo:nth-child(6n+1):hover::before {
    background: linear-gradient(90deg, transparent 0%, #bf9f46 50%, transparent 100%);
}

.partner-logo:nth-child(6n+2):hover::before {
    background: linear-gradient(90deg, transparent 0%, #e74c3c 50%, transparent 100%);
}

.partner-logo:nth-child(6n+3):hover::before {
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

.partner-logo:nth-child(6n+4):hover::before {
    background: linear-gradient(90deg, transparent 0%, #27ae60 50%, transparent 100%);
}

.partner-logo:nth-child(6n+5):hover::before {
    background: linear-gradient(90deg, transparent 0%, #9b59b6 50%, transparent 100%);
}

.partner-logo:nth-child(6n+6):hover::before {
    background: linear-gradient(90deg, transparent 0%, #f39c12 50%, transparent 100%);
}

/* 友情链接响应式设计 */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .partner-logo {
        height: 90px;
        padding: 20px 15px;
    }
    
    .partner-logo::after {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 18px;
    }
    
    .partner-logo {
        height: 80px;
        padding: 18px 12px;
    }
    
    .partner-logo::after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-logo {
        height: 75px;
        padding: 15px 10px;
    }
    
    .partner-logo::after {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
} 