
/* 主色调与点缀色定义 */
body {
    background: linear-gradient(135deg, #0F1624, #1C2A48);
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 22, 36, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header h1 {
    font-size: 24px;
    color: #6A5ACD;
    margin: 0;
}

nav a {
    color: #FFA500;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    rel: "nofollow";
}

nav a:hover {
    text-shadow: 0 0 10px #FFA500;
}

.parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax:nth-child(odd) {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}

.parallax:nth-child(even) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

.content {
    height: 100vh;
    background: linear-gradient(135deg, #1C2A48, #0F1624);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    color: #6A5ACD;
}

p {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    color: #E0E0E0;
}

.button {
    background-color: #6A5ACD;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.button:hover {
    background-color: #FFA500;
}

.background-overlay {
    position: relative;
    z-index: 1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    header h1 {
        font-size: 20px;
    }

    nav a {
        margin-left: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #121212, #1C2A48);
        color: white;
    }
}

