/* 导入精美字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 顶部导航栏 */
.navbar {
    background: linear-gradient(90deg, #0d47a1 0%, #1565c0 50%, #1e88e5 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #3b82f6;
    backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.logo i {
    font-size: 24px;
    color: #ffffff;
}

.logo small {
    font-size: 11px;
    color: #ffffff;
    margin-left: 5px;
    font-weight: 400;
    opacity: 0.8;
}

.nav-center {
    padding-left: 5%;
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box input {
    background: transparent;
    border: none;
    color: #1e293b;
    padding: 8px 15px;
    outline: none;
    width: 250px;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 5px 10px;
    outline: none;
}

.download-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 26px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 16px rgba(16, 185, 129, 0.25);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 主体内容 */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr 80px;
    gap: 20px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 左侧排行榜 */
.sidebar-left {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 10px;
}

.broker-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.broker-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.broker-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.broker-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.broker-logo img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.broker-info {
    flex: 1;
}

.broker-info h3 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.score {
    color: #3b82f6;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.label {
    color: #64748b;
    font-size: 12px;
}

.tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag-license,
.tag-time {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.broker-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.status-badge.green {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.blue {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.warning-icon {
    color: #ff9800;
    font-size: 12px;
}

.rank-number {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
}

/* 中间内容区 */
.content-center {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* VPS服务卡片 */
.vps-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.vps-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.vps-card:hover::before {
    left: 100%;
}

.vps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    border-color: rgba(0, 188, 212, 0.5);
}

.vps-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vps-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vps-card:hover .vps-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vps-card:hover .vps-logo img {
    transform: scale(1.02);
}

.vps-card.featured {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.vps-card h3 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.vps-card p {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.vps-btn {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 22px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.vps-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.vps-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* 内容导航 */
.content-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding-bottom: 15px;
}

.nav-tabs {
    display: flex;
    gap: 20px;
}

.tab-btn {
    background: transparent;
    color: #64748b;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: #3b82f6;
}

.tab-btn.active::after {
    width: 100%;
}

.more-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #2563eb;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.news-content {
    flex: 1;
}

.news-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.news-badge.warning {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.news-content h3 {
    color: #1e293b;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover .news-content h3 {
    color: #3b82f6;
}

.news-content p {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    opacity: 0.9;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    align-items: center;
}

.category {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.date,
.user-id {
    color: #64748b;
}

/* 右侧浮动按钮 */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.float-btn i {
    font-size: 18px;
}



/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: rgba(248, 250, 252, 0.95);
    border-radius: 15px;
    padding: 30px;
    min-width: 400px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 16px;
}

.modal-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #3b82f6;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal-btn.cancel {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: #ffffff;
}

.modal-btn.confirm {
    background: rgba(226, 232, 240, 0.5);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 280px 1fr 70px;
    }
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-center {
        margin: 0px 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .vps-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-right {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
    }
    
    .floating-buttons {
        flex-direction: row;
    }
}

/* Mobile optimizations - hide search and download on mobile */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        flex-direction: row;
        height: 60px;
        padding: 0 15px;
        position: relative;
    }
    
    .nav-right .search-box {
        display: none !important;
    }
    
    .nav-right .download-btn {
        display: none !important;
    }
    
    .nav-right .user-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo small {
        display: none;
    }
    
    .nav-center {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #0d47a1 0%, #1565c0 50%, #1e88e5 100%);
        border-top: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(20px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-center.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .nav-container {
        height: 50px;
        padding: 0 10px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
    }
    
    .vps-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        margin: 10px auto;
        padding: 0 10px;
        gap: 15px;
    }
    
    .sidebar-left {
        order: 2;
    }
    
    .content-center {
        order: 1;
    }
    
    .sidebar-right {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: auto;
    }
    
    .floating-buttons {
        flex-direction: row;
        gap: 8px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* 动画效果 */
.broker-card,
.vps-card,
.news-item {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载时的延迟动画 */
.broker-card:nth-child(1) { animation-delay: 0.1s; }
.broker-card:nth-child(2) { animation-delay: 0.2s; }
.broker-card:nth-child(3) { animation-delay: 0.3s; }
.broker-card:nth-child(4) { animation-delay: 0.4s; }
.broker-card:nth-child(5) { animation-delay: 0.5s; }

.vps-card:nth-child(1) { animation-delay: 0.1s; }
.vps-card:nth-child(2) { animation-delay: 0.2s; }
.vps-card:nth-child(3) { animation-delay: 0.3s; }
.vps-card:nth-child(4) { animation-delay: 0.4s; }
.vps-card:nth-child(5) { animation-delay: 0.5s; }

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

/* Footer 样式 */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #f8fafc;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.footer-logo i {
    font-size: 20px;
    color: #3b82f6;
}

.footer-logo-icon {
    border-radius: 4px;
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 8px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.social-link:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.contact-info p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #3b82f6;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px;
    gap: 20px;
    align-items: center;
}

.copyright {
    text-align: left;
}

.copyright p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
}

.copyright a {
    color: #3b82f6;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    text-align: right;
}

.footer-disclaimer p {
    color: #94a3b8;
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

/* Footer 响应式设计 */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px;
        padding: 35px 20px 0;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 30px 20px 0;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 15px 0;
    }
    
    .footer-section:first-child {
        grid-column: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
} 