
/* 页面整体样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a0d4e, #0f2c69);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部提示 */
header {
    text-align: center;
    font-size: 14px;
    color: #00ff7f;
    margin-bottom: 20px;
}

/* 标题区域 */
h1 {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ff7f;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #00ff7f;
    margin: 10px auto 0;
}

/* 渐变背景卡片 */
.card {
    background: linear-gradient(135deg, #2c1b6b, #1a0d4e);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 255, 127, 0.2);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

/* 非对称网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.grid-item {
    background: linear-gradient(135deg, #1a0d4e, #0f2c69);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.grid-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.grid-item:hover {
    background: linear-gradient(135deg, #2c1b6b, #1a0d4e);
    box-shadow: 0 6px 15px rgba(0, 255, 127, 0.3);
}

/* 按钮样式 */
button {
    background-color: #00ff7f;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    transform: scale(1.1);
    background-color: #00cc66;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

th {
    color: #00ff7f;
}

td code {
    background: #1a0d4e;
    padding: 5px;
    border-radius: 3px;
    color: #00ff7f;
}

/* 响应式调整 */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

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

    .card {
        padding: 15px;
    }
}

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

    .card, .grid-item {
        padding: 15px;
    }
}

/* 代码块样式 */
pre {
    background: #1a0d4e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    color: #00ff7f;
    font-family: 'Courier New', Courier, monospace;
}

