
    /* 基础样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Open Sans', Helvetica, Arial, sans-serif;
        background: linear-gradient(135deg, #001133, #330066, #000000);
        color: #FFFFFF;
        overflow-x: hidden;
        line-height: 1.6;
    }

    a {
        color: #1CB5E0;
        text-decoration: none;
    }

    a[rel="nofollow"]::after {
        content: '';
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        padding: 20px 40px;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header h1 {
        font-size: 24px;
        color: #1CB5E0;
    }

    nav ul {
        list-style: none;
        display: flex;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        font-size: 16px;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: #FF00FF;
    }

    .background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #000046, #1CB5E0);
        overflow: hidden;
        z-index: -1;
    }

    .star {
        position: absolute;
        width: 2px;
        height: 2px;
        background: white;
        border-radius: 50%;
        animation: starMovement 50s linear infinite;
    }

    @keyframes starMovement {
        0% { transform: translateY(0); }
        100% { transform: translateY(-1000px); }
    }

    main {
        padding: 100px 40px 40px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .intro {
        text-align: center;
        margin-bottom: 50px;
    }

    .intro h2 {
        font-size: 36px;
        margin-bottom: 20px;
        color: #FF00FF;
    }

    .intro p {
        font-size: 18px;
        color: #CCCCCC;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }

    .card {
        background-color: #1E1E2D;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    .card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #1CB5E0;
    }

    .card-content p {
        font-size: 14px;
        color: #AAAAAA;
        margin-bottom: 15px;
    }

    .card-content .tags {
        font-size: 12px;
        color: #FF00FF;
    }

    .article-section {
        background-color: rgba(30, 30, 45, 0.9);
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 50px;
    }

    .article-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #1CB5E0;
    }

    .article-section h3 {
        font-size: 22px;
        margin-top: 20px;
        color: #FF00FF;
    }

    .article-section h4 {
        font-size: 18px;
        margin-top: 15px;
        color: #FF00FF;
    }

    .article-section p {
        font-size: 16px;
        color: #CCCCCC;
        margin-bottom: 15px;
    }

    .article-section pre {
        background-color: #2E2E3E;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        color: #00FFAA;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 15px;
    }

    .article-section table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 15px;
    }

    .article-section table, 
    .article-section th, 
    .article-section td {
        border: 1px solid #444444;
    }

    .article-section th, 
    .article-section td {
        padding: 10px;
        text-align: left;
        color: #FFFFFF;
    }

    .article-section ul {
        list-style: disc inside;
        color: #CCCCCC;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.8);
        color: #FFFFFF;
    }

    @media (max-width: 768px) {
        header {
            padding: 15px 20px;
        }

        .intro h2 {
            font-size: 28px;
        }

        .intro p {
            font-size: 16px;
        }

        .article-section h2 {
            font-size: 24px;
        }

        .article-section h3 {
            font-size: 20px;
        }

        .article-section h4 {
            font-size: 16px;
        }

        main {
            padding: 80px 20px 20px 20px;
        }
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 20px;
        }

        nav ul li {
            margin-left: 10px;
        }

        nav ul li a {
            font-size: 14px;
        }

        .intro h2 {
            font-size: 24px;
        }

        .intro p {
            font-size: 14px;
        }

        .article-section h2 {
            font-size: 20px;
        }

        .article-section h3 {
            font-size: 18px;
        }

        .article-section h4 {
            font-size: 14px;
        }

        .card-content h3 {
            font-size: 18px;
        }

        .card-content p {
            font-size: 12px;
        }
    }

    /* 动态星星生成 */
    @media (min-width: 320px) {
        .background .star:nth-child(1) { top: 10%; left: 15%; }
        .background .star:nth-child(2) { top: 20%; left: 30%; }
        .background .star:nth-child(3) { top: 40%; left: 50%; }
        .background .star:nth-child(4) { top: 60%; left: 70%; }
        .background .star:nth-child(5) { top: 80%; left: 20%; }
        .background .star:nth-child(6) { top: 25%; left: 85%; }
        .background .star:nth-child(7) { top: 55%; left: 10%; }
        .background .star:nth-child(8) { top: 75%; left: 40%; }
        .background .star:nth-child(9) { top: 35%; left: 60%; }
        .background .star:nth-child(10) { top: 95%; left: 80%; }
        /* 更多星星可以根据需要添加 */
    }

