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

/* 设定基础字体 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    transition: background 0.5s ease;
}

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

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: #ff9800;
    margin-bottom: 20px;
}

/* 段落样式 */
p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #e0e0e0;
}

/* 按钮样式 */
.button {
    background: linear-gradient(45deg, #ff9800, #e68a00);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: linear-gradient(45deg, #e68a00, #ff9800);
    transform: scale(1.05);
}

/* 卡片布局 */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 图标样式 */
.icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    background-size: cover;
    border-radius: 10px;
}

/* 图片样式 */
img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: #ffeb3b;
    font-family: 'Courier New', Courier, monospace;
}

/* 文章示例展示 */
.article-demo {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    p {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .card {
        padding: 18px;
    }

    .button {
        padding: 10px 20px;
    }
}

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

    h2 {
        font-size: 24px;
    }

    .card {
        padding: 15px;
    }

    .icon {
        width: 50px;
        height: 50px;
    }
}

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

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .button {
        padding: 8px 16px;
    }
}

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

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 13px;
    }

    .button {
        padding: 6px 12px;
    }
}

/* 背景动画 */
@keyframes auroraMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    background: radial-gradient(circle, rgba(255,87,34,0.8), transparent), 
                linear-gradient(45deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    animation: auroraMove 15s linear infinite;
}

/* 链接样式 */
a {
    color: #ff9800;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 提示信息样式 */
.reference-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-left: 5px solid #ff9800;
    margin-bottom: 30px;
    border-radius: 5px;
}

