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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-top: 80px; /* 为固定header留出空间 */
}

/* 固定顶部导航 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-left: 0.5rem;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.header-nav .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.header-info .time-display,
.header-info .online-count {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端侧边栏 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sidebar-content {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active .sidebar-content {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding-left: 2rem;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-link:hover::before {
    transform: scaleY(1);
}

.sidebar-info {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.sidebar-time,
.sidebar-online {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.sidebar-time:last-child,
.sidebar-online:last-child {
    margin-bottom: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* 主页面header样式 */
.main-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

/* 主导航样式 */
.main-nav {
    width: 100%;
    margin-bottom: 2rem;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 主要内容区域 */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* 区块样式统一 */
section {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* 统一标题样式 */
section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.8rem;
}

section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 统一副标题样式 */
.section-description {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
}

/* 线报区块 */
.linebao-section {
    border-left: 4px solid #667eea;
}

.linebao-section::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* 手机卡区块 */
.phonecard-section {
    border-left: 4px solid #e74c3c;
}

.phonecard-section::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

/* FAQ区块 */
.faq-section {
    border-left: 4px solid #f39c12;
}

.faq-section::before {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

/* 关于我们区块 */
.about-section {
    border-left: 4px solid #4ecdc4;
    display: none; /* 暂时隐藏 */
}

.about-section::before {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

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

.about-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
}

.about-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.about-item p {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.about-item ul {
    list-style: none;
    padding: 0;
}

.about-item ul li {
    padding: 0.3rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.about-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

/* 服务内容区块 */
.services-section {
    border-left: 4px solid #45b7d1;
    display: none; /* 暂时隐藏 */
}

.services-section::before {
    background: linear-gradient(90deg, #45b7d1, #3498db);
}

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

.service-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #45b7d1;
    text-align: center;
}

.service-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.service-item p {
    color: #6c757d;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* 联系我们区块 */
.contact-section {
    border-left: 4px solid #96ceb4;
    display: none; /* 暂时隐藏 */
}

.contact-section::before {
    background: linear-gradient(90deg, #96ceb4, #7f8c8d);
}

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

.contact-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #96ceb4;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.contact-item p {
    color: #6c757d;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* 手机卡专区详细样式 */
.usage-info, .partner-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.usage-info h5, .partner-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}

.usage-info h5::after, .partner-info h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.usage-info p, .partner-info p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.partner-link-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* 页脚样式优化 */
.footer {
    width: 100vw;
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    margin-left: calc(-50vw + 50%);
    position: relative;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #666666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1rem;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin: 1rem 0;
}

.time-display {
    font-size: 1.125rem;
    text-align: center;
}

.online-count {
    font-size: 1rem;
    text-align: center;
    color: #07c160;
    font-weight: 500;
    margin: 0.5rem 0;
}



/* 消息列表样式 - 微信群聊天框风格 */
.message-list {
    max-height: 600px;
    overflow-y: auto;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    max-width: calc(100% - 50px);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.message-sender {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    min-width: 80px;
    text-align: right;
}

.message-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    word-wrap: break-word;
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: white;
    border-top: none;
    border-left: none;
}

.message-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.message-text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}

.message-image {
    margin: 0.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 200px;
}

.message-image img {
    width: 100%;
    height: auto;
    display: block;
}

.message-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.copy-btn {
    background-color: #07c160;
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #06ad56;
}

.message-status {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

/* 滚动条样式 */
.message-list::-webkit-scrollbar {
    width: 6px;
}

.message-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.message-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.message-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 手机卡专区样式 */
.phone-card-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
}

.phone-card-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.phone-card-img {
    width: 300px;
    border-radius: 8px;

    margin-bottom: 30px;
}

.partner-link {
    color: #3b82f6;
    text-decoration: none;
}

.partner-link:hover {
    text-decoration: underline;
}

.qr-code {
    text-align: center;
    margin-top: 1rem;
}

.qr-code img {
    width: 150px;
    border-radius: 8px;
}

/* FAQ样式 */
.faq-section {
    width: 100%;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f39c12, #e67e22);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before {
    opacity: 1;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6c757d;
    display: none;
    line-height: 1.7;
    font-size: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-toggle {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: #667eea;
    font-weight: bold;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    main {
        gap: 2.5rem;
    }
    
    section {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    section h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    section h3::after {
        width: 40px;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .usage-info, .partner-info {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .usage-info h5, .partner-info h5 {
        font-size: 1.2rem;
    }
    
    /* 移动端新板块样式 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-item, .service-item, .contact-item {
        padding: 1.5rem;
    }
    
    .about-item h4, .service-item h4, .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* 移动端footer样式 */
    .footer {
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    /* 移动端固定header样式 */
    body {
        padding-top: 60px;
    }
    
    .fixed-header {
        height: 60px;
    }
    
    .header-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .header-logo h1 {
        font-size: 1.2rem;
    }
    
    .header-subtitle {
        font-size: 0.7rem;
    }
    
    /* 移动端隐藏桌面导航 */
    .header-nav {
        display: none;
    }
    
    .header-info {
        display: none;
    }
    
    /* 移动端显示汉堡菜单 */
    .mobile-menu-toggle {
        display: flex;
    }



    .message-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .copy-btn {
        align-self: flex-end;
    }

    /* 移动端聊天框样式 */
    .message-list {
        padding: 0.5rem;
        max-height: 400px;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .message-bubble {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .message-title {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .message-text {
        font-size: 0.8rem;
    }

    .message-image {
        max-width: 150px;
        margin: 0.3rem 0;
    }

    .message-sender {
        font-size: 0.8rem;
    }

    .message-time {
        font-size: 0.7rem;
        min-width: 70px;
        text-align: right;
    }

    .copy-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
} 

/* 图片模态框样式 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-modal.show .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

/* 移动端图片模态框样式 */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
        border-radius: 8px;
    }

    .image-modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .image-modal-img {
        max-height: 85vh;
    }
} 

/* 赞赏按钮样式 */
.donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.donate-btn:active {
    transform: translateY(0);
}

.donate-icon {
    font-size: 16px;
    animation: heartbeat 2s infinite;
}

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

.donate-text {
    white-space: nowrap;
}

/* 赞赏弹窗样式 */
.donate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.donate-modal.show {
    opacity: 1;
    visibility: visible;
}

.donate-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.donate-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.donate-modal.show .donate-modal-content {
    transform: scale(1);
}

.donate-modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donate-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.donate-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.donate-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.donate-modal-body {
    padding: 24px;
}

.donate-description {
    text-align: center;
    margin-bottom: 24px;
    color: #666;
    line-height: 1.6;
}

.donate-qr-codes {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

.qr-code-item {
    text-align: center;
}

.qr-code-item h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 16px;
}

.qr-code-wrapper {
    width: 120px;
    height: 120px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: border-color 0.2s ease;
}

.qr-code-wrapper:hover {
    border-color: #667eea;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.qr-code-tip {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.donate-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.donate-footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 移动端赞赏弹窗样式 */
@media (max-width: 768px) {
    .donate-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .donate-text {
        display: none;
    }
    
    .donate-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .donate-qr-codes {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-code-img {
        width: 100px;
        height: 100px;
    }
    
    .donate-modal-header {
        padding: 16px 20px;
    }
    
    .donate-modal-header h3 {
        font-size: 16px;
    }
    
    .donate-modal-body {
        padding: 20px;
    }
}

/* 消息链接样式 */
.message-links {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border: 1px solid #e9ecef;
}

.link-item:last-child {
    margin-bottom: 0;
}

.link-text {
    flex: 1;
    font-size: 12px;
    color: #007bff;
    word-break: break-all;
    margin-right: 8px;
    font-family: 'Courier New', monospace;
}

.copy-link-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-link-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.copy-link-btn:active {
    transform: translateY(0);
}

/* 移动端链接样式 */
@media (max-width: 768px) {
    .link-item {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .link-text {
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .copy-link-btn {
        align-self: flex-end;
        padding: 6px 10px;
        font-size: 12px;
    }
}


