/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --text-primary: #F5F5DC;
    --text-secondary: #DEB887;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-accent: #3a3a3a;
    --border-color: #8B4513;
    --shadow-color: rgba(139, 69, 19, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', 'Noto Serif', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    position: relative;
}

/* 强制移动端布局 - 在1100px以下 */
@media (max-width: 1100px) {
    .nav-container {
        justify-content: space-between !important;
        gap: 1rem !important;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-logo:visited {
    color: inherit;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    object-fit: cover;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--shadow-color);
    white-space: normal;
    line-height: 1.2;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-right: 160px;
}

/* 移动端布局 - 在1100px以下 */
@media (max-width: 1100px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-language {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        margin-left: auto !important;
    }
    
    .nav-container {
        justify-content: space-between !important;
        gap: 1rem !important;
    }
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.4rem 0.4rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-language {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--secondary-color);
    color: var(--bg-primary);
    border-color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%238B4513" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--shadow-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.taoist-symbol {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 50% 50%, var(--secondary-color) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.taoist-symbol::before {
    content: '☯';
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--bg-primary);
    line-height: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 通用章节样式 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* 协会介绍 */
.about-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-symbol {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.about-symbol::before {
    content: '道';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--text-primary);
    font-weight: bold;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 主要成员 */
.members-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    transition: left 0.5s ease;
}

.member-card:hover::before {
    left: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-avatar::before {
    /* content: '👨‍🦳'; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

/* 首页成员头像样式 - 圆形 */
.homepage-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.homepage-member-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--shadow-color);
    border-color: var(--accent-color);
}

/* 成员详情页照片样式 - 方形 */
.member-photo {
    text-align: center;
    margin-bottom: 2rem;
}

.member-name {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 协会活动 */
.activities-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 活动照片样式 */
.activity-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.activity-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.activity-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.activity-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 特色活动样式 */
.featured-event {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(218, 165, 32, 0.1));
    position: relative;
}

.featured-event::before {
    content: "重要活动";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(255, 248, 220, 0.8);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 1px 5px rgba(218, 165, 32, 0.2);
}

/* 协会法会 */
.ceremonies-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.ceremonies-content {
    max-width: 800px;
    margin: 0 auto;
}

.ceremony-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.ceremony-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.ceremony-date {
    text-align: center;
    min-width: 100px;
}

.ceremony-date .month {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.ceremony-date .day {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.ceremony-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 法会卡片网格样式 */
.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ceremony-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.ceremony-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border-color: var(--secondary-color);
}

.ceremony-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* 法会照片样式 */
.ceremony-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.ceremony-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.ceremony-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.ceremony-year {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.ceremony-card p:not(.ceremony-year) {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.ceremony-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 国际联谊 */
.international-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.international-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.international-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.international-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.partners h4 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.partners ul {
    list-style: none;
}

.partners li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.partners li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.international-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.earth-image {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earth-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.earth-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* 联系我们 */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-icon svg:hover {
    stroke: var(--accent-color);
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* 邮箱链接样式 */
.contact-item a[href^="mailto:"] {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-item a[href^="mailto:"]:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form button {
    background: var(--secondary-color);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    object-fit: cover;
}

.footer-logo p {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* 邮件订阅样式 */
.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-newsletter p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-input-group {
    display: flex;
    margin-bottom: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-color);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.newsletter-input-group input::placeholder {
    color: var(--text-light);
}

.newsletter-btn {
    padding: 0.7rem 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-color);
}

.newsletter-message {
    font-size: 0.8rem;
    min-height: 1.2rem;
    margin-top: 0.3rem;
}

.newsletter-message.success {
    color: #28a745;
}

.newsletter-message.error {
    color: #dc3545;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.social-link:hover svg {
    stroke: var(--bg-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-language {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        margin-left: auto !important;
    }
    
    .nav-container {
        justify-content: space-between !important;
        gap: 1rem !important;
    }
    
    .logo-text {
        font-size: 1.1rem;
        max-width: 140px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        margin-left: 0.5rem;
    }
    
    .nav-language {
        margin-left: auto;
        justify-content: flex-end;
        flex-shrink: 0;
        position: static;
        transform: none;
    }
    
    .nav-logo {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .logo-text {
        font-size: 1rem;
        max-width: 150px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
        word-break: normal;
    }
    
    .about-content,
    .international-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .ceremony-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
        margin: 0 auto;
    }
}

/* 这个断点现在不需要了，因为900px以下都使用移动端布局 */

/* 这个断点现在不需要了，因为1100px以下都使用移动端布局 */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 1rem;
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
        max-width: 120px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }
    
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .taoist-symbol {
        width: 200px;
        height: 200px;
    }
    
    .taoist-symbol::before {
        font-size: 5rem;
    }
    
    /* 小屏幕页脚样式 */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* 活动详情页面样式 */
.featured-event-detail {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(218, 165, 32, 0.08));
    margin-bottom: 3rem;
    position: relative;
}

.featured-event-detail::before {
    content: "重要公告";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-details {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(40, 40, 40, 0.85);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.event-info {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.event-info strong {
    color: var(--secondary-color);
    min-width: 80px;
    margin-right: 0.5rem;
}

.ceremony-program {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.ceremony-program h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.ceremony-program ul {
    list-style: none;
    padding: 0;
}

.ceremony-program li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(40, 40, 40, 0.7);
    border-radius: 5px;
    border-left: 3px solid var(--secondary-color);
    color: #ffffff;
}

.ceremony-program li::before {
    content: "✦";
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.event-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(40, 40, 40, 0.85);
    border-radius: 8px;
    border: 1px solid rgba(218, 165, 32, 0.8);
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

/* 锚点跳转平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 锚点目标突出显示 */
.activity-detail-card:target {
    animation: highlight-fade 3s ease-in-out;
    border-left: 4px solid var(--secondary-color);
}

@keyframes highlight-fade {
    0% {
        background-color: rgba(255, 215, 0, 0.2);
        transform: scale(1.02);
    }
    50% {
        background-color: rgba(255, 215, 0, 0.1);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* 移动端特色活动样式 */
@media (max-width: 768px) {
    .featured-event::before,
    .featured-event-detail::before {
        font-size: 0.7rem;
        padding: 3px 10px;
        left: 15px;
    }
    
    .event-date {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    .event-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-info strong {
        min-width: auto;
        margin-bottom: 0.2rem;
    }
    
    .ceremony-program li {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 1rem;
        word-break: normal;
        hyphens: none;
        overflow-wrap: normal;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    /* 中等屏幕页脚样式 */
    .footer-content {
        gap: 1.8rem;
    }
    
    .footer-social {
        gap: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        padding: 0 0.5rem;
        word-break: normal;
        hyphens: none;
        overflow-wrap: normal;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* 新增页面样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 3px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23DAA520" opacity="0.1"/></svg>'); */
    animation: float 20s infinite linear;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 关于页面详情 */
.about-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-logo, .about-document {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.about-logo:hover, .about-document:hover {
    transform: scale(1.05);
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-block {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.content-zh, .content-en {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.content-zh:last-child, .content-en:last-child {
    margin-bottom: 0;
}

/* 成员详情页面 */
.members-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.member-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
}


.member-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.member-image:hover {
    transform: scale(1.05);
}

.member-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.member-name {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.member-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 活动详情页面 */
.activities-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.activity-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.activity-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.activity-image:hover {
    transform: scale(1.05);
}

.activity-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.activity-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* 法会详情页面 */
.ceremonies-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.ceremony-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.ceremony-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ceremony-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.ceremony-image:hover {
    transform: scale(1.05);
}

.ceremony-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.ceremony-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.traditional-ceremonies {
    margin-top: 80px;
}

.section-subtitle {
    font-size: 2.4rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* 国际联谊页面 */
.relations-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.intro-text {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text .section-subtitle {
    margin-bottom: 30px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-primary);
}

.congratulations-section, .exchange-section {
    margin-bottom: 80px;
}

.relations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.relation-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.relation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.relation-image {
    margin-bottom: 20px;
    text-align: center;
}

.relation-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.relation-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.relation-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: center;
}

.exchange-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.exchange-image {
    text-align: center;
}

.exchange-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.exchange-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.exchange-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* 导航链接活动状态 */
.nav-link.active {
    color: var(--secondary-color);
    position: relative;
}

.nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 100% !important;
    height: 2px !important;
    background: var(--secondary-color) !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
}

/* 响应式设计 - 新页面 */
@media (max-width: 1024px) {
    .about-content-wrapper,
    .member-detail-card,
    .activity-detail-card,
    .ceremony-detail-card,
    .exchange-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .about-logo, .about-document {
        max-width: 200px;
    }
    
    .page-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* 移动端页脚样式 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
        margin: 0 auto;
    }
    
    .about-detail-section,
    .members-detail-section,
    .activities-detail-section,
    .ceremonies-detail-section,
    .relations-detail-section {
        padding: 60px 0;
    }
    
    .member-detail-card,
    .activity-detail-card,
    .ceremony-detail-card {
        padding: 30px 20px;
        margin-bottom: 50px;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* 移动端活动和法会页面 - 文字在前，图片在后 */
    .activity-detail-card .activity-content,
    .ceremony-detail-card .ceremony-content {
        order: 1 !important; /* 文字内容在前 */
        margin-bottom: 1.5rem !important;
    }
    
    .activity-detail-card .activity-images,
    .ceremony-detail-card .ceremony-images {
        order: 2 !important; /* 图片在后 */
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .activity-detail-card .activity-image,
    .ceremony-detail-card .ceremony-image {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .relations-grid,
    .ceremonies-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-subtitle {
        font-size: 2rem;
    }
    
    .about-images {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    /* 小屏幕页脚样式 */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .member-title {
        font-size: 1.5rem;
    }
    
    .member-name {
        font-size: 1.8rem;
    }
    
    .activity-title,
    .ceremony-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
    }
    
    .content-zh, .content-en {
        font-size: 1rem;
    }
    
    .activity-description,
    .ceremony-description {
        font-size: 1rem;
    }
    
    /* 移动端邮件订阅样式 */
    .footer-newsletter {
        text-align: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input-group input,
    .newsletter-btn {
        border-radius: 5px;
    }
}
