
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0d1b2a, #162447);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ff9900;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 calc(33.33% - 20px);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    color: #00ff00;
    font-family: 'Roboto Mono', monospace;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

th {
    background-color: rgba(0, 0, 0, 0.3);
}

button {
    background: linear-gradient(135deg, #0074D9, #7FDBFF);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%;
    }
}

