
/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置字体和背景 */
body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* 容器设置 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* 头部样式 */
header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(45deg, #0f65ff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    animation: glow 2s infinite alternate;
}

/* 关键视觉 */
.hero {
    position: relative;
    height: 400px;
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    margin-bottom: 40px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 102, 255, 0.3);
    border-radius: 10px;
    animation: overlay 5s infinite;
}

/* 内容区 */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
}

.content .text {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

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

.sample-article h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ff00cc;
    margin-bottom: 20px;
}

.sample-article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

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

.sample-article p {
    margin-bottom: 15px;
}

/* 提示语 */
.reference-note {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
    color: #00ffff;
}

/* 动画效果 */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #ff00cc;
    }
    to {
        text-shadow: 0 0 20px #0f65ff;
    }
}

@keyframes overlay {
    0% {
        background: rgba(15, 102, 255, 0.3);
    }
    50% {
        background: rgba(255, 0, 204, 0.3);
    }
    100% {
        background: rgba(15, 102, 255, 0.3);
    }
}

/* 交互效果 */
button, a.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #0f65ff, #ff00cc);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

button:hover, a.button:hover {
    transform: scale(1.1);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 250px;
    }

    .content {
        grid-template-columns: 1fr;
    }
}

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

    header h1 {
        font-size: 2rem;
    }

    .hero {
        height: 200px;
    }

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

@media (min-width: 1440px) {
    header h1 {
        font-size: 4rem;
    }

    .hero {
        height: 500px;
    }
}

