
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    background: radial-gradient(circle, rgb(25, 25, 112), rgb(48, 49, 107));
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #d4af37;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4af37;
}

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

/* 标题区域样式 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #6c5ce7, #30336b);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 2rem;
    margin: 0;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #6c5ce7; }
    to { text-shadow: 0 0 20px #d4af37; }
}

/* 星空背景模块 */
.starry-background {
    position: relative;
    height: 400px;
    background: radial-gradient(circle, rgb(25, 25, 112), transparent);
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* 卡片式布局 */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.card {
    flex: 1 1 calc(33.333% - 40px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    max-width: 100%;
    border-radius: 8px;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #6c5ce7, #30336b);
    color: white;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 响应式表格 */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px);
    }

    .header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }
}

