
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo', sans-serif;
    color: #e0e0e0;
}

a {
    color: #00d2ff;
    text-decoration: none;
    rel: nofollow;
}

a:hover {
    text-decoration: underline;
}

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

/* 头部样式 */
header {
    text-align: center;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #00d2ff;
}

header p {
    font-size: 1.2em;
    color: #a0a0a0;
}

/* 卡片式布局 */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ff6ec7;
}

.card-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #cccccc;
}

.card-button {
    background: #1e90ff;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.card-button:hover {
    background: #00d2ff;
}

/* 示例文章展示 */
.article-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.article-section h2 {
    text-align: center;
    color: #ff6ec7;
    margin-bottom: 20px;
}

.article-section p, .article-section ul, .article-section table {
    color: #dddddd;
}

.article-section pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    color: #00d2ff;
}

.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.article-section table, .article-section th, .article-section td {
    border: 1px solid #444444;
}

.article-section th, .article-section td {
    padding: 10px;
    text-align: left;
}

.article-section th {
    background: #333333;
}

/* 按钮样式 */
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 0 10px #4CAF50, 0 0 20px #4CAF50, 0 0 30px #4CAF50;
    transition: all 0.3s ease;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    box-shadow: 0 0 20px #4CAF50, 0 0 40px #4CAF50, 0 0 60px #4CAF50;
}

/* 底部样式 */
footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.5);
    color: #888888;
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .card-title {
        font-size: 1.2em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.2em;
    }
    .card-title {
        font-size: 1em;
    }
    .card-description {
        font-size: 0.9em;
    }
}


