* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    background: linear-gradient(135deg, #f5f3ef 0%, #e8e4d9 100%);
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .logo h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .logo p {
    font-size: 1.1em;
    opacity: 0.9;
}

.main-content {
    flex: 1;
    display: flex;
    padding: 20px;
    gap: 20px;
}

.sidebar {
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-header {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.sidebar-header h3 {
    font-size: 1.2em;
    margin: 0;
}

.submenu {
    list-style: none;
    padding: 10px;
}

.submenu li {
    padding: 12px 15px;
    margin-bottom: 5px;
    background: #f8f8f8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.submenu li:hover {
    background: #d4af37;
    color: white;
    transform: translateX(5px);
}

.content {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.hero {
    margin-bottom: 30px;
}

.hero h2 {
    color: #8b4513;
    font-size: 2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.hero p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, #faf8f5 0%, #f0ebe6 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #8b4513;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.about, .contact {
    margin-bottom: 30px;
}

.about h2, .contact h2 {
    color: #8b4513;
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.about p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 8px;
}

.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 20px;
    margin-top: auto;
}

.main-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.menu-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #e6c84a 0%, #d4af37 100%);
}

.menu-btn.active {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.copyright {
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

.mobile-main-menu {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding-bottom: 10px;
    }
    
    .mobile-main-menu {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 15px;
        background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    }
    
    .mobile-main-menu .menu-btn {
        padding: 10px 18px;
        font-size: 0.9em;
    }
    
    .main-content {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .content {
        order: 1;
    }
    
    
    
    .copyright {
        padding: 15px;
    }
}