
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1A1A40, #2C3E50);
    color: #E0E0E0;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, rgba(255,87,34,0.5), transparent);
    animation: aurora-move 15s linear infinite;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: #F7DC6F;
}

section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 5px;
    background: #F7DC6F;
    display: block;
    margin: 10px auto 0;
    border-radius: 2.5px;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.card {
    background: rgba(44, 62, 80, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    padding: 30px;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #F7DC6F;
}

.card p {
    line-height: 1.6;
    font-size: 1.1em;
}

.code-block {
    background: #2C3E50;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #F7DC6F;
    white-space: pre-wrap;
}

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

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

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background: #34495E;
}

@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgba(255,87,34,0.5), transparent); }
    50% { background: radial-gradient(circle, rgba(34,193,195,0.5), transparent); }
    100% { background: radial-gradient(circle, rgba(255,87,34,0.5), transparent); }
}

button {
    background: #27AE60;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

button:hover {
    background: #2ECC71;
    transform: scale(1.05);
}

button::after {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

button:hover::after {
    opacity: 1;
}

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

@media (max-width: 1200px) {
    .section-title {
        font-size: 2em;
    }

    .card h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

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

    .section-title {
        font-size: 1.8em;
    }

    .card {
        padding: 20px;
    }
}

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

    .section-title {
        font-size: 1.5em;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

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

    .section-title {
        font-size: 1.2em;
    }

    .card h2 {
        font-size: 1.5em;
    }

    code {
        font-size: 0.8em;
    }
}

/* 提示文字样式 */
.footer-note {
    text-align: center;
    padding: 20px;
    background: rgba(44, 62, 80, 0.9);
    color: #fff;
    font-size: 1em;
}

