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

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0A192F, #1E2A47);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    color: #64FFDA;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 36px;
    color: #64FFDA;
}

h3 {
    font-size: 24px;
    color: #FFFFFF;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

a {
    color: #64FFDA;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.grid-item h4 {
    font-size: 20px;
    color: #64FFDA;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 14px;
    color: #FFFFFF;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        padding: 15px;
    }
}

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

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 14px;
    }
}

/* 按钮样式 */
.button {
    background-color: #64FFDA;
    color: #0A192F;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #0A192F;
    color: #64FFDA;
    transform: scale(1.1);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #64FFDA;
    text-align: left;
}

th {
    background-color: #0A192F;
    color: #64FFDA;
}

td {
    color: #FFFFFF;
}

/* 代码块样式 */
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #64FFDA;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* 提示信息 */
.notice {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #FFFFFF;
}

