
/* 全局样式设置 */
body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A192F, #1E3A5F);
    color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(90deg, #7B2CBF, #FF7F50);
    color: #FFFFFF;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #0A192F, #1E3A5F);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.navbar a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    rel: "nofollow";
}

.navbar a:hover {
    color: #FF7F50;
}

.content {
    margin-left: 270px;
    width: calc(100% - 270px);
    padding: 20px;
}

.card {
    background-color: #FFFFFF;
    color: #0A192F;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.button {
    position: relative;
    overflow: hidden;
    background-color: #7B2CBF;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
}

.button::after {
    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%);
    opacity: 0;
    transition: all 0.5s ease;
}

.button:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    transition: transform 0.5s ease-in-out;
}

.icon:hover {
    transform: rotate(360deg);
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .content {
        margin-left: 0;
        width: 100%;
    }

    .header h1 {
        font-size: 2rem;
    }

    .card {
        width: 100%;
    }
}

