
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #003366, #1a1a1a);
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
a {
    color: #ff6eff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1 {
    font-size: 24px;
    color: #ff6eff;
}
.nav-links {
    display: flex;
    gap: 15px;
}
.nav-links a {
    font-size: 16px;
    color: #ffffff;
}
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #003366, #0099ff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
    transform-origin: center;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}
.cta-button {
    background: linear-gradient(135deg, #ff6eff, #ffffff);
    color: #000000;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.cta-button:hover {
    transform: scale(1.1);
}
.content-section {
    padding: 50px 0;
    background: linear-gradient(to bottom, #1a1a1a, #003366);
    position: relative;
    overflow: hidden;
}
.content-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, #003366, transparent);
    pointer-events: none;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.code-block {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    overflow-x: auto;
}
.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
table th, table td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}
table th {
    background: rgba(255, 255, 255, 0.2);
}
.footer {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 20px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .hero-section p {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 28px;
    }
    .hero-section p {
        font-size: 14px;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

