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

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* 标题动画 */
header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(45deg, #6dd5ed, #2193b0);
    color: #fff;
    animation: neonGlow 2s ease 0s infinite alternate none running;
}

@keyframes neonGlow {
    0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff4da6, 0 0 40px #ff4da6; }
    100% { text-shadow: 0 0 10px #fff, 0 0 20px #ff4da6, 0 0 30px #ff4da6, 0 0 50px #ff4da6; }
}

header h1 {
    font-size: 2.5rem;
    transform: skewX(-10deg);
}

/* 模块化卡片设计 */
.card {
    background: rgba(173, 216, 230, 0.8);
    border-radius: 15px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1), -4px -4px 10px rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.8);
}

/* 示例文章样式 */
article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

article h2 {
    font-size: 1.8rem;
    color: #1a73e8;
    text-align: center;
}

article p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

article pre {
    background: #f4f4f4;
    border-radius: 5px;
    padding: 10px;
    overflow-x: auto;
}

article code {
    color: #d45a2d;
    font-family: 'Courier New', Courier, monospace;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

th {
    background: #f0f8ff;
    color: #1a73e8;
}

/* 响应式布局 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .card {
        padding: 15px;
    }

    article pre {
        font-size: 0.9rem;
    }
}

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

    .container {
        padding: 10px;
    }
}

/* 动画按钮效果 */
.button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: #1a73e8;
    color: #fff;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

