
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top left, #1A1B26, #000000);
    color: #FFFFFF;
    overflow-x: hidden;
    position: relative;
}
a {
    color: #3CFFCE;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #BF48FB;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #3CFFCE;
    transform: skewX(-10deg);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li {
    position: relative;
}
nav ul li::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #3CFFCE;
    transition: width 0.3s ease;
}
nav ul li:hover::after {
    width: 100%;
}
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #3CFFCE, #BF48FB);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    opacity: 0.3;
    z-index: 1;
}
.hero h1 {
    font-size: 48px;
    font-weight: bold;
    z-index: 2;
    transform: skewY(-5deg);
}
.hero p {
    font-size: 18px;
    margin-top: 20px;
    z-index: 2;
}
.main {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    transform: skewX(5deg);
    transition: transform 0.3s ease, background 0.3s ease;
}
.card:hover {
    transform: skewX(0deg);
    background: rgba(255, 255, 255, 0.2);
}
.card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}
.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #3CFFCE;
}
.card p {
    font-size: 14px;
    line-height: 1.6;
}
.article-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    transform: skewY(2deg);
    position: relative;
}
.article-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #BF48FB;
}
.article-section h3 {
    font-size: 22px;
    margin: 20px 0 10px;
    color: #3CFFCE;
}
.article-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.article-section pre {
    background: #2E2F3A;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}
.article-section code {
    color: #3CFFCE;
    font-family: 'Courier New', Courier, monospace;
}
.article-section ul {
    list-style: disc inside;
    margin-bottom: 20px;
}
.footer {
    background: #1A1B26;
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.footer p {
    font-size: 14px;
    color: #FFFFFF;
}
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(60, 255, 206, 0.1), transparent);
    animation: aurora-move 15s linear infinite;
    z-index: 0;
}
@keyframes aurora-move {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}
@media (max-width: 1440px) {
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 16px;
    }
    .card {
        width: 280px;
    }
    .article-section h2 {
        font-size: 26px;
    }
}
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    .hero h1 {
        font-size: 36px;
    }
    .card {
        width: 250px;
    }
}
@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .card {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    .card {
        width: 100%;
    }
    .article-section {
        padding: 20px;
    }
}
@media (max-width: 480px) {
    header {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 14px;
    }
}
@media (max-width: 320px) {
    .hero h1 {
        font-size: 20px;
    }
    .hero p {
        font-size: 12px;
    }
    .card {
        width: 100%;
    }
}

