
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

h1 {
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-section {
    position: relative;
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png'), 
                url('https://images.gptkong.com/demo/sample2.png');
    background-position: left top, right bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 40%, 40%;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-block {
    background: #1e1e2f;
    border: 1px solid #3a3a5a;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #69ff94;
}

@media (max-width: 768px) {
    .code-block {
        font-size: 0.9rem;
    }
}

.article-section {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
}

.article-section h2 {
    font-size: 2rem;
    color: #ff6f61;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.article-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #dcdcdc;
}

.task-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.task-item {
    background: rgba(255,255,255,0.1);
    border-left: 5px solid #6a11cb;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.task-item:hover {
    border-color: #ff007f;
}

.task-title {
    font-size: 1.2rem;
    color: #ffde7d;
    margin-bottom: 10px;
}

.task-reward {
    color: #00ff94;
    font-weight: 600;
}

.footer {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    margin-top: 50px;
    color: #fff;
    font-size: 0.9rem;
}

