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

body {
    font-family: 'Roboto', 'Futura', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: #6a11cb;
}

header {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section {
    padding: 100px 20px;
    min-height: 100vh;
}

.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(25, 25, 25, 0.8);
    border-radius: 10px;
}

h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.5rem;
    color: #3fff8c;
}

h4 {
    font-size: 1.2rem;
    color: #ff5733;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #dddddd;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #444;
}

th, td {
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

pre {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    font-family: 'Fira Code', monospace;
    color: #f8f8f2;
}

button {
    padding: 10px 20px;
    background: #2575fc;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.icon {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: rotate(360deg);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
}

.footer p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

@media (max-width: 1440px) {
    header h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .content {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1024px) {
    .content {
        padding: 10px;
    }

    button {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

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

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .icon {
        width: 40px;
        height: 40px;
    }
}

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

    header h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    p, li {
        font-size: 0.9rem;
    }

    .content {
        padding: 8px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 0.9rem;
    }

    p, li {
        font-size: 0.8rem;
    }

    button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

