﻿:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.1);
    --wave-color-1: rgba(37, 99, 235, 0.3);
    --wave-color-2: rgba(124, 58, 237, 0.2);
    --wave-color-3: rgba(6, 182, 212, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 地震波形背景 */
.seismic-wave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: -2;
    opacity: 0.7;
}

    .seismic-wave::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200%;
        height: 100px;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="rgba(255,255,255,0.03)"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18.14,132.24,24.23,194.1,13.44c70.36-11.24,136.33-33.31,206.8-37.5c70.36-5.37,136.33-24.23,194.1-13.44V0Z"/></svg>');
        background-size: cover;
        animation: wave 15s infinite linear;
    }

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50px);
    }
}

/* 页面滚动指示器 - 改为黑色到白色 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #000000, #ffffff);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* 导航栏样式 */
#mainNav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .logo i {
        margin-right: 0.5rem;
        color: var(--accent);
    }

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

    .nav-menu li {
        margin-left: 1.5rem;
    }

/* 语言切换器 */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.25rem;
}

.lang-option {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .lang-option.active {
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .lang-option:hover:not(.active) {
        background: rgba(255, 255, 255, 0.1);
    }

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: 0.3s;
    }

/* 主要内容区域 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 1.5rem 2rem;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

    .header h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        background: linear-gradient(90deg, #6b7280, #ffffff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        display: inline-block;
    }

    .header p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 2rem;
        color: var(--text-secondary);
    }

/* 网站网格布局 */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.website-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .website-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.7s ease;
    }

    .website-card:hover::before {
        left: 100%;
    }

    .website-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.2);
    }

.card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

    .card-content h2 i {
        margin-right: 0.5rem;
        color: var(--accent);
    }

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-content a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .card-content a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* 联系区域 */
.section {
    margin-bottom: 4rem;
}

.section-spacer {
    height: 4rem;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }

        .nav-menu.active {
            left: 0;
        }

        .nav-menu li {
            margin: 1rem 0;
        }

    .hamburger {
        display: flex;
    }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

    .header h1 {
        font-size: 2.2rem;
    }

    .websites-grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动条样式 - 改为灰色主题 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d3748;
}

::-webkit-scrollbar-thumb {
    background: #718096;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #a0aec0;
    }
