
/* 基础重置与全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1E90FF, #4B0082);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部样式 */
header {
    width: 100%;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #FFD700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

/* 主视觉区域 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, rgba(255,87,34,0.8), transparent);
    animation: aurora-move 15s linear infinite;
    padding: 0 20px;
}

.hero h2 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.hero h2::before {
    content: "探索未来金融，开启你的梦境之旅";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 64px;
    color: rgba(135, 206, 250, 0.7);
    transform: rotate(-15deg);
    z-index: -1;
}

.hero p {
    font-size: 20px;
    color: #B0C4DE;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero a {
    padding: 10px 20px;
    background: #FFD700;
    color: #1E90FF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero a:hover {
    background: #FFA500;
}

/* 内容区域 */
.container {
    padding: 100px 40px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 50px;
}

.article h2, .article h3, .article h4 {
    font-family: 'Poppins', sans-serif;
    color: #FFD700;
    margin-bottom: 15px;
}

.article p {
    margin-bottom: 15px;
    color: #FFFFFF;
}

.article pre {
    background: #2F4F4F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

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

.article table, .article th, .article td {
    border: 1px solid #FFFFFF;
}

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

.article ul {
    list-style: disc inside;
    margin-bottom: 15px;
}

.article img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.article img:hover {
    transform: scale(1.05);
}

/* 示例展示区域 */
.example {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 50px;
}

.example h2 {
    color: #FFD700;
    margin-bottom: 15px;
}

.example p {
    color: #FFFFFF;
    margin-bottom: 15px;
}

.example pre {
    background: #2F4F4F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

/* 页脚样式 */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    text-align: center;
    color: #FFFFFF;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FFA500;
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background: radial-gradient(circle, rgba(255,87,34,0.8), transparent); }
    50% { background: radial-gradient(circle, rgba(135,206,250,0.8), transparent); }
    100% { background: radial-gradient(circle, rgba(255,87,34,0.8), transparent); }
}

@media (max-width: 1440px) {
    .hero h2 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .article, .example {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 15px 30px;
    }

    header h1 {
        font-size: 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 80px 20px 20px 20px;
    }

    .hero {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .article, .example {
        padding: 15px;
    }
}

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

    header h1 {
        font-size: 18px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 12px;
    }

    .article, .example {
        padding: 10px;
    }

    .article img, .example img {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 10px;
    }
}

