
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0A192F, #142850);
    color: #E0E0E0;
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: #64FFDA;
}
a {
    color: #64FFDA;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #0A192F, #142850);
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2rem;
    color: #C4C4C4;
}
.section {
    padding: 40px 0;
    background: rgba(10, 25, 47, 0.8);
    border-radius: 10px;
    margin-bottom: 20px;
}
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: #1E2D4B;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}
.code-block {
    background: #1E2D4B;
    color: #64FFDA;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}
.button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: #64FFDA;
    color: #0A192F;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}
@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}
.parallax {
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .card {
        padding: 15px;
        font-size: 0.9rem;
    }
    .header h1 {
        font-size: 2rem;
    }
}

