/* 茅山三清观网站主样式文件 */

/* 统一颜色主题变量 */
:root {
    /* 主色调 - 道教蓝 */
    --primary-color: #4a90e2;
    --primary-light: #5ba3f5;
    --primary-lighter: #87ceeb;
    --primary-dark: #2a5a8a;
    --primary-darker: #1a3a5a;
    
    /* 背景色系 */
    --bg-primary: #0a0f1a;
    --bg-secondary: #1a2332;
    --bg-tertiary: #2a3544;
    --bg-quaternary: #0f1520;
    --bg-quinary: #050a12;
    
    /* 文字颜色 */
    --text-primary: #e8f4f8;
    --text-secondary: #c8d4d8;
    --text-accent: #87ceeb;
    --text-muted: rgba(107, 182, 255, 0.7);
    
    /* 边框和分割线 */
    --border-primary: rgba(74, 144, 226, 0.3);
    --border-secondary: rgba(74, 144, 226, 0.2);
    --border-accent: #4a90e2;
    
    /* 阴影效果 */
    --shadow-primary: 0 2px 20px rgba(74, 144, 226, 0.15);
    --shadow-secondary: 0 4px 15px rgba(74, 144, 226, 0.2);
    --shadow-accent: 0 8px 25px rgba(74, 144, 226, 0.3);
    --shadow-glow: 0 0 15px rgba(74, 144, 226, 0.5);
    
    /* 渐变背景 */
    --gradient-primary: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(91, 163, 245, 0.1) 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(74, 144, 226, 0.12) 0%, rgba(91, 163, 245, 0.08) 100%);
    --gradient-accent: linear-gradient(135deg, #4a90e2, #5ba3f5);
    --gradient-hover: linear-gradient(135deg, #5ba3f5, #87ceeb);
    
    /* 毛玻璃效果 */
    --backdrop-blur: blur(15px);
    --backdrop-blur-light: blur(10px);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 微信登录相关样式 */
.wechat-login-section {
    text-align: center;
    margin-bottom: 20px;
}

.wechat-login-header {
    margin-bottom: 20px;
}

.wechat-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #07c160;
}

.wechat-login-header h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
}

.wechat-login-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

.btn-wechat {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #07c160, #38d973);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.btn-wechat:hover {
    background: linear-gradient(135deg, #06ad56, #2bc965);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.btn-wechat:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(7, 193, 96, 0.3);
}

.btn-wechat-alt {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(7, 193, 96, 0.1), rgba(56, 217, 115, 0.1));
    color: #07c160;
    border: 2px solid rgba(7, 193, 96, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-wechat-alt:hover {
    background: linear-gradient(135deg, rgba(7, 193, 96, 0.2), rgba(56, 217, 115, 0.2));
    border-color: rgba(7, 193, 96, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.2);
}

.wechat-logo {
    font-size: 18px;
    color: inherit;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
    z-index: 1;
}

.login-divider span {
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: 0 15px;
    font-size: 12px;
    position: relative;
    z-index: 2;
}

.account-login-section {
    width: 100%;
}

.non-wechat-login-option {
    margin-top: 15px;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 20%, var(--bg-tertiary) 40%, var(--bg-quaternary) 60%, var(--bg-quinary) 80%, var(--bg-primary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 响应式容器 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #4a90e2;
    box-shadow: 0 2px 20px rgba(74, 144, 226, 0.15), 0 0 30px rgba(42, 53, 68, 0.2);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* 导航栏响应式设计 */
@media (max-width: 992px) {
    .navbar {
        padding: 8px 0;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 5px 0;
        background: rgba(10, 15, 26, 0.8);
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 5px 0;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* 汉堡菜单样式 - 道观风格优化版 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(135, 206, 235, 0.12));
    border: 2px solid rgba(74, 144, 226, 0.15);
    position: relative;
    z-index: 1001;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hamburger:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(135, 206, 235, 0.2));
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.hamburger:active {
    transform: translateY(0);
    box-shadow: 0 2px 15px rgba(74, 144, 226, 0.15);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-lighter));
    margin: 2.5px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(74, 144, 226, 0.3);
    position: relative;
    transform-origin: center;
}

.hamburger span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(135, 206, 235, 0.3), rgba(74, 144, 226, 0.3));
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger:hover span::before {
    opacity: 1;
}

/* 激活状态 - 优雅的X形变换 */
.hamburger.active {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(74, 144, 226, 0.15));
    border-color: rgba(135, 206, 235, 0.4);
    box-shadow: 0 8px 30px rgba(135, 206, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 0);
    background: linear-gradient(90deg, var(--primary-lighter), #87ceeb);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
    margin: 0;
    position: absolute;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.8);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0, 0);
    background: linear-gradient(90deg, var(--primary-lighter), #87ceeb);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
    margin: 0;
    position: absolute;
}

/* 桌面端隐藏移动端认证菜单项 */
@media (min-width: 769px) {
    .mobile-auth-item {
        display: none !important;
    }
}

/* 移动端导航菜单样式 */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(10, 15, 26, 0.98), rgba(26, 35, 50, 0.95));
        backdrop-filter: blur(25px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 15px 40px rgba(74, 144, 226, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        border-top: 3px solid var(--primary-color);
        padding: 15px 20px;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 6px 0;
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 18px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(135, 206, 235, 0.05));
        border: 1.5px solid rgba(74, 144, 226, 0.12);
        margin: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
        transition: left 0.6s ease;
    }
    
    .nav-menu a:hover::before {
        left: 100%;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.18), rgba(135, 206, 235, 0.15));
        border-color: rgba(135, 206, 235, 0.4);
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        color: var(--primary-lighter);
        text-shadow: 0 1px 3px rgba(74, 144, 226, 0.5);
    }
    
    .nav-menu a:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.25);
    }
    
    /* 移动端认证菜单项样式 */
    .mobile-auth-item {
        display: block;
        border-top: 1px solid rgba(74, 144, 226, 0.15);
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .mobile-auth-item:first-of-type {
        margin-top: 20px;
    }
    
    .mobile-auth-item .nav-link {
        background: linear-gradient(135deg, rgba(135, 206, 235, 0.12), rgba(74, 144, 226, 0.08));
        border: 2px solid rgba(135, 206, 235, 0.2);
        color: var(--primary-lighter);
        font-weight: 600;
        text-align: center;
        padding: 14px 20px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-auth-item .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .mobile-auth-item .nav-link:hover::after {
        left: 100%;
    }
    
    .mobile-auth-item .nav-link:hover {
        background: linear-gradient(135deg, rgba(135, 206, 235, 0.25), rgba(74, 144, 226, 0.18));
        border-color: rgba(135, 206, 235, 0.4);
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        text-shadow: 0 1px 4px rgba(74, 144, 226, 0.6);
    }
    
    /* 默认隐藏个人中心菜单项 */
    .mobile-auth-item.profile-item {
        display: none;
    }
    
    /* 确保JavaScript可以覆盖显示状态 */
    .mobile-auth-item.profile-item[style*="display: block"] {
        display: block !important;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .btn-auth {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
}

/* 标签页导航样式 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 0 12px rgba(74, 144, 226, 0.7);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-lighter);
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(135, 206, 235, 0.5);
}

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

/* 用户操作区域样式 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-auth {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    backdrop-filter: var(--backdrop-blur-light);
}

.btn-login {
    background: rgba(74, 144, 226, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.btn-login:hover {
    background: rgba(74, 144, 226, 0.2);
    color: var(--primary-lighter);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-secondary);
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.6);
}

.btn-register {
    background: var(--gradient-accent);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.btn-register:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 水墨云雾背景 */
.cloud-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: radial-gradient(
        ellipse at center, 
        rgba(74, 144, 226, 0.12) 0%, 
        rgba(91, 163, 245, 0.08) 30%,
        rgba(135, 206, 235, 0.05) 60%, 
        transparent 80%
    );
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 50px rgba(74, 144, 226, 0.1);
}

.cloud1 {
    width: 300px;
    height: 150px;
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.cloud2 {
    width: 400px;
    height: 200px;
    top: 60%;
    right: -150px;
    animation-delay: -7s;
}

.cloud3 {
    width: 250px;
    height: 125px;
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.4;
        box-shadow: 0 0 50px rgba(74, 144, 226, 0.1);
    }
    25% {
        transform: translateX(100px) translateY(-50px) rotate(5deg);
        opacity: 0.7;
        box-shadow: 0 0 80px rgba(74, 144, 226, 0.15);
    }
    50% {
        transform: translateX(200px) translateY(0) rotate(10deg);
        opacity: 0.5;
        box-shadow: 0 0 60px rgba(91, 163, 245, 0.12);
    }
    75% {
        transform: translateX(100px) translateY(50px) rotate(5deg);
        opacity: 0.8;
        box-shadow: 0 0 90px rgba(135, 206, 235, 0.1);
    }
}

/* 主要内容区域 */
.main-content {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* 首页英雄区域 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #2c5f7a;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* 移动端英雄区域响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 70px);
        padding: 20px 15px;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 20px;
        letter-spacing: 2px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
        line-height: 1.4;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@keyframes titleShine {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) contrast(1.1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2) contrast(1.3);
    }
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #e8f4f8;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    line-height: 1.5;
}

/* 英雄区域按钮样式 */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* 基础按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* 主要按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #5ba3f5 25%, #87ceeb 50%, #6bb6ff 75%, #4a90e2 100%);
    color: #0a0f1a;
    border: 2px solid #4a90e2;
    text-shadow: 0 1px 2px rgba(10, 15, 26, 0.3);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4), 0 0 20px rgba(74, 144, 226, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5ba3f5 0%, #87ceeb 25%, #b0e0e6 50%, #87ceeb 75%, #5ba3f5 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6), 0 0 30px rgba(91, 163, 245, 0.4);
    border-color: #5ba3f5;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* 次要按钮样式 */
.btn-secondary {
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.5) 0%, rgba(42, 53, 68, 0.5) 50%, rgba(10, 15, 26, 0.5) 100%);
    color: #e8f4f8;
    border: 2px solid #4a90e2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 25px rgba(10, 15, 26, 0.3), 0 0 15px rgba(74, 144, 226, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(91, 163, 245, 0.3) 50%, rgba(74, 144, 226, 0.2) 100%);
    color: #5ba3f5;
    border-color: #5ba3f5;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.3), 0 0 25px rgba(91, 163, 245, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* 快捷操作按钮 */
.quick-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.25));
    border: 2px solid #4a90e2;
    border-radius: 25px;
    color: #e8f4f8;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
}

.action-btn:hover {
    background: linear-gradient(45deg, rgba(135, 206, 235, 0.2), rgba(135, 206, 235, 0.4));
    color: #87ceeb;
    border-color: #87ceeb;
    box-shadow: 0 0 25px rgba(135, 206, 235, 0.6), 0 0 40px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.action-btn.highlight {
    background: linear-gradient(45deg, #4a90e2, #5ba3f5, #87ceeb);
    color: #0a0f1a;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.7), 0 0 40px rgba(74, 144, 226, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(91, 163, 245, 0.9), 0 0 60px rgba(135, 206, 235, 0.5);
    }
}

/* 区域标题 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #4a90e2;
    background: linear-gradient(45deg, #4a90e2, #5ba3f5, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a90e2, #5ba3f5, #4a90e2, transparent);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

/* 标签页内容容器 */
.tab-content {
    position: relative;
    min-height: 100vh;
}

/* 标签页面板 */
.tab-pane {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
    overflow: visible;
}

.tab-pane.active {
    display: block;
}

/* 观中有道页面样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.about-text,
.about-history,
.about-culture {
    background: rgba(10, 15, 26, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover,
.about-history:hover,
.about-culture:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-text h3,
.about-history h3,
.about-culture h3 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid #2a5a8a;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.about-culture {
    border: 1px solid rgba(42, 90, 138, 0.4) !important;
}

.about-culture h3 {
    color: #2a5a8a;
    border-bottom: 2px solid #2a5a8a;
    text-shadow: 0 0 10px rgba(42, 90, 138, 0.6);
}

/* 观中有道图片展示样式 */
.content-with-image {
    display: block;
}

.text-content {
    margin-bottom: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.about-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-image:hover {
    transform: scale(1.05);
    border-color: #4a90e2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .about-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

/* 神光所照页面样式 */
.blessing-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* 神光所照板块样式 */
.divine-section {
    background: rgba(10, 15, 26, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.divine-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3), 0 0 30px rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
}

.divine-section h3 {
    color: #4a90e2;
    margin-bottom: 25px;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
    text-align: center;
}

.divine-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 有图片网格的板块使用垂直布局 */
.divine-grid-section .divine-content {
    flex-direction: column;
    align-items: stretch;
}

/* 没有图片网格的板块（如王灵官）保持水平布局 */
.divine-section:not(.divine-grid-section) .divine-content {
    flex-direction: row;
}

.divine-image-container {
    flex: 0 0 300px;
}

/* 三清和三茅的图片网格布局 */
.divine-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.divine-image-item {
    text-align: center;
    background: rgba(10, 15, 26, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.divine-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
    border-color: #4a90e2;
}

.divine-image-item h5 {
    color: #4a90e2;
    font-size: 1.1rem;
    margin: 10px 0 8px 0;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

.divine-image-item p {
    color: #e8f4f8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.divine-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 144, 226, 0.3);
}

.divine-image:hover {
    border-color: #4a90e2;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.5), 0 0 20px rgba(74, 144, 226, 0.6);
    transform: scale(1.05);
}

/* 单独的神明图片样式（王灵官等） */
.divine-image-container .divine-image {
    height: 450px;
    object-fit: cover;
}

.divine-text {
    flex: 1;
    padding-left: 20px;
}

/* 有图片网格的板块中的描述文字不需要左边距 */
.divine-grid-section .divine-text {
    padding-left: 0;
    padding-top: 0;
}

.divine-text h4 {
    color: #4a90e2;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.7);
}

.divine-text p {
    color: #e8f4f8;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.divine-blessing {
    background: rgba(74, 144, 226, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
    margin-top: 20px;
}

.divine-blessing h5 {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

.divine-blessing ul {
    list-style: none;
    padding: 0;
}

.divine-blessing li {
    color: #e8f4f8;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.divine-blessing li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #4a90e2;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.8);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    /* 主要内容区域 */
    .main-content {
        margin-top: 70px;
    }
    
    /* 标签页面板 */
    .tab-pane {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 区域标题 */
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    /* 观中有道页面 */
    .about-content {
        gap: 25px;
        margin-top: 20px;
    }
    
    .about-text,
    .about-history,
    .about-culture {
        padding: 20px 15px;
    }
    
    .about-text h3,
    .about-history h3,
    .about-culture h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* 神光所照页面 */
    .blessing-content {
        gap: 25px;
        margin-top: 20px;
    }
    
    .divine-section {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .divine-section h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .divine-content {
        flex-direction: column !important;
        gap: 20px;
        width: 100%;
    }
    
    /* 强制王灵官部分垂直布局 */
    .divine-section:not(.divine-grid-section) .divine-content {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        gap: 0;
    }
    
    .divine-image-container {
        flex: none;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* 确保王灵官图片容器完全独占一行 */
    .divine-section:not(.divine-grid-section) .divine-image-container {
        display: block;
        width: 100%;
        margin-bottom: 25px;
    }
    
    .divine-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .divine-image-item {
        padding: 12px;
    }
    
    .divine-image {
        width: 100%;
        max-width: 280px;
        height: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .divine-image-container .divine-image {
        height: 350px;
        max-width: 250px;
    }
    
    /* 王灵官移动端特殊优化 */
    .divine-section:not(.divine-grid-section) .divine-image-container .divine-image {
        height: 400px;
        max-width: 300px;
        width: 100%;
    }
    
    .divine-text {
        padding-left: 0;
        margin-top: 20px;
        width: 100%;
        display: block;
    }
    
    /* 王灵官文字内容优化 */
    .divine-section:not(.divine-grid-section) .divine-text {
        text-align: left;
        margin-top: 30px;
        padding: 0 15px;
        width: 100%;
        display: block;
    }
    
    .divine-text h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .divine-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .divine-blessing {
        padding: 15px;
        margin-top: 15px;
    }
    
    .divine-blessing h5 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .divine-section {
        padding: 20px 12px;
    }
    
    .divine-section h3 {
        font-size: 1.3rem;
    }
    
    .divine-image {
        max-width: 240px;
        height: 280px;
    }
    
    .divine-image-container .divine-image {
        height: 320px;
        max-width: 220px;
    }
    
    /* 王灵官超小屏幕优化 */
    .divine-section:not(.divine-grid-section) .divine-image-container .divine-image {
        height: 350px;
        max-width: 280px;
        width: 100%;
    }
    
    .divine-text h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .divine-text p {
         font-size: 0.9rem;
         line-height: 1.7;
         margin-bottom: 12px;
     }
     
     /* 王灵官功德列表优化 */
     .divine-section:not(.divine-grid-section) .divine-blessing {
         margin-top: 20px;
         padding: 15px;
     }
     
     .divine-section:not(.divine-grid-section) .divine-blessing ul {
         padding-left: 20px;
     }
     
     .divine-section:not(.divine-grid-section) .divine-blessing li {
         margin-bottom: 8px;
         font-size: 0.9rem;
     }
 }
 
 /* 其他页面移动端响应式样式 */
 @media (max-width: 768px) {
     /* 道音玄语页面 */
     .audio-content {
         grid-template-columns: 1fr;
         gap: 25px;
         margin-top: 20px;
     }
     
     .audio-player,
     .scripture-reading {
         padding: 20px 15px;
     }
     
     .audio-player h3,
     .scripture-reading h3 {
         font-size: 1.3rem;
         margin-bottom: 15px;
     }
     
     .music-item {
         padding: 12px;
         flex-direction: column;
         gap: 10px;
         text-align: center;
     }
     
     .play-btn {
         width: 100%;
         max-width: 150px;
     }
     
     /* 道长道员页面 */
     .masters-content {
         gap: 25px;
         margin-top: 20px;
     }
     
     .master-section,
     .disciples-section,
     .organization-section {
         padding: 25px 15px;
     }
     
     .master-section h3,
     .disciples-section h3,
     .organization-section h3 {
         font-size: 1.5rem;
         margin-bottom: 20px;
         padding-bottom: 10px;
     }
     
     .master-profile {
         flex-direction: column;
         gap: 20px;
         text-align: center;
     }
     
     .master-image {
         flex: none;
     }
     
     .profile-image {
         max-width: 250px;
         height: 300px;
         margin: 0 auto;
     }
     
     .master-info h4 {
         font-size: 1.5rem;
         margin-bottom: 8px;
     }
     
     .master-title {
         font-size: 1.1rem;
         margin-bottom: 15px;
     }
     
     /* 供奉修行页面 */
     .offerings-content {
         gap: 25px;
         margin-top: 20px;
     }
     
     .ritual-items-section,
     .practice-items-section,
     .notice-section {
         padding: 25px 15px;
     }
     
     .ritual-items-section h3,
     .practice-items-section h3,
     .notice-section h3 {
         font-size: 1.5rem;
         margin-bottom: 20px;
         padding-bottom: 10px;
     }
     
     .items-grid {
         grid-template-columns: 1fr;
         gap: 20px;
     }
     
     .item-card {
         padding: 20px 15px;
     }
     
     .item-photo {
         height: 180px;
     }
     
     .item-info h4 {
         font-size: 1.2rem;
         margin-bottom: 8px;
     }
     
     .item-price {
         font-size: 1.1rem;
         margin-bottom: 12px;
     }
     
     /* 活动公告页面 */
     .news-content {
         gap: 25px;
         margin-top: 20px;
     }
     
     .latest-news-section,
     .upcoming-events-section,
     .construction-section,
     .charity-section,
     .contact-section {
         padding: 25px 15px;
     }
     
     .latest-news-section h3,
     .upcoming-events-section h3,
     .construction-section h3,
     .charity-section h3,
     .contact-section h3 {
         font-size: 1.5rem;
         margin-bottom: 20px;
         padding-bottom: 10px;
     }
     
     .news-list {
         gap: 20px;
     }
     
     .news-item {
         flex-direction: column;
         gap: 15px;
         padding: 20px 15px;
     }
     
     .news-image {
         flex: none;
         text-align: center;
     }
     
     .news-photo {
         max-width: 280px;
         height: 160px;
         margin: 0 auto;
     }
     
     .news-title {
         font-size: 1.2rem;
         margin-bottom: 8px;
     }
     
     .news-meta {
         font-size: 0.85rem;
         margin-bottom: 10px;
     }
     
     .news-excerpt {
         font-size: 0.9rem;
         line-height: 1.5;
     }
 }
 
 @media (max-width: 480px) {
     .audio-player,
     .scripture-reading,
     .master-section,
     .disciples-section,
     .organization-section,
     .ritual-items-section,
     .practice-items-section,
     .notice-section,
     .latest-news-section,
     .upcoming-events-section,
     .construction-section,
     .charity-section,
     .contact-section {
         padding: 20px 12px;
     }
     
     .profile-image {
         max-width: 220px;
         height: 280px;
     }
     
     .item-photo {
         height: 160px;
     }
     
     .news-photo {
         max-width: 260px;
         height: 140px;
     }
    
    .divine-image-item .divine-image {
        height: 250px;
        object-fit: cover;
    }
    
    .divine-text {
        padding-left: 0;
        padding-top: 20px;
    }
    
    .divine-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .divine-images-grid {
        grid-template-columns: 1fr;
    }
    
    .divine-image-item {
        padding: 10px;
    }
    
    .divine-image-item h5 {
        font-size: 1rem;
    }
    
    .divine-image-item p {
        font-size: 0.8rem;
    }
}

.gods-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.god-card {
    background: rgba(10, 15, 26, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.god-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.4), 0 0 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
    background: rgba(10, 15, 26, 0.4);
}

.god-card h3 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.7);
}

.blessing-services {
    background: rgba(10, 15, 26, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.blessing-services h3 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

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

.service-item {
    background: rgba(10, 15, 26, 0.2);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
    border-left-color: #5ba3f5;
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.5));
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
}

.service-item:hover .service-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(74, 144, 226, 0.7));
}

.service-content {
    flex: 1;
}

.service-content h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    font-size: 1.2rem;
}

.service-content p {
    color: #e8f4f8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 道音玄语页面样式 */
.audio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.audio-player,
.scripture-reading {
    background: rgba(10, 15, 26, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.audio-player h3,
.scripture-reading h3 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.music-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(10, 15, 26, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.music-item:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateX(5px);
}

.music-title {
    color: #e8f4f8;
    font-size: 1.1rem;
}

.play-btn {
    background: linear-gradient(45deg, #4a90e2, #5ba3f5);
    color: #0a0f1a;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
}

.play-btn:hover {
    background: linear-gradient(45deg, #87ceeb, #b0e0e6);
    color: #0a0f1a;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.8), 0 0 30px rgba(74, 144, 226, 0.3);
}

.scripture-text {
    line-height: 1.8;
}

.scripture-text h4 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.scripture-text p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 法务留言页面样式 */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-form,
.contact-info {
    background: rgba(10, 15, 26, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.contact-form h3,
.contact-info h3 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #4a90e2;
    margin-bottom: 8px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    background: rgba(10, 15, 26, 0.2);
    color: #e8f4f8;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5), 0 0 25px rgba(135, 206, 235, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.info-item {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(10, 15, 26, 0.15);
    border-radius: 8px;
    border-left: 3px solid #4a90e2;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.info-item strong {
    color: #4a90e2;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

/* 茅山第一炷香专题样式 */
.first-incense-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.6), rgba(26, 35, 50, 0.5));
    border: 2px solid #4a90e2;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.first-incense-section h3 {
    color: #5ba3f5;
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(91, 163, 245, 0.6);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

.first-incense-content {
    max-width: 1000px;
    margin: 0 auto;
}

.incense-header {
    text-align: center;
    margin-bottom: 40px;
}

.incense-header h4 {
    color: #87ceeb;
    font-size: 22px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
}

.incense-intro {
    font-size: 18px;
    color: #e8f4f8;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(232, 244, 248, 0.4);
}

.incense-origin,
.incense-benefits,
.incense-methods,
.testimonials,
.incense-contact {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(26, 35, 50, 0.4);
    border: 1px solid #4a90e2;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.incense-origin h4,
.incense-benefits h4,
.incense-methods h4,
.testimonials h4,
.incense-contact h4 {
    color: #5ba3f5;
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(91, 163, 245, 0.4);
    border-bottom: 1px solid #4a90e2;
    padding-bottom: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(42, 53, 68, 0.6), rgba(26, 35, 50, 0.8));
    border: 1px solid #4a90e2;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    border-color: #5ba3f5;
}

.benefit-item h5 {
    color: #87ceeb;
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.4);
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(42, 53, 68, 0.5), rgba(26, 35, 50, 0.7));
    border: 1px solid #4a90e2;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.method-item:hover {
    border-color: #5ba3f5;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.method-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.method-content h5 {
    color: #87ceeb;
    font-size: 16px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.4);
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(42, 53, 68, 0.5), rgba(26, 35, 50, 0.7));
    border: 1px solid #4a90e2;
    border-radius: 8px;
    border-left: 4px solid #5ba3f5;
    position: relative;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
    color: #e8f4f8;
    line-height: 1.6;
}

.testimonial-author {
    color: #87ceeb;
    font-weight: bold;
    text-align: right;
    display: block;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
}

.incense-motto {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(91, 163, 245, 0.1));
    border-radius: 8px;
    border: 1px solid #4a90e2;
}

.motto-text {
    color: #e8f4f8;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(232, 244, 248, 0.5);
}

.incense-action {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .first-incense-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .first-incense-section h3 {
        font-size: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .method-item {
        flex-direction: column;
        text-align: center;
    }
    
    .method-number {
        align-self: center;
    }
    
    .incense-action {
        flex-direction: column;
        align-items: center;
    }
    
    .incense-action .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 道藏经典样式 */
.scripture-classics {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.6), rgba(26, 35, 50, 0.5));
    border: 2px solid #4a90e2;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.scripture-classics h3 {
    color: #5ba3f5;
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(91, 163, 245, 0.6);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

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

.classic-item {
    background: linear-gradient(135deg, rgba(42, 53, 68, 0.6), rgba(26, 35, 50, 0.8));
    border: 1px solid #4a90e2;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.classic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
    border-color: #5ba3f5;
}

.classic-info h4 {
    color: #87ceeb;
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(135, 206, 235, 0.5);
}

.classic-info p {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.classic-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.classic-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* 道音欣赏样式 */
.audio-appreciation {
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.6), rgba(26, 35, 50, 0.5));
    border: 2px solid #4a90e2;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.audio-appreciation h3 {
    color: #5ba3f5;
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(91, 163, 245, 0.6);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

.audio-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.audio-category {
    background: linear-gradient(135deg, rgba(42, 53, 68, 0.5), rgba(26, 35, 50, 0.7));
    border: 1px solid #4a90e2;
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(5px);
}

.audio-category h4 {
    color: #87ceeb;
    font-size: 22px;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(135, 206, 235, 0.5);
    border-bottom: 1px solid #4a90e2;
    padding-bottom: 10px;
}

.music-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: rgba(10, 15, 26, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.music-item:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateX(8px);
    border-color: #4a90e2;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.music-title {
    color: #e8f4f8;
    font-size: 1.1rem;
    font-weight: 500;
}

.music-duration {
    color: #87ceeb;
    font-size: 0.9rem;
    opacity: 0.8;
}

.music-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.download-btn {
    background: linear-gradient(45deg, #5ba3f5, #87ceeb);
    color: #0a0f1a;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(91, 163, 245, 0.4);
}

.download-btn:hover {
    background: linear-gradient(45deg, #87ceeb, #b0e0e6);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.8), 0 0 30px rgba(91, 163, 245, 0.3);
}



/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .user-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 4.2rem;
        letter-spacing: 3px;
        color: #2c5f7a;
        text-shadow: 
            1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    .hero-subtitle {
        font-size: 1.9rem;
        letter-spacing: 1.5px;
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 200px;
    }
    
    .classics-grid {
        grid-template-columns: 1fr;
    }
    
    .classic-actions {
        flex-direction: column;
    }
    
    .music-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .music-controls {
        justify-content: center;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-options .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 2.5px;
        margin-bottom: 25px;
        color: #2c5f7a;
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero-subtitle {
        font-size: 1.7rem;
        letter-spacing: 1px;
        margin-bottom: 40px;
        text-shadow: 
            1px 1px 1px rgba(0, 0, 0, 0.7);
    }
    
    .scripture-classics,
    .audio-appreciation {
        padding: 20px;
    }
    
    .scripture-classics h3,
    .audio-appreciation h3 {
        font-size: 24px;
    }
    
    .classic-item,
    .audio-category {
        padding: 20px;
    }
}

/* 道长道员页面样式 */
.masters-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.master-section,
.disciples-section,
.organization-section {
    background: rgba(10, 15, 26, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.master-section:hover,
.disciples-section:hover,
.organization-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.master-section h3,
.disciples-section h3,
.organization-section h3 {
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

.master-profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.master-image {
    flex: 0 0 250px;
}

.profile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(74, 144, 226, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.profile-image:hover {
    border-color: #4a90e2;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
    transform: scale(1.02);
}

.master-info {
    flex: 1;
}

.master-info h4 {
    color: #4a90e2;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.7);
}

.master-title {
    color: #e8f4f8;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-style: italic;
}

.master-description p {
    color: #e8f4f8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.master-specialties {
    background: rgba(74, 144, 226, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
    margin-top: 20px;
}

.master-specialties h5 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.master-specialties ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.master-specialties li {
    color: #e8f4f8;
    padding: 8px 15px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.master-specialties li:hover {
    background: rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
    transform: translateY(-2px);
}

.disciples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.disciple-card {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.disciple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.disciple-image {
    margin-bottom: 20px;
}

.disciple-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(74, 144, 226, 0.5);
    transition: all 0.3s ease;
}

.disciple-photo:hover {
    border-color: #4a90e2;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
}

.disciple-info h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.disciple-role {
    color: #e8f4f8;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.disciple-desc {
    color: #e8f4f8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.org-chart {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.org-level {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.org-position {
    background: rgba(74, 144, 226, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
}

.org-position:hover {
    border-color: #4a90e2;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    transform: translateY(-3px);
}

.org-position h4 {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.org-position p {
    color: #e8f4f8;
    font-size: 0.9rem;
}

/* 供奉修行页面样式 */
.offerings-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.ritual-items-section,
.practice-items-section,
.notice-section {
    background: rgba(10, 15, 26, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.ritual-items-section:hover,
.practice-items-section:hover,
.notice-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.ritual-items-section h3,
.practice-items-section h3,
.notice-section h3 {
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

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

.item-card {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.item-image {
    margin-bottom: 20px;
}

.item-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.item-photo:hover {
    border-color: #4a90e2;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.4);
}

.item-info h4 {
    color: #4a90e2;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.item-price {
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.item-desc {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.item-benefits,
.item-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.item-benefits span,
.item-features span {
    background: rgba(74, 144, 226, 0.15);
    color: #e8f4f8;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.notice-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.notice-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.notice-item h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.notice-item p {
    color: #e8f4f8;
    line-height: 1.6;
}

/* 道教知识页面样式 */
.knowledge-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.basic-knowledge-section,
.maoshan-section,
.festivals-section,
.practice-guide-section {
    background: rgba(10, 15, 26, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.basic-knowledge-section:hover,
.maoshan-section:hover,
.festivals-section:hover,
.practice-guide-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.basic-knowledge-section h3,
.maoshan-section h3,
.festivals-section h3,
.practice-guide-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

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

.knowledge-card {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.knowledge-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.knowledge-text p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge-text ul {
    color: var(--text-primary);
    padding-left: 20px;
}

.knowledge-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.maoshan-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.maoshan-history,
.maoshan-features {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.maoshan-history h4,
.maoshan-features h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.maoshan-history p,
.maoshan-features p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 15px;
}

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

.feature-item {
    background: rgba(74, 144, 226, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-secondary);
}

.feature-item h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.festival-card {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    text-align: center;
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.festival-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.festival-info p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.guide-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.guide-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.guide-item ol {
    color: var(--text-primary);
    padding-left: 20px;
}

.guide-item li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 道观动态页面样式 */
.news-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.latest-news-section,
.upcoming-events-section,
.construction-section,
.charity-section,
.contact-section {
    background: rgba(10, 15, 26, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.latest-news-section:hover,
.upcoming-events-section:hover,
.construction-section:hover,
.charity-section:hover,
.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.latest-news-section h3,
.upcoming-events-section h3,
.construction-section h3,
.charity-section h3,
.contact-section h3 {
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 15px;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 25px;
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.news-item.featured {
    border: 2px solid #4a90e2;
    background: rgba(74, 144, 226, 0.15);
}

.news-image {
    flex: 0 0 200px;
}

.news-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.news-photo:hover {
    border-color: #4a90e2;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.4);
}

.news-content-text {
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.news-date {
    color: #e8f4f8;
    font-size: 0.9rem;
}

.news-category {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.news-title {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-excerpt {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #5ba3f5;
    text-shadow: 0 0 10px rgba(91, 163, 245, 0.6);
}

.events-calendar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 25px;
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.event-date {
    flex: 0 0 80px;
    text-align: center;
    background: rgba(74, 144, 226, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.event-date .month {
    display: block;
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: bold;
}

.event-date .day {
    display: block;
    color: #4a90e2;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.event-info p {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 5px;
}

.construction-updates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.update-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.update-item h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.progress-bar {
    background: rgba(10, 15, 26, 0.5);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #5ba3f5);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.update-item p {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 8px;
}

.charity-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.charity-item {
    display: flex;
    gap: 20px;
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.charity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.charity-image {
    flex: 0 0 120px;
}

.charity-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.charity-content {
    flex: 1;
}

.charity-content h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.charity-content p {
    color: #e8f4f8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.charity-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.charity-stats span {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

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

.contact-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
}

.contact-item h4 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-item p {
    color: #e8f4f8;
    line-height: 1.6;
}

/* 响应式设计 - 新增页面 */
@media (max-width: 768px) {
    .master-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .master-image {
        flex: none;
        align-self: center;
    }
    
    .disciples-grid,
    .items-grid,
    .knowledge-grid,
    .festivals-grid,
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .news-item,
    .event-item,
    .charity-item {
        flex-direction: column;
    }
    
    .news-image,
    .charity-image {
        flex: none;
        align-self: center;
    }
    
    .event-date {
        flex: none;
        align-self: center;
        width: 100px;
    }
}

@media (max-width: 480px) {
    .masters-content,
    .offerings-content,
    .knowledge-content,
    .news-content {
        gap: 20px;
    }
    
    .master-section,
    .disciples-section,
    .organization-section,
    .ritual-items-section,
    .practice-items-section,
    .notice-section,
    .basic-knowledge-section,
    .maoshan-section,
    .festivals-section,
    .practice-guide-section,
    .latest-news-section,
    .upcoming-events-section,
    .construction-section,
    .charity-section,
    .contact-section {
        padding: 20px;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-position {
        min-width: 200px;
    }
}

/* 网站底部样式 */
.website-footer {
    position: relative;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(74, 144, 226, 0.3);
    padding: 20px 0;
    margin-top: 50px;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: #e8f4f8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-link:hover {
    color: #4a90e2;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

.footer-separator {
    color: rgba(107, 182, 255, 0.5);
    font-size: 14px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: rgba(107, 182, 255, 0.7);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.95), rgba(26, 35, 50, 0.95));
    margin: 5% auto;
    padding: 0;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.modal-header h3 {
    color: #4a90e2;
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.modal-close {
    color: #e8f4f8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #4a90e2;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 12px;
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    color: #e8f4f8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(107, 182, 255, 0.6);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-btn:hover {
    background: linear-gradient(135deg, #5ba3f5, #6bb6ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* 关于我们弹窗特殊样式 */
.about-modal-content {
    color: #e8f4f8;
    line-height: 1.8;
}

.about-description {
    font-size: 1.1rem;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.contact-details {
    display: grid;
    gap: 12px;
}

.contact-item {
    padding: 12px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    font-size: 0.95rem;
}

.contact-item strong {
    color: #4a90e2;
    margin-right: 8px;
}

/* 法律顾问弹窗特殊样式 */
.legal-advisor-modal .modal-content {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.legal-advisor-content {
    color: #e8f4f8;
    line-height: 1.8;
}

.advisor-info h4 {
    font-size: 1.3rem;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
    padding-bottom: 10px;
}

.advisor-details {
    display: grid;
    gap: 12px;
}

.advisor-details p {
    padding: 12px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    font-size: 0.95rem;
    margin: 0;
}

.advisor-details strong {
    color: #4a90e2;
    margin-right: 8px;
    display: inline-block;
    min-width: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .modal-content {
        margin: 15% auto;
    }
}

/* 新闻详情模态框样式 */
.news-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2% auto;
}

.news-detail-header {
    margin-bottom: 20px;
}

.news-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.news-date, .news-category {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.news-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.news-category {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.news-detail-text {
    line-height: 1.8;
    color: #e8f4f8;
}

.news-detail-text h4 {
    color: #4a90e2;
    margin: 25px 0 15px 0;
    font-size: 18px;
    border-left: 4px solid #4a90e2;
    padding-left: 12px;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.news-detail-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.news-detail-text li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-info {
    background: linear-gradient(135deg, #4a90e2 0%, #5ba3f5 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* 评论区样式 */
.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(74, 144, 226, 0.3);
}

.comments-section h3 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.comments-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.comment-item {
    background: rgba(26, 35, 50, 0.6);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #4a90e2;
    backdrop-filter: blur(10px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #4a90e2;
    text-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.comment-time {
    font-size: 12px;
    color: rgba(107, 182, 255, 0.7);
}

.comment-content {
    color: #e8f4f8;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: rgba(107, 182, 255, 0.6);
    font-style: italic;
    padding: 30px;
}

.comment-form {
    background: rgba(26, 35, 50, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.comment-form .form-group {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    color: #4a90e2;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 5px;
    color: #e8f4f8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: rgba(107, 182, 255, 0.5);
}

.comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* 活动报名区样式 */
.registration-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(74, 144, 226, 0.3);
}

.registration-section h3 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.registration-form {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(91, 163, 245, 0.2) 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(15px);
}

.registration-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.registration-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.registration-form label {
    display: block;
    margin-bottom: 5px;
    color: #4a90e2;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 5px;
    color: #e8f4f8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
    color: rgba(107, 182, 255, 0.5);
}

.registration-form textarea {
    resize: vertical;
    min-height: 60px;
}

.registration-form .submit-btn {
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.registration-form .submit-btn:hover {
    background: linear-gradient(135deg, #5ba3f5, #6bb6ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* 请奉须知优化样式 */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.guide-card {
    background: var(--gradient-primary);
    border: 1px solid var(--border-primary);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: var(--backdrop-blur);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 15px 15px 0 0;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.guide-icon {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.5));
}

.guide-card h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: var(--shadow-glow);
    font-weight: 600;
}

/* 请奉流程步骤样式 */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(26, 35, 50, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(5px);
}

.step-number {
    background: var(--gradient-accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: var(--shadow-secondary);
    flex-shrink: 0;
}

.step-text {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

/* 开光加持描述样式 */
.guide-description p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.guide-description .highlight {
    color: var(--text-accent);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.6);
}

/* 使用方法列表样式 */
.usage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: rgba(26, 35, 50, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.usage-item:hover {
    background: rgba(74, 144, 226, 0.1);
}

.item-name {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-primary);
}

.item-usage {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* 注意事项列表样式 */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    transition: all 0.3s ease;
}

.notice-item:hover {
    background: rgba(74, 144, 226, 0.05);
    border-radius: 6px;
}

.notice-dot {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    margin-top: 2px;
    text-shadow: var(--shadow-glow);
}

.notice-text {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* 请奉咨询优化样式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--gradient-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: var(--backdrop-blur-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 12px 12px 0 0;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
    border-color: var(--border-accent);
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.4));
}

.contact-content h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
    font-weight: 600;
}

.contact-detail {
    margin-bottom: 15px;
}

.contact-detail p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    text-align: center;
}

.phone-number {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-accent) !important;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.5) !important;
}

.contact-time {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

.contact-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(91, 163, 245, 0.2));
    color: var(--text-accent);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    text-shadow: 0 0 5px rgba(135, 206, 235, 0.3);
}

/* 温馨提示样式 */
.contact-tips {
    background: var(--gradient-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: var(--backdrop-blur-light);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.tips-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.4));
}

.tips-header h4 {
    color: var(--primary-color);
    font-size: 16px;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
    margin: 0;
}

.tips-content p {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 10px;
}

.tips-content p:last-child {
    margin-bottom: 0;
}

/* 全面响应式设计 */

/* 超大屏幕 (1400px 及以上) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    body {
        font-size: 18px;
    }
}

/* 大屏幕 (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    body {
        font-size: 15px;
    }
}

/* 平板屏幕 (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    body {
        font-size: 14px;
    }
    
    /* 调整网格布局 */
    .classics-grid,
    .benefits-grid,
    .gods-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 小屏幕平板和大手机 (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    
    body {
        font-size: 14px;
    }
    
    /* 单列布局 */
    .classics-grid,
    .benefits-grid,
    .gods-gallery,
    .guide-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 小手机屏幕 (575px 及以下) */
@media (max-width: 575px) {
    .container {
        padding: 0 8px;
    }
    
    body {
        font-size: 13px;
    }
    
    /* 进一步优化小屏幕 */
    .divine-section,
    .scripture-classics,
    .first-incense-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
}

/* 新闻详情模态框响应式设计 */
@media (max-width: 768px) {
    .news-modal .modal-content {
        margin: 5% 10px;
        max-height: 95vh;
    }
    
    .registration-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-detail-text h4 {
        font-size: 16px;
    }
    
    /* 请奉须知和咨询响应式 */
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .guide-card,
    .contact-card {
        padding: 20px 15px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .usage-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-features {
        justify-content: center;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .news-modal .modal-content {
        margin: 2% 5px;
        max-height: 98vh;
    }
    
    .guide-card,
    .contact-card {
        padding: 15px 10px;
    }
    
    .feature-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .phone-number {
        font-size: 14px !important;
    }
    
    .contact-time {
        font-size: 11px !important;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 3px 0;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .divine-section,
    .scripture-classics {
        padding: 20px;
        margin-bottom: 15px;
    }
}

/* 通用响应式元素优化 */

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮响应式 */
.btn {
    min-height: 44px; /* 触摸友好的最小高度 */
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .btn {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* 表单响应式 */
input, textarea, select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    background: rgba(26, 35, 50, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 14px;
    }
}

/* 视频响应式 */
video {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* 网格布局响应式 */
.grid-responsive {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .grid-responsive {
        gap: 10px;
    }
}

/* 弹性布局响应式 */
.flex-responsive {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .flex-responsive {
        flex-direction: column;
        gap: 15px;
    }
}

/* 文本响应式 */
.text-responsive {
    font-size: clamp(14px, 2.5vw, 18px);
    line-height: 1.6;
}

.title-responsive {
    font-size: clamp(24px, 5vw, 48px);
    line-height: 1.2;
}

.subtitle-responsive {
    font-size: clamp(18px, 3.5vw, 32px);
    line-height: 1.3;
}

/* 间距响应式 */
.spacing-responsive {
    padding: clamp(15px, 4vw, 40px);
    margin: clamp(10px, 3vw, 30px) 0;
}

/* 卡片响应式 */
.card-responsive {
    padding: clamp(15px, 4vw, 30px);
    margin-bottom: clamp(15px, 3vw, 25px);
    border-radius: clamp(8px, 2vw, 15px);
}

/* 隐藏/显示元素 */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .show-mobile {
        display: block;
    }
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    /* 增加触摸目标大小 */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
    }
    
    .btn-auth {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* 移动端特定的交互优化 */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .nav-link:active {
        background: rgba(74, 144, 226, 0.3);
        transition: background 0.1s ease;
    }
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* 防止移动端缩放 */
    .nav-menu.active {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端字体优化 */
    body {
        font-size: 16px;
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* 移动端输入框优化 */
    input, textarea, select {
        font-size: 16px;
        border-radius: 8px;
        padding: 12px;
    }
    
    /* 移动端按钮优化 */
    .btn {
        min-height: 44px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    /* 移动端视频优化 */
    video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
        /* 确保视频在移动端正确显示 */
        max-width: 100%;
        height: auto;
    }
    
    /* 移动端按钮点击效果 */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .nav-link:active {
        background: rgba(74, 144, 226, 0.3);
        transition: background 0.1s ease;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --bg-primary: #000000;
        --border-primary: #ffffff;
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 认证模态框样式 */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.auth-modal .modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.98), rgba(26, 35, 50, 0.98));
    margin: 3% auto;
    padding: 0;
    border: 2px solid rgba(74, 144, 226, 0.4);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(74, 144, 226, 0.4);
    backdrop-filter: blur(20px);
    animation: authModalFadeIn 0.4s ease-out;
}

@keyframes authModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal .modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(74, 144, 226, 0.25);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(91, 163, 245, 0.05));
    border-radius: 20px 20px 0 0;
}

.auth-modal .modal-header h3 {
    color: #4a90e2;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

.auth-modal .modal-body {
    padding: 30px;
}

.auth-modal .form-group {
    margin-bottom: 20px;
}

.auth-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-accent);
    font-weight: 500;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.3);
}

.auth-modal .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(26, 35, 50, 0.6);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-modal .form-group input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(26, 35, 50, 0.8);
}

.auth-modal .form-group input::placeholder {
    color: rgba(107, 182, 255, 0.5);
    font-size: 14px;
}

.auth-modal .form-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-modal .btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.auth-modal .btn-primary:hover {
    background: linear-gradient(135deg, #5ba3f5, #6bb6ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.auth-modal .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.4);
}

.auth-modal .btn-link {
    background: none;
    border: none;
    color: var(--text-accent);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    padding: 8px;
    text-align: center;
}

.auth-modal .btn-link:hover {
    color: #4a90e2;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

/* 认证模态框响应式设计 */
@media (max-width: 768px) {
    .auth-modal .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .auth-modal .modal-header {
        padding: 20px 25px 15px;
    }
    
    .auth-modal .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .auth-modal .modal-body {
        padding: 25px;
    }
    
    .auth-modal .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .auth-modal .btn-primary {
        padding: 13px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .auth-modal .modal-content {
        width: 98%;
        margin: 8% auto;
    }
    
    .auth-modal .modal-header {
        padding: 18px 20px 12px;
    }
    
    .auth-modal .modal-body {
        padding: 20px;
    }
}

/* 个人中心模态框样式 - 优化版道观风格 */
.profile-modal {
    z-index: 10002;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.profile-modal-content {
    background: linear-gradient(135deg, 
        rgba(15, 15, 25, 0.98) 0%, 
        rgba(25, 25, 40, 0.95) 50%, 
        rgba(15, 15, 25, 0.98) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 24px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(255, 215, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 420px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    margin: 1vh auto;
    animation: profileModalFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes profileModalFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 关闭按钮 */
.profile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-close:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: rotate(90deg);
}

/* 个人中心容器 */
.profile-container {
    padding: 24px;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* 隐藏滚动条但保持滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隐藏 Webkit 浏览器的滚动条 */
.profile-container::-webkit-scrollbar {
    display: none;
}

/* 用户头像和基本信息卡片 */
.profile-header-card {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.08) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.profile-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.4), 
        transparent);
}

.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.9) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 215, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.avatar-icon {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a2e;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 0.2) 0%, 
        rgba(255, 215, 0, 0.05) 50%, 
        transparent 100%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
} 
.user-basic-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.username {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    line-height: 1.2;
}

.user-title {
    font-size: 14px;
    color: rgba(255, 215, 0, 0.8);
    margin: 0;
    font-weight: 500;
}

/* 功德值展示卡片 */
.merit-display-card {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.merit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.merit-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.merit-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.merit-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.merit-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 215, 0, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.merit-number {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    line-height: 1;
}

.merit-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.merit-progress {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 215, 0, 0.8) 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.progress-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

/* 个人信息卡片网格 */
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.info-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 18px;
    opacity: 0.8;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 联系方式卡片样式 */
.contact-info-card {
    min-height: 80px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.contact-type {
    font-size: 14px;
    opacity: 0.8;
    min-width: 20px;
}

.contact-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    word-wrap: break-word;
    word-break: break-all;
    flex: 1;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

/* 快捷操作按钮网格 */
.action-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.08), 
        transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12);
}

.btn-icon {
    font-size: 20px;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
}

.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.btn-arrow {
    font-size: 16px;
    color: rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}

.action-btn:hover .btn-arrow {
    color: rgba(255, 215, 0, 0.9);
    transform: translateX(4px);
}

/* 退出登录区域 */
.logout-section {
    margin-top: 8px;
}

.logout-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.15) 0%, 
        rgba(139, 0, 0, 0.15) 100%);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 12px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.logout-btn:hover {
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.25) 0%, 
        rgba(139, 0, 0, 0.25) 100%);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.15);
    transform: translateY(-1px);
}

.logout-icon {
    font-size: 16px;
    opacity: 0.9;
}

.logout-text {
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-modal {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .profile-content {
        padding: 20px;
    }
    
    .profile-header {
        padding: 20px 20px 0;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .profile-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
    
    .user-name {
        font-size: 20px;
    }
    
    .username {
        font-size: 20px;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
        line-height: 1.3;
    }
    
    .user-title {
        font-size: 12px;
    }
    
    .merit-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .merit-circle {
        width: 60px;
        height: 60px;
    }
    
    .merit-number {
        font-size: 16px;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-card {
        padding: 14px;
    }
    
    .action-btn {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .btn-title {
        font-size: 14px;
    }
    
    .btn-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .profile-modal {
        margin: 5px;
        max-width: calc(100vw - 10px);
        border-radius: 16px;
    }
    
    .profile-content {
        padding: 16px;
    }
    
    .profile-header {
        padding: 16px 16px 0;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
    }
    
    .user-name {
        font-size: 18px;
    }
    
    .username {
        font-size: 18px;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
        line-height: 1.3;
    }
    
    .merit-display-card {
        padding: 16px;
    }
    
    .merit-circle {
        width: 50px;
        height: 50px;
    }
    
    .merit-number {
        font-size: 14px;
    }
    
    .info-card {
        padding: 12px;
        gap: 10px;
    }
    
    .info-icon {
        font-size: 16px;
    }
    
    .info-value {
        font-size: 12px;
    }
    
    .action-btn {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .btn-icon {
        font-size: 18px;
    }
    
    .btn-title {
        font-size: 13px;
    }
    
    .btn-subtitle {
        font-size: 10px;
    }
    
    .logout-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #4a90e2 25%, 
        #5ba3f5 50%, 
        #87ceeb 75%, 
        transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 25px 25px 0 0;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(74, 144, 226, 0.3), 
        rgba(91, 163, 245, 0.2), 
        rgba(135, 206, 235, 0.3), 
        rgba(74, 144, 226, 0.3));
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: cardBorderGlow 3s ease-in-out infinite;
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(74, 144, 226, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(135, 206, 235, 0.5);
    background: linear-gradient(145deg, 
        rgba(74, 144, 226, 0.18) 0%, 
        rgba(91, 163, 245, 0.12) 50%, 
        rgba(135, 206, 235, 0.08) 100%);
}

.profile-card:hover::before {
    opacity: 1;
    animation: topLineFlow 2s ease-in-out infinite;
}

.profile-card:hover::after {
    opacity: 1;
}

@keyframes cardBorderGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

@keyframes topLineFlow {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.card-header {
    padding: 15px 20px 12px;
    border-bottom: 1px solid rgba(74, 144, 226, 0.15);
    position: relative;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.05) 0%, 
        rgba(135, 206, 235, 0.03) 100%);
}

.card-header::before {
    content: '⚊⚊';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 12px;
    color: rgba(74, 144, 226, 0.3);
    letter-spacing: 2px;
    animation: taoistSymbolGlow 3s ease-in-out infinite;
}

@keyframes taoistSymbolGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.card-header h4 {
    color: var(--text-accent);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.info-icon, .merit-icon, .action-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.card-content {
    padding: 18px 20px 20px;
    position: relative;
    z-index: 2;
}

/* 用户信息卡片样式 */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.info-item::before {
    content: '◦';
    position: absolute;
    left: -20px;
    color: rgba(74, 144, 226, 0.4);
    font-size: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.08) 0%, 
        rgba(135, 206, 235, 0.05) 100%);
    margin: 0 -20px;
    padding: 18px 20px;
    border-radius: 15px;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.info-item:hover::before {
    opacity: 1;
    left: -15px;
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.info-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4a90e2, #87ceeb);
    transition: width 0.3s ease;
}

.info-item:hover .info-label::after {
    width: 100%;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

/* 功德值卡片样式 */
.merit-display {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 5px;
}

.merit-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.25) 0%, 
        rgba(91, 163, 245, 0.15) 50%, 
        rgba(135, 206, 235, 0.1) 100%);
    border: 4px solid transparent;
    background-clip: padding-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 40px rgba(74, 144, 226, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
    animation: meritPulse 4s ease-in-out infinite;
    overflow: hidden;
}

.merit-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        #4a90e2 0%, 
        #5ba3f5 25%, 
        #87ceeb 50%, 
        #5ba3f5 75%, 
        #4a90e2 100%);
    background-size: 400% 400%;
    animation: meritBorderFlow 3s ease-in-out infinite;
    z-index: -1;
}

.merit-circle::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(74, 144, 226, 0.3) 0%, 
        rgba(91, 163, 245, 0.2) 30%, 
        transparent 70%);
    animation: meritInnerGlow 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes meritPulse {
    0%, 100% { 
        box-shadow: 
            0 15px 40px rgba(74, 144, 226, 0.3),
            0 8px 20px rgba(0, 0, 0, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 20px 60px rgba(74, 144, 226, 0.5),
            0 12px 30px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
}

@keyframes meritBorderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes meritInnerGlow {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 0.7; transform: scale(1.1); }
}

.merit-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #87ceeb, #5ba3f5, #4a90e2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 20px rgba(135, 206, 235, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    animation: numberGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.merit-number::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #4a90e2, #5ba3f5, #87ceeb);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberShimmer 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes numberGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes numberShimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.merit-label {
    font-size: 0.9rem;
    color: var(--text-accent);
    margin-top: 8px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
    letter-spacing: 1px;
}

.merit-progress {
    flex: 1;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, 
        rgba(74, 144, 226, 0.1), 
        rgba(91, 163, 245, 0.15), 
        rgba(74, 144, 226, 0.1));
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(74, 144, 226, 0.1) 50%, 
        transparent 70%);
    animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #4a90e2 0%, 
        #5ba3f5 50%, 
        #87ceeb 100%);
    background-size: 200% 100%;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 0 15px rgba(74, 144, 226, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    animation: progressGlow 2s ease-in-out infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressHighlight 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes progressHighlight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 1rem;
    color: var(--text-accent);
    text-align: center;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.4);
    margin-top: 5px;
}

/* 快捷操作卡片样式 */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px 0;
    position: relative;
}

.action-buttons::before {
    content: '⚌ ⚍ ⚎';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(74, 144, 226, 0.4);
    letter-spacing: 8px;
    animation: taoistSymbolFlow 4s ease-in-out infinite;
}

@keyframes taoistSymbolFlow {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 25px;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.08), 
        rgba(91, 163, 245, 0.12), 
        rgba(135, 206, 235, 0.06));
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: left;
    color: inherit;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 6px 25px rgba(74, 144, 226, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    min-height: 65px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.15), 
        rgba(91, 163, 245, 0.1), 
        rgba(135, 206, 235, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.action-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #4a90e2, #5ba3f5, #87ceeb, #4a90e2);
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: -1;
    animation: actionBorderGlow 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes actionBorderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.action-btn:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(74, 144, 226, 0.2),
        0 0 25px rgba(135, 206, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover::after {
    opacity: 1;
}

.action-btn:active {
    transform: translateX(4px) translateY(0px) scale(0.98);
}

.btn-icon {
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.2), 
        rgba(91, 163, 245, 0.15), 
        rgba(135, 206, 235, 0.2));
    border-radius: 14px;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 15px rgba(74, 144, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #4a90e2;
    transition: all 0.3s ease;
}

.btn-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(74, 144, 226, 0.4), 
        rgba(135, 206, 235, 0.3));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 6px 20px rgba(74, 144, 226, 0.4),
        0 0 15px rgba(135, 206, 235, 0.5);
}

.action-btn:hover .btn-icon::before {
    opacity: 1;
}

.btn-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-primary), var(--text-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
}

.action-btn:hover .btn-title {
    text-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
}

.action-btn:hover .btn-subtitle {
    opacity: 1;
    text-shadow: 0 0 8px rgba(135, 206, 235, 0.3);
}

/* 底部操作样式 */
.profile-footer {
    padding: 25px 25px 20px;
    border-top: 2px solid transparent;
    background: linear-gradient(90deg, 
        rgba(74, 144, 226, 0.1), 
        rgba(91, 163, 245, 0.15), 
        rgba(74, 144, 226, 0.1)) border-box;
    border-image: linear-gradient(90deg, 
        rgba(74, 144, 226, 0.2), 
        rgba(135, 206, 235, 0.3), 
        rgba(74, 144, 226, 0.2)) 1;
    text-align: center;
    position: relative;
    margin-top: 15px;
}

.profile-footer::after {
    content: '⚊ ⚋ ⚊';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(74, 144, 226, 0.4);
    letter-spacing: 6px;
    animation: footerSymbolGlow 3s ease-in-out infinite;
}

@keyframes footerSymbolGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.profile-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(135, 206, 235, 0.5), 
        transparent);
    animation: footerBorderFlow 3s ease-in-out infinite;
}

@keyframes footerBorderFlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.85), 
        rgba(255, 99, 71, 0.8), 
        rgba(220, 53, 69, 0.85));
    background-size: 200% 200%;
    border: 2px solid transparent;
    border-radius: 30px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(220, 53, 69, 0.5);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(220, 53, 69, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 99, 71, 0.3), 
        rgba(220, 53, 69, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logout-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #dc3545, #ff6347, #dc3545, #ff6347);
    background-size: 300% 300%;
    border-radius: 32px;
    z-index: -1;
    animation: logoutBorderGlow 2.5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes logoutBorderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logout-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(220, 53, 69, 0.4),
        0 0 25px rgba(255, 99, 71, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(220, 53, 69, 0.8);
}

.logout-btn:hover::before {
    opacity: 1;
}

.logout-btn:hover::after {
    opacity: 1;
}

.logout-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.logout-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.logout-btn:hover .logout-icon {
    transform: rotate(-10deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* 移动端适配 */
@media (max-width: 768px) {
    .profile-modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 90vh;
        border-radius: 20px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .profile-header {
        padding: 20px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .profile-title-section {
        gap: 15px;
    }
    
    .profile-avatar {
        width: 50px;
        height: 50px;
    }
    
    .avatar-circle {
        width: 50px;
        height: 50px;
    }
    
    .avatar-icon {
        font-size: 20px;
    }
    
    .profile-header h3 {
        font-size: 1.5rem;
    }
    
    .profile-close {
        font-size: 28px;
    }
    
    .profile-body {
        padding: 20px 15px 25px;
        gap: 18px;
        min-height: auto;
        flex: 1;
    }
    
    .card-header {
        padding: 15px 20px 12px;
    }

    .card-header h4 {
        font-size: 1.1rem;
    }

    .card-content {
        padding: 15px 20px 18px;
    }
    
    .merit-display {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .merit-circle {
        width: 100px;
        height: 100px;
    }
    
    .merit-number {
        font-size: 1.8rem;
    }
    
    .action-btn {
        padding: 16px 18px;
        gap: 12px;
        min-height: 60px;
    }
    
    .btn-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .btn-title {
        font-size: 0.95rem;
    }
    
    .btn-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .profile-modal-content {
        width: 100%;
        margin: 0;
        height: auto;
        max-height: 95vh;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .profile-header {
        border-radius: 0;
        padding: 12px 15px;
    }
    
    .profile-title-section {
        gap: 12px;
    }
    
    .profile-avatar {
        width: 45px;
        height: 45px;
    }
    
    .avatar-circle {
        width: 45px;
        height: 45px;
    }
    
    .avatar-icon {
        font-size: 18px;
    }
    
    .profile-header h3 {
        font-size: 1.3rem;
    }
    
    .profile-body {
        padding: 12px;
        gap: 12px;
    }
    
    .card-header {
        padding: 10px 12px 8px;
    }
    
    .card-content {
        padding: 10px 12px 12px;
    }
    
    .merit-circle {
        width: 90px;
        height: 90px;
    }
    
    .merit-number {
        font-size: 1.6rem;
    }
    
    .action-btn {
        padding: 10px 12px;
        gap: 8px;
        min-height: 50px;
    }
    
    .btn-icon {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .btn-title {
        font-size: 0.9rem;
    }
    
    .btn-subtitle {
        font-size: 0.75rem;
    }
    
    .logout-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .bagua-background,
    .auth-modal,
    .profile-modal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}