:root {
    --primary-gold: #d4af37;
    --secondary-gold: #f8e9d9;
    --dark-text: #4a3c2d;
    --light-text: #7f6a58;
    --white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Serif SC', 'SimSun', serif;
}

body {
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: #f9f6f2;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('https://xz.1314by.cn/jx/bj.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.9;
}

#bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(248, 233, 217, 0.2) 100%);
}

.header-container {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: fadeIn 1.5s ease-out;
}

.logo {
    margin-bottom: 1.5rem;
}

.logo img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

.content {
    margin-bottom: 1.5rem;
}

.content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--dark-text);
    font-weight: 600;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content h1:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    border-radius: 3px;
}

.content p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 0.8rem;
    font-style: italic;
    letter-spacing: 1px;
}

.content p:last-of-type {
    margin-top: 1.8rem;
    font-weight: 500;
    color: var(--primary-gold);
    font-style: normal;
    font-size: 1.1rem;
}

nav {
    width: 100%;
    margin: 2rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 1.2rem;
}

nav ul li {
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: translateY(-5px);
}

nav ul li a {
    display: flex;
    align-items: center;
    padding: 1.2rem 2.2rem;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

nav ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

nav ul li a:hover {
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

nav ul li a:hover:before {
    width: 100%;
}

nav ul li a i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
}

.contact-item i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.beian {
    display: block;
    text-align: center;
    margin-top: 3rem;
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
}

.beian:hover {
    color: var(--primary-gold);
}

.decoration {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    color: var(--primary-gold);
}

.decoration-1 {
    top: 10%;
    left: 5%;
    font-size: 5rem;
}

.decoration-2 {
    bottom: 10%;
    right: 5%;
    font-size: 5rem;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    #wrapper {
        padding: 1.5rem;
    }
    
    .header-container {
        padding: 1.8rem;
    }
    
    .content h1 {
        font-size: 2.2rem;
    }
    
    .content p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    
    .decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 1.8rem;
    }
    
    .header-container {
        padding: 1.5rem;
    }
    
    nav ul li a {
        padding: 1rem 1.5rem;
    }
}