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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0A1931, #1E3A8A);
    color: #FFFFFF;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Futura', sans-serif;
    font-weight: bold;
    color: #FF7F00;
}

p {
    color: #D1D5DB;
    font-size: 16px;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding-left: 20px;
}

li {
    color: #FCD34D;
    margin-bottom: 10px;
}

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

a:hover {
    color: #FCD34D;
}

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

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.highlight {
    color: #FF7F00;
}

.accent {
    color: #8E44AD;
}

.code-block {
    background: #1E293B;
    color: #FCD34D;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.retro-image {
    filter: sepia(50%) contrast(1.2) brightness(0.9);
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.header-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

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

    h1 {
        font-size: 28px;
    }

    p, li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .card {
        padding: 15px;
    }
}

