
/* 基础样式 */
body {
    font-family: 'Roboto', sans-serif;
    color: #F0F0F0;
    background-color: #1A1A1A;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 渐变背景 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1A1A1A, #00BFFF, #1A1A1A);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradient-animation 10s ease infinite;
}

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

/* 容器样式 */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

/* 标题样式 */
.title {
    grid-column: 2 / span 11;
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* 内容样式 */
.content {
    grid-column: 2 / span 11;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    text-align: justify;
    margin-bottom: 20px;
}

/* 图片样式 */
.image-container {
    grid-column: 2 / span 11;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.image-container img {
    width: 100%;
    max-width: 320px;
    height: auto;
    alt="";
}

/* 代码块样式 */
.code-block {
    grid-column: 2 / span 11;
    background-color: #1A1A1A;
    color: #F0F0F0;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

/* 按钮样式 */
.button {
    position: relative;
    overflow: hidden;
    background-color: #00BFFF;
    color: #1A1A1A;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.button:hover::before {
    width: 200px;
    height: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 2rem;
    }

    .content {
        font-size: 0.9rem;
    }

    .code-block {
        font-size: 0.9rem;
    }

    .button {
        font-size: 0.9rem;
    }
}

/* 提示信息 */
.prompt {
    grid-column: 2 / span 11;
    font-size: 1rem;
    color: #F0F0F0;
    text-align: center;
    margin-top: 20px;
}

