
/* 渐变极光背景与动态视觉效果 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #003366, #660099, #33cc33, #ff9900);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 标题样式 */
h1, h2, h3 {
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* 正文内容样式 */
p {
    font-weight: normal;
    color: #dcdcdc;
    padding: 0 20px;
    text-align: justify;
}

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

.grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

/* 按钮样式与交互 */
button {
    background-color: #00ff99;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 10px;
}

button:hover {
    background-color: #00cc66;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 表格样式 */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* 图标样式 */
.icon {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #00ff99, #00cc66);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border-radius: 50%;
}

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

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

    table {
        font-size: 0.8rem;
    }
}

/* 提示文字样式 */
.tip {
    text-align: center;
    font-size: 0.9rem;
    color: #ffcc00;
    margin-top: 20px;
}

