
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #228B22, #00008B);
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFA500;
    text-align: center;
    margin: 20px 0;
}
p {
    font-size: 1rem;
    color: #FFFFFF;
    margin: 10px 0;
}
a {
    color: #FFD700;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* 页面容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    background: linear-gradient(45deg, #CD853F, #4682B4);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
}
.header p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/* 卡片布局 */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}
.card {
    background: linear-gradient(135deg, #4682B4, #228B22);
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 20px;
    width: calc(33.33% - 20px);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}
.card-left, .card-right {
    flex: 1;
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px;
    transition: all 0.3s ease-in-out;
}
.button:hover {
    animation: shake 0.5s ease-in-out;
    background: linear-gradient(135deg, #FFA500, #FFD700);
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }
    .header p {
        font-size: 1rem;
    }
}

/* 表格与代码块样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #FFFFFF;
    color: #000000;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #000000;
}
pre {
    background: #000000;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
}

