
{

margin: 0;

padding: 0;

box-sizing: border-box;

font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;

}

:root {

--primary-color: #667eea;

--secondary-color: #764ba2;

--accent-color: #ffd54f;

--success-color: #4caf50;

--light-bg: #f5f7fa;

--card-bg: #ffffff;

--text-dark: #333333;

--text-light: #ffffff;

--border-color: #e0e0e0;

--shadow-color: rgba(0, 0, 0, 0.08);

}
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* 导航栏样式 */
.mu-navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 0 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mu-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.mu-navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    text-decoration: none;
    color: var(--text-light);
    margin-right: 40px;
}

.mu-navbar-brand i {
    font-size: 1.8rem;
}

.mu-navbar-brand span {
    font-size: 1.5rem;
    font-weight: 700;
}

.mu-navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.mu-navbar-item {
    position: relative;
}

.mu-navbar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 18px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.mu-navbar-link i {
    font-size: 1rem;
}

.mu-navbar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--accent-color);
}

.mu-navbar-link.active {
    border-bottom-color: var(--accent-color);
}

/* 游戏赞助链接 */
.sponsor-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff3800, #ff5722);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 20px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.sponsor-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.mu-navbar-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-title {
    display: block;
    padding: 12px 20px;
    font-weight: 700;
    color: var(--primary-color);
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

/* 二维码容器 */
.qr-code-container {
    position: relative;
}

.qr-code {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    width: 150px;
}

.qr-code-container:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qr-image {
    width: 150px;
    height: 150px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.qr-code p {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

.mu-navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* 主容器 */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 海报区域 */
.poster-section {
    width: 100%;
    height: 360px;
    margin: 20px 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.poster-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.poster-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}

.poster-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.poster-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.poster-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ff9800);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.poster-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 183, 77, 0.4);
}

/* 横向公告栏 */
.horizontal-announcements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.announcement-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px var(--shadow-color);
    border-left: 4px solid var(--accent-color);
}

.announcement-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.announcement-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

/* 内容布局 */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 40px;
}

/* 主内容区域 */
.main-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* 侧边栏 */
.sidebar {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow: hidden;
}

.sidebar-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 侧边栏下载链接 - 突出显示 */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.download-main {
    display: block;
    background: linear-gradient(135deg, var(--success-color), #2e7d32);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.download-secondary {
    display: block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.download-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 职业介绍和游戏系统链接 - 每行两个 */
.grid-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.grid-link {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: center;
}

.grid-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 游戏设置内容 - 调整大小 */
.settings-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
}

.settings-list {
    list-style: none;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.setting-item {
    padding: 8px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-number {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.setting-content {
    flex: 1;
}

.setting-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-size: 1rem;
}

.setting-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* 结晶掉落表格 */
.crystal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.crystal-table th, .crystal-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.crystal-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.crystal-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* 快速链接 */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.quick-link {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 页脚 */
.page-footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 40px 20px;
    margin-top: 50px;
    border-radius: 12px 12px 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr 300px;
    }
    
    .horizontal-announcements {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .poster-title {
        font-size: 2.8rem;
    }
    
    .grid-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mu-navbar-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mu-navbar-brand {
        padding: 15px 0;
        justify-content: space-between;
        margin-right: 0;
    }
    
    .mu-navbar-toggle {
        display: block;
    }
    
    .mu-navbar-menu {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mu-navbar-menu.active {
        max-height: 500px;
    }
    
    .mu-navbar-item {
        width: 100%;
    }
    
    .mu-navbar-link {
        padding: 15px 0;
        justify-content: center;
    }
    
    .sponsor-link {
        margin: 15px 0;
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-left: 20px;
    }
    
    .dropdown-item {
        color: white;
    }
    
    .dropdown-title {
        color: white;
        background: transparent;
    }
    
    .qr-code {
        right: 50%;
        transform: translateX(50%) translateY(10px);
    }
    
    .qr-code-container:hover .qr-code {
        transform: translateX(50%) translateY(0);
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .horizontal-announcements {
        grid-template-columns: 1fr;
    }
    
    .poster-section {
        height: 280px;
    }
    
    .poster-content {
        padding-left: 30px;
    }
    
    .poster-title {
        font-size: 2.2rem;
    }
    
    .poster-subtitle {
        font-size: 1.2rem;
    }
    
    .grid-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 10px;
    }
    
    .main-content, .sidebar-content {
        padding: 20px;
    }
    
    .poster-section {
        height: 200px;
    }
    
    .poster-content {
        padding-left: 20px;
    }
    
    .poster-title {
        font-size: 1.8rem;
    }
    
    .poster-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .grid-links {
        grid-template-columns: 1fr;
    }
}

/* 返回顶部按钮 */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border: none;
    font-size: 1.5rem;
}

.scroll-top-btn.visible {
    opacity: 0.9;
}

.scroll-top-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
}
/* ====== 新增：装备升级指南样式 ====== */
.upgrade-guide {
    padding: 25px;
}

.guide-block {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px var(--shadow-color);
    border-left: 4px solid var(--accent-color);
}

.guide-subtitle {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-subtitle i {
    color: var(--accent-color);
}

/* 图片容器 */
.guide-image-container {
    text-align: center;
    margin: 20px auto;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 600px; /* 控制最大宽度，保持响应式 */
}

.guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.image-caption {
    font-size: 0.85rem;
    color: #777;
    margin-top: 8px;
    font-style: italic;
}

/* 方法对比 */
.method-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.method-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.method-card.highlight {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff9e6, #fff);
    position: relative;
}

.method-card.highlight::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: bold;
}

/* 步骤列表 */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 5px;
}

.steps-list > li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    line-height: 1.6;
}

.steps-list > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.9rem;
    font-weight: bold;
}

.sublist {
    list-style: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.success-rate {
    color: #4caf50;
    font-weight: bold;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* 注意/提示框 */
.note-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 18px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.note-box h4 {
    color: #1565c0;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.note-box h4 i {
    color: #2196f3;
}

/* 合成路径 */
.path-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.path-card {
    background: #f5f7fa;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.path-card h4 {
    color: var(--secondary-color);
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.path-prerequisite {
    background: #fff8e1;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ffb300;
    font-size: 0.95rem;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-conclusion {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #7cb342;
    margin-top: 25px;
    font-size: 0.95rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .method-comparison,
    .path-container {
        grid-template-columns: 1fr;
    }
    .guide-block {
        padding: 20px;
    }
    .steps-list > li {
        padding-left: 35px;
    }
}




/* ====== 活动倒计时样式 - 带背景图片版本 ====== */
.activity-section {
    margin-bottom: 30px;
}

.activity-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* 倒计时卡片基础样式 */
.countdown-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

/* 卡片悬停效果 */
.countdown-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 血色城堡/恶魔广场卡片 - 带背景图片 */
.countdown-card.bloodcastle {
    border-top-color: #e74c3c;
    background: 
        /* 深色渐变覆盖层，确保文字可读性 */
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        /* 背景图片 - 请将URL替换为您自己的图片 */
        url('http://x.832mu.com/S21/CSS/bossbattle.png')
        center center / cover no-repeat;
    color: white;
}

/* BOSS战卡片 - 带背景图片 */
.countdown-card.boss-battle {
    border-top-color: #f39c12;
    background: 
        /* 深色渐变覆盖层，确保文字可读性 */
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        /* 背景图片 - 请将URL替换为您自己的图片 */
        url('http://x.832mu.com/S21/css/blood.png')
        center center / cover no-repeat;
    color: white;
}

/* 背景图片覆盖层，增强对比度 */
.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 确保内容在背景上层 */
.countdown-card > * {
    position: relative;
    z-index: 2;
}

/* 图标样式 */
.countdown-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.bloodcastle .countdown-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.boss-battle .countdown-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

/* 内容区域 */
.countdown-content {
    flex: 1;
}

.countdown-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-description {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* 倒计时显示区域 */
.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.time-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.bloodcastle .time-number {
    color: #ff6b6b; /* 亮红色，在深色背景上更醒目 */
}

.boss-battle .time-number {
    color: #feca57; /* 亮橙色，在深色背景上更醒目 */
}

.time-label {
    font-size: 0.8rem;
    margin-top: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.time-separator {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 5px;
    padding-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
}

/* 下一场时间显示 */
.next-time {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.next-time .highlight {
    font-weight: 600;
    color: #ffd54f; /* 使用网站主题的强调色 */
}

/* 活动时间徽章 */
.activity-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.time-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.time-badge.active {
    background: rgba(231, 76, 60, 0.8);
    color: white;
    border-color: rgba(231, 76, 60, 0.5);
}

.time-badge.boss {
    background: rgba(243, 156, 18, 0.8);
    color: white;
    border-color: rgba(243, 156, 18, 0.5);
}

.more-times {
    background: rgba(102, 126, 234, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.5);
}

/* 活动提示 */
.activity-notice {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-notice i {
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .countdown-container {
        grid-template-columns: 1fr;
    }
    
    .countdown-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: 250px;
    }
    
    .time-number {
        font-size: 1.8rem;
    }
    
    .time-unit {
        min-width: 50px;
    }
    
    .activity-section .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .countdown-card {
        min-height: 220px;
    }
    
    .time-number {
        font-size: 1.6rem;
    }
    
    .activity-section .section-title {
        font-size: 1.3rem;
    }
}
/* ====== 悬浮活动窗口样式 ====== */

/* 悬浮按钮样式 - 更大、更靠上 */
.floating-activity-btn {
    position: fixed;
    bottom: 100px; /* 调整到更靠上的位置 */
    right: 30px;
    width: 80px; /* 更大的图标 */
    height: 80px; /* 更大的图标 */
    background: linear-gradient(135deg, #ff5722, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem; /* 更大的图标字体 */
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 4px solid white;
}

/* 悬停效果 */
.floating-activity-btn:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.7);
}

/* "本服活动"文字标签 */
.activity-label {
    position: absolute;
    top: -40px; /* 文字在图标上方 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #ff9800;
}

.floating-activity-btn:hover .activity-label {
    opacity: 1;
}

/* 弹窗遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 弹窗内容 */
.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* 弹窗头部 */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    color: var(--accent-color);
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 弹窗主体 */
.modal-body {
    padding: 25px;
}

/* 活动时间表 */
.activity-schedule {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 5px solid var(--accent-color);
}

.schedule-title {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-list {
    list-style: none;
}

.schedule-item {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-day {
    min-width: 100px;
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-time {
    font-weight: bold;
    color: #e74c3c;
}

.schedule-detail {
    flex: 1;
}

/* 地图列表 */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.map-badge {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #1565c0;
    border: 2px solid #90caf9;
    transition: all 0.2s ease;
}

.map-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(21, 101, 192, 0.2);
}

/* 提示框 */
.activity-notice {
    background: #fff8e1;
    border-left: 5px solid #ffb300;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.activity-notice i {
    color: #ff9800;
    font-size: 1.2rem;
    margin-top: 3px;
}

/* 奖励列表 */
.reward-list {
    list-style: none;
    background: #f1f8e9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.reward-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.reward-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    background: #4caf50;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* 弹窗底部 */
.modal-footer {
    padding: 20px 25px;
    background: #f5f7fa;
    border-radius: 0 0 12px 12px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-footer p {
    color: #666;
    font-size: 0.9rem;
}

/* 悬浮按钮样式 - 更大、更靠上 */
.floating-activity-btn {
    position: fixed;
    bottom: 100px; /* 调整到更靠上的位置 */
    right: 30px;
    width: 80px; /* 更大的图标 */
    height: 80px; /* 更大的图标 */
    background: linear-gradient(135deg, #ff5722, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem; /* 更大的图标字体 */
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 4px solid white;
    /* 添加一个上内边距，为文字留出空间 */
    padding-top: 10px;
}

/* 悬浮按钮样式 - 修复图标拉伸 */
.floating-activity-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 4px solid white;
    /* 移除 padding-top，改用相对定位布局 */
    padding: 0;
    display: flex;
    flex-direction: column; /* 改为列布局 */
    align-items: center;
    justify-content: center;
    overflow: visible; /* 确保文字标签可见 */
}

/* 图标容器 - 单独控制 */
.floating-activity-btn i {
    display: block;
    line-height: 1; /* 确保图标行高正常 */
    margin-top: 2px; /* 微调图标位置 */
}

/* 修改"本服活动"文字标签 - 一直显示 */
.activity-label {
    position: absolute;
    top: -40px; /* 文字在图标上方 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #ff9800;
    z-index: 10000;
    /* 移除 animation 相关属性，保持简洁 */
}

/* 悬停效果 */
.floating-activity-btn:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.7);
}

.floating-activity-btn:hover .activity-label {
    background: rgba(255, 87, 34, 0.9);
    border-color: #ffd54f;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-activity-btn {
        width: 70px;
        height: 70px;
        bottom: 80px;
        right: 20px;
        font-size: 1.8rem;
    }
    
    .floating-activity-btn i {
        margin-top: 4px;
    }
    
    .activity-label {
        font-size: 0.8rem;
        padding: 5px 12px;
        top: -35px;
    }
}

@media (max-width: 480px) {
    .floating-activity-btn {
        width: 65px;
        height: 65px;
        bottom: 70px;
        right: 15px;
        font-size: 1.6rem;
    }
    
    .floating-activity-btn i {
        margin-top: 3px;
    }
    
    .activity-label {
        font-size: 0.75rem;
        padding: 4px 10px;
        top: -32px;
    }
}