
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
    background-size: 300% 300%;
    animation: gradient-animation 15s ease infinite;
}

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

/* 布局容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

/* 头部样式 */
header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #00FFFF;
}

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

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.card p {
    font-size: 1em;
    color: #F0E68C;
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
    50% { background: radial-gradient(circle, rgb(34, 193, 195), transparent); }
    100% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
}

.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: aurora-move 15s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* 示例展示区 */
.sample-display {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sample-display h2 {
    color: #ADFF2F;
    margin-bottom: 20px;
}

.sample-display pre {
    background: #2C3E50;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    color: #ECF0F1;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
}

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

.sample-display table, .sample-display th, .sample-display td {
    border: 1px solid #95A5A6;
}

.sample-display th, .sample-display td {
    padding: 10px;
    text-align: left;
}

.sample-display th {
    background: #34495E;
    color: #ECF0F1;
}

.sample-display td {
    background: #2C3E50;
    color: #BDC3C7;
}

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

    header p {
        font-size: 1em;
    }

    .card h2 {
        font-size: 1.3em;
    }

    .card p {
        font-size: 0.9em;
    }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    header {
        padding: 40px 10px;
    }

    .sample-display {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    .card h2 {
        font-size: 1.2em;
    }

    .sample-display pre {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.5em;
    }

    .card p {
        font-size: 0.8em;
    }

    .sample-display h2 {
        font-size: 1.2em;
    }
}

@media (max-width: 320px) {
    header {
        padding: 30px 5px;
    }

    .sample-display {
        padding: 15px;
    }
}

