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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(178, 255, 255, 0.8), rgba(179, 136, 255, 0.8));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 15px;
}

h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #212121;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #424242;
    margin-bottom: 15px;
}

code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    color: #2196f3;
    font-size: 0.9rem;
}

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

button {
    background-color: #64b5f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    background-color: #2196f3;
}

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

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

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

th {
    background-color: #f5f5f5;
    color: #333;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

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

    pre {
        font-size: 0.8rem;
    }
}

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

    button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 提示信息样式 */
.notice {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

