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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 28px;
    color: #ef4136;
    font-weight: bold;
}

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

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-list a:hover,
.nav-list a.active {
    color: #fff;
    background: #ef4136;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #ef4136 0%, #ff6b6b 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    background: #fff;
    color: #ef4136;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #ef4136;
    color: #fff;
}

.btn-primary:hover {
    background: #e33d33;
}

/* 通用标题样式 */
.section-title {
    font-size: 36px;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* 平台小程序入口 */
.platform {
    padding: 60px 0;
    background: #f9f9f9;
}

.platform-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.platform-card {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-placeholder {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px;
}

.platform-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.platform-card p {
    color: #666;
    font-size: 14px;
}

/* 回收流程 */
.process {
    padding: 60px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4136 0%, #ff6b6b 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #666;
}

.step-arrow {
    font-size: 30px;
    color: #ef4136;
    font-weight: bold;
}

/* 平台优势 */
.advantages {
    padding: 60px 0;
    background: #f9f9f9;
}

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

.advantage-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, #ef4136 0%, #ff6b6b 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta .btn {
    background: #fff;
    color: #ef4136;
}

/* 页面通用标题 */
.page-header {
    background: linear-gradient(135deg, #ef4136 0%, #ff6b6b 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
}

/* 关于页面内容 */
.about-content,
.news-content,
.notice-content,
.jingeka-content {
    padding: 60px 0;
}

.about-intro,
.jingeka-intro {
    margin-bottom: 50px;
}

.about-intro h2,
.about-features h2,
.about-company h2,
.about-contact h2,
.jingeka-intro h2,
.jingeka-features h2,
.jingeka-how h2,
.jingeka-qr h2,
.jingeka-faq h2,
.jingeka-contact h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.about-intro p,
.jingeka-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

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

.feature-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ef4136;
}

.feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.about-company,
.about-contact,
.jingeka-contact {
    margin-top: 50px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

.about-company p,
.about-contact p,
.jingeka-contact p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 10px;
}

.about-contact ul,
.jingeka-contact ul {
    list-style: none;
    padding-left: 0;
}

.about-contact ul li,
.jingeka-contact ul li {
    padding: 8px 0;
    font-size: 16px;
    color: #666;
}

/* 新闻列表 */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-item h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.news-body {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.news-body p {
    margin-bottom: 15px;
}

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

.news-body li {
    margin-bottom: 8px;
}

/* 用户须知列表 */
.notice-section {
    margin-bottom: 50px;
}

.notice-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 2px solid #ef4136;
    padding-bottom: 10px;
}

.notice-item {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.notice-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

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

.notice-item li {
    padding: 8px 0;
    font-size: 15px;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.notice-item li::before {
    content: "•";
    color: #ef4136;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.notice-tip {
    font-size: 16px;
    color: #ef4136;
    font-weight: bold;
    margin-top: 20px;
}

/* 京e卡专属页面 */
.jingeka-features {
    margin-bottom: 50px;
}

.jingeka-how {
    margin: 50px 0;
}

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

.how-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ef4136;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: #666;
}

.jingeka-qr {
    text-align: center;
    margin: 50px 0;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
}

.jingeka-qr > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-item p {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.jingeka-faq {
    margin: 50px 0;
}

.faq-list {
    max-width: 900px;
    margin: 30px auto 0;
}

.faq-item {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #ef4136;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon::after {
    content: '+';
    font-size: 18px;
    color: #ef4136;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon::after {
    content: '-';
}

.faq-answer {
    display: none;
    padding-top: 15px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 联系页面样式 */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-card {
    text-align: center;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    min-width: 250px;
}

.contact-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 15px;
    color: #666;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ef4136;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ef4136;
}

.social-link {
    color: #07c160 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
    margin: 5px 0;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ef4136;
}

/* 浮动客服按钮 */
.float-service {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-item {
    width: 50px;
    height: 50px;
    background: #ef4136;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(239, 65, 54, 0.3);
    transition: all 0.3s;
}

.float-item:hover {
    transform: scale(1.1);
    background: #e33d33;
}

.float-item span {
    font-size: 24px;
}

.float-item .float-qr {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.float-item:hover .float-qr {
    opacity: 1;
    visibility: visible;
}

.float-item .float-qr img {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 10px;
}

.float-item .float-qr p {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

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

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .platform-cards {
        flex-direction: column;
        gap: 30px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .about-intro h2,
    .about-features h2,
    .jingeka-intro h2,
    .jingeka-features h2 {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .qr-codes {
        flex-direction: column;
        gap: 40px;
    }

    /* 移动端浮动客服调整 */
    .float-service {
        right: 10px;
        bottom: 60px;
        gap: 10px;
    }

    .float-item {
        width: 45px;
        height: 45px;
    }

    .float-item .float-qr {
        right: 60px;
    }

    .float-item .float-qr img {
        width: 120px;
        height: 120px;
    }
}

/* ========== 新增模块样式 ========== */

/* 京东e卡回收流程模块 */
.process {
    padding: 80px 0;
    background: #fff;
}

.process h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* FAQ预览模块 */
.faq-preview {
    padding: 80px 0;
    background: #f9f9f9;
}

.faq-preview h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.faq-preview .feature-item h3 {
    font-size: 18px;
    color: #ef4136;
    margin-bottom: 10px;
}

.faq-preview .feature-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* FAQ专题文章模块 */
.faq-articles {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-articles h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.faq-articles .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.faq-articles .feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-articles .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(239, 65, 54, 0.15);
    border-color: #ef4136;
}

.faq-articles .feature-item h3 {
    font-size: 18px;
    color: #ef4136;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.faq-articles .feature-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-articles .read-more {
    display: inline-block;
    color: #ef4136;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-articles .read-more:hover {
    color: #d32f2f;
    text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .faq-articles {
        padding: 60px 0;
    }
    
    .faq-articles h2 {
        font-size: 26px;
    }
    
    .faq-articles .section-subtitle {
        font-size: 16px;
    }
    
    .faq-articles .feature-item {
        padding: 20px;
    }
    
    .faq-articles .feature-item h3 {
        font-size: 16px;
    }
}

/* 回收价格参考模块 */
.price-reference {
    padding: 80px 0;
    background: #fff;
}

.price-reference h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.price-reference .feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-reference .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-reference .feature-item h3 {
    font-size: 20px;
    color: #ef4136;
    margin-bottom: 15px;
}

.price-reference .feature-item p {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.price-reference .feature-item p:last-child {
    color: #999;
    font-size: 14px;
}

/* 商务合作模块 */
.cooperation-info {
    padding: 60px 0;
    margin-top: 40px;
}

.cooperation-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.cooperation-info > p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

/* 关于我们 - 发展历程 */
.about-milestones {
    padding: 60px 0;
}

.about-milestones h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* 关于我们 - 平台数据 */
.about-data {
    padding: 60px 0;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 20px 0;
}

.about-data h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* 京e卡使用教程模块 */
.jingeka-usage {
    padding: 60px 0;
}

.jingeka-usage h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* 京e卡FAQ模块 */
.jingeka-faq {
    padding: 60px 0;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 20px 0;
}

.jingeka-faq h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* 用户须知 - 新增模块 */
.notice-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ef4136;
    display: inline-block;
}

.notice-section .notice-item h3 {
    font-size: 18px;
    color: #444;
    margin-bottom: 10px;
}

/* 按钮次要样式 */
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #ef4136;
    border: 2px solid #ef4136;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ef4136;
    color: #fff;
}

/* 响应式优化 - 流程模块 */
@media (max-width: 768px) {
    .process h2,
    .faq-preview h2,
    .price-reference h2 {
        font-size: 24px;
    }

    .process,
    .faq-preview,
    .price-reference {
        padding: 40px 0;
    }

    .cooperation-info {
        padding: 30px 0;
    }

    .about-milestones,
    .about-data,
    .jingeka-usage,
    .jingeka-faq {
        padding: 30px 0;
    }
}

/* 平台对比模块 */
.platform-compare {
    padding: 80px 0;
    background: #f9f9f9;
}

.platform-compare h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.platform-compare .feature-item {
    padding: 25px 20px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-compare .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.platform-compare .feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.platform-compare .feature-item p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.platform-compare .feature-item p strong {
    color: #333;
}

@media (max-width: 768px) {
    .platform-compare {
        padding: 40px 0;
    }

    .platform-compare h2 {
        font-size: 24px;
    }
}

/* ========== 动态消息悬浮框 ========== */
.live-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-item {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #ef4136;
    min-width: 280px;
    max-width: 340px;
    animation: slideIn 0.4s ease forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4136 0%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-nickname {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.notification-action {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.notification-item.hide {
    animation: slideOut 0.4s ease forwards;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .live-notification {
        bottom: 15px;
        right: 10px;
    }
    
    .notification-item {
        min-width: 240px;
        padding: 10px 14px;
    }
    
    .notification-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .notification-nickname {
        font-size: 13px;
    }
    
    .notification-action {
        font-size: 11px;
    }
}

/* ========== 页面加载动画 ========== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

#loader-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

/* 加载动画容器 */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 旋转动画 */
.loader-ring {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(239, 65, 54, 0.1);
    border-radius: 50%;
    border-top-color: #ef4136;
    animation: spin 1.2s linear infinite;
    position: relative;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 4px solid rgba(239, 65, 54, 0.05);
    border-radius: 50%;
    border-bottom-color: #ff6b6b;
    animation: spin 0.8s linear infinite reverse;
}

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

/* 加载文字 */
.loader-text {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.loader-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: #ef4136;
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.loader-dot:nth-child(1) { animation-delay: -0.32s; }
.loader-dot:nth-child(2) { animation-delay: -0.16s; }
.loader-dot:nth-child(3) { animation-delay: 0s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 加载进度条 */
.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ef4136, #ff6b6b);
    border-radius: 2px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* 加载提示文字 */
.loader-hint {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* 品牌logo动画 */
.loader-brand {
    font-size: 36px;
    font-weight: bold;
    color: #ef4136;
    animation: brandPulse 1.5s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .loader-ring {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }
    
    .loader-text {
        font-size: 16px;
    }
    
    .loader-brand {
        font-size: 28px;
    }
    
    .loader-progress {
        width: 150px;
    }
}
