
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a1f44, #0074d9, #39ff14);
    color: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin: 1.5rem 0 1rem;
    color: #fff;
}

a {
    color: #ff851b;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #e6770e;
}

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

.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 10.01%);
    animation: particleAnimation 15s linear infinite;
    transform: rotate(45deg);
}

@keyframes particleAnimation {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.button {
    background-color: #ff851b;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

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

.section {
    padding: 4rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(0, 0, 0, 0.2);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #39ff14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #ff851b;
    font-family: 'Courier New', Courier, monospace;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
}

