
/* 
    全局样式设置
    设置基础字体、色彩和背景渐变，确保整体色彩丰富且具有科技感。
*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

/* 渐变动画效果 */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 27, 42, 0.9);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar:hover {
    background-color: rgba(13, 27, 42, 1);
}

.navbar a {
    color: #ffa500;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ffffff;
}

/* 提示信息样式 */
.header-message {
    text-align: center;
    padding: 100px 20px 20px 20px;
    font-size: 1.2em;
    color: #ffa500;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 文章样式 */
article {
    margin-top: 60px;
}

article h2, article h3, article h4 {
    color: #ffa500;
    margin-top: 20px;
    margin-bottom: 10px;
}

article p {
    margin-bottom: 15px;
    font-size: 1em;
}

/* 图片样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.5);
}

/* 卡片布局 */
.card {
    background-color: rgba(255, 165, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

/* 导航系统样式 */
.navigation {
    position: fixed;
    top: 60px;
    left: 20px;
    width: 200px;
}

.navigation ul {
    list-style: none;
    padding: 0;
}

.navigation li {
    margin-bottom: 10px;
}

.navigation a {
    color: #ffa500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navigation {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .image-gallery {
        justify-content: center;
    }
}

/* 输入框样式 */
.input-field {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ffa500;
    border-radius: 4px;
    background-color: rgba(255, 165, 0, 0.05);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
}

.input-field:focus {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* 按钮样式 */
.button {
    background-color: #ffa500;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #ff8c00;
}

/* 背景纹理 */
.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 动态节点样式 */
.node {
    width: 10px;
    height: 10px;
    background-color: #ffa500;
    border-radius: 50%;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

