
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 1px;
}

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

.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.6), rgba(255, 103, 0, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.header p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-top: 10px;
}

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

.glassmorphism:hover {
    transform: scale(1.05);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 10px 0;
}

.card p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff, #ff6700);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    white-space: pre-wrap;
}

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

.table th, .table td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
    color: #fff;
}

.table th {
    background: rgba(0, 0, 0, 0.3);
}

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

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

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 20px;
    }

    .code-block {
        font-size: 0.9rem;
    }
}

