
/* 基础页面样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #2c1f18, #4d331f);
    color: #f5f5dc;
    line-height: 1.6;
    padding: 20px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左侧侧边栏样式 */
.sidebar {
    background: url('https://images.gptkong.com/demo/sample7.png') no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.6);
    border-radius: 10px;
    z-index: 1;
}

.sidebar h3 {
    position: relative;
    z-index: 2;
    font-family: 'Baskerville', serif;
    font-size: 1.5rem;
    color: #f5f5dc;
}

/* 右侧主内容区样式 */
.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card h3 {
    font-family: 'Baskerville', serif;
    font-size: 1.5rem;
    margin-top: 10px;
}

.card p {
    font-size: 1rem;
    margin-top: 10px;
}

/* 按钮与交互样式 */
button {
    background: linear-gradient(to bottom, #ff69b4, #ba55d3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::before {
    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.3s ease;
}

button:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

@keyframes neon-glow {
    0% { box-shadow: 0 0 10px #ff69b4, 0 0 20px #ff69b4, 0 0 30px #ff69b4; }
    50% { box-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4, 0 0 60px #ff69b4; }
    100% { box-shadow: 0 0 10px #ff69b4, 0 0 20px #ff69b4, 0 0 30px #ff69b4; }
}

button {
    animation: neon-glow 2s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

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

    .sidebar {
        padding: 15px;
    }

    .card {
        padding: 10px;
    }

    button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

