: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;
}

/* 开场动画容器 */
#intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1b0d 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.intro-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
}

.intro-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    position: relative;
    overflow: hidden;
}

.intro-logo-inner:before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, transparent 30%, rgba(212, 175, 55, 0.3) 70%);
    animation: rotate 15s linear infinite;
}

.intro-logo-text {
    position: absolute;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.intro-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
}

.intro-subtitle {
    color: var(--secondary-gold);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    font-style: italic;
    letter-spacing: 3px;
}

.intro-progress {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
}

.intro-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.intro-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12,21.35L10.55,20.03C5.4,15.36 2,12.28 2,8.5C2,5.42 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.09C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.42 22,8.5C22,12.28 18.6,15.36 13.45,20.04L12,21.35Z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0;
    z-index: 1;
}

.intro-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--primary-gold);
    opacity: 0;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

#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;
    opacity: 0;
    transition: opacity 1s ease;
}

#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;
}

#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;
    }
    
    /* 开场动画响应式 */
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-logo {
        width: 120px;
        height: 120px;
    }
    
    .intro-logo-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 1.8rem;
    }
    
    .header-container {
        padding: 1.5rem;
    }
    
    nav ul li a {
        padding: 1rem 1.5rem;
    }
    
    /* 开场动画响应式 */
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1rem;
    }
    
    .intro-logo {
        width: 100px;
        height: 100px;
    }
    
    .intro-logo-text {
        font-size: 1.5rem;
    }
}