
/* 通用样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4c6eff, #8e44ad);
    color: #ffffff;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}
nav {
    margin-top: 20px;
}
nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #ffdd57;
}
.section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}
.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}
.section h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #ffdd57;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}
.card {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.3);
}
.card pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.card code {
    color: #00ffea;
    font-family: 'Courier New', Courier, monospace;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.1);
}
.footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}
.footer p {
    margin: 0;
    font-size: 0.9em;
}
@media (max-width: 320px) {
    header h1 {
        font-size: 1.8em;
    }
    nav a {
        margin: 0 5px;
        font-size: 0.8em;
    }
    .section {
        padding: 40px 10px;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    nav a {
        margin: 0 7px;
        font-size: 0.9em;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    .section h2 {
        font-size: 1.8em;
    }
}
@media (max-width: 1024px) {
    .section {
        padding: 50px 20px;
    }
}
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    .section h2 {
        font-size: 2.5em;
    }
}
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 400px;
    border-radius: 15px;
    margin: 20px 0;
}
.model img {
    width: 100%;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}
@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}
.pulse-circle {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #ffdd57;
    color: #333333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.button:hover {
    background: #e6c347;
}

