
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0A284C, #56A5EC);
    color: #F8F9FA;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #F8F9FA;
    margin-bottom: 20px;
}

p {
    color: #E9ECEF;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #8DC63F;
    transition: color 0.3s ease;
}

a:hover {
    color: #B2FFAC;
}

button {
    background: #8DC63F;
    color: #F8F9FA;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #B2FFAC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hero-section {
    background: linear-gradient(180deg, #0A284C 0%, #56A5EC 100%);
    color: #F8F9FA;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

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

.hero-section h1 {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.hero-section p {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.card {
    background: #E9ECEF;
    color: #0A284C;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

pre {
    background: #0A284C;
    color: #B2FFAC;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
}

code {
    color: #B2FFAC;
}

.featured {
    font-size: 1.5rem;
    color: #8DC63F;
    margin-bottom: 20px;
}

.secondary {
    font-size: 1rem;
    color: #56A5EC;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    pre {
        font-size: 0.8rem;
    }
}

