:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #0f3460;
    --text-primary: #2a3a4a;
    --text-secondary: #7a8a9a;
    --accent-gold: #ffd700;
    --accent-blue: #4a90e2;
    --accent-green: #50c878;
    --accent-purple: #9b59b6;
    --border-color: #2d3748;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    /* 径向渐变背景 + 波浪动画 */
    background: radial-gradient(ellipse at 20% 20%,#f5e6c8 0%,#d4c4a0 15%,#a8c8d8 40%,#6a9ab8 65%,#3a7098 85%,#2a5a78 100%);
    background-size: cover;
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 80px; /* 为波浪留出空间 */
}

/* 波浪动画容器 */
.sea {
    width: 100%;
    height: 80px;
    background-color: transparent;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.wave {
    background: url('5/svg/wave.svg') repeat-x;
    width: 6400px;
    height: 80px;
    position: absolute;
    bottom: 0;
    animation: wave 7s cubic-bezier(0.36,0.45,0.63,0.53) infinite;
}

.wave:nth-child(2) {
    bottom: 10px;
    animation: wave 7s cubic-bezier(0.36,0.45,0.63,0.53) infinite, swell 7s ease infinite;
    animation-delay: -0.2s;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(5px);
    }
}

h1 {
    text-align: center;
    color: #3a5a7a;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 20px;
    display: table;
}
.header-sub {
    font-size: 1rem;
    color: #888;
    font-weight: normal;
    margin-left: 10px;
}

/* 搜索框样式 */
.search-container {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    background: transparent;
    padding: 20px;
}

#searchInput {
    width: 100%;
    padding: 15px 20px 15px 45px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 30px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.5);
    color: #2a3a4a;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

#searchInput::placeholder {
    color: var(--text-secondary);
}

/* 搜索框删除按钮 */
.search-clear-btn {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 150, 150, 0.2);
    border: 1px solid rgba(255, 150, 150, 0.4);
    color: rgba(255, 100, 100, 0.9);
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.search-clear-btn:hover {
    background: rgba(255, 100, 100, 0.4);
    border-color: rgba(255, 100, 100, 0.6);
    color: rgba(255, 80, 80, 1);
}

.search-clear-btn.visible {
    display: flex;
}

/* 气泡关闭按钮 */
.bubble-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 100, 100, 0.3);
    border: 1px solid rgba(255, 100, 100, 0.5);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.bubble-close-btn:hover {
    background: rgba(255, 77, 79, 0.6);
    border-color: rgba(255, 77, 79, 0.8);
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

/* 卡片网格布局 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    position: relative;
}

/* 卡片样式 */
.activity-card {
    background: linear-gradient(135deg, rgba(138, 184, 216, 0.3) 0%, rgba(106, 165, 200, 0.25) 100%);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    height: 200px;
    position: relative;
    z-index: 1;
}

.activity-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(138, 184, 216, 0.45) 0%, rgba(106, 165, 200, 0.4) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.activity-card.active {
    background: linear-gradient(135deg, rgba(138, 184, 216, 0.5) 0%, rgba(106, 165, 200, 0.45) 100%);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 气泡容器 */
.bubble-popup {
    position: fixed;
    z-index: 1000;
    width: 500px;
    max-width: 85vw;
    max-height: 65vh;
    background: rgba(255, 255, 255, 0.521);
    backdrop-filter: blur(30px) saturate(150%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: bubbleExpand 0.2s ease;
    display: none;
    overflow: hidden;
    box-sizing: border-box;
}

.bubble-popup.show {
    display: block;
    animation: bubbleExpand 0.2s ease;
}

/* 去掉箭头 */
.bubble-popup.below::before,
.bubble-popup.below::after,
.bubble-popup.above::before,
.bubble-popup.above::after {
    display: none;
}

.bubble-content {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.bubble-content::-webkit-scrollbar {
    width: 6px;
}

.bubble-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.bubble-content::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.bubble-content table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.bubble-content th,
.bubble-content td {
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.bubble-content th {
    background: rgba(255, 220, 150, 0.3);
    color: #4a5a6a;
    font-weight: 600;
}

.bubble-content td {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    color: #3a4a5a;
}

.bubble-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.bubble-content .activity-inner {
    padding: 0;
    max-height: none;
    overflow: visible;
}

.bubble-content .activity-content {
    max-height: none;
    overflow: visible;
}

@keyframes bubbleExpand {
    0% {
        opacity: 0.8;
        margin-top: -10px;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes bubbleCollapse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.activity-title {
    font-size: 18px;
    font-weight: bold;
    padding: 30px 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    transition: all 0.3s ease;
    min-height: 200px;
    text-align: center;
}

.activity-icon {
    font-size: 48px;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
}

.activity-name {
    font-size: 16px;
    color: #2a4a5a;
    font-weight: 600;
    transition: all 0.3s ease;
}
.activity-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.activity-title::after {
    display: none;
}

.activity-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-content.collapsed {
    max-height: 0;
}

.activity-title.collapsed {
    min-height: 200px;
}

.activity-inner {
    padding: 20px;
}

/* 娱乐模式列表样式 */
.mode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.mode-item {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #1a3a4a;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mode-item:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* 资源箱模式项样式 */
.resource-mode-item {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #1a3a4a;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.resource-mode-item:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.resource-mode-item.active {
    background: rgba(74, 144, 226, 0.3);
    border-color: var(--accent-blue);
}

/* 娱乐模式返回按钮 */
.mode-back {
    background: rgba(255, 220, 150, 0.4);
    border: 1px solid rgba(255, 200, 100, 0.5);
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    color: #5a4a3a;
}

.mode-back:hover {
    background: rgba(255, 200, 100, 0.5);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: #3a4a5a;
}

th {
    background: rgba(255, 220, 150, 0.3);
    color: #4a5a6a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

tr:last-child td {
    border-bottom: none;
}

/* 奖励标签 */
.reward-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reward-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    vertical-align: top;
}

.reward-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tag-permanent {
    background: linear-gradient(135deg, rgba(255, 230, 150, 0.5), rgba(255, 215, 0, 0.3));
    color: #8B4513;
    border: 1px solid rgba(255, 215, 0, 0.6);
    font-weight: 600;
}

.tag-timed {
    background: linear-gradient(135deg, rgba(150, 200, 255, 0.5), rgba(74, 144, 226, 0.3));
    color: #1a4a7a;
    border: 1px solid rgba(74, 144, 226, 0.6);
    font-weight: 600;
}

.tag-item {
    background: linear-gradient(135deg, rgba(150, 230, 180, 0.5), rgba(80, 200, 120, 0.3));
    color: #1a6a3a;
    border: 1px solid rgba(80, 200, 120, 0.6);
    font-weight: 600;
}

.tag-normal {
    background: rgba(255, 255, 255, 0.4);
    color: #2a3a4a;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* 标签详情展开 */
.tag-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 10px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    width: 200px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-blue);
    transform: translateY(-10px);
    pointer-events: none;
}

.tag-details.expanded {
    max-height: 200px;
    padding: 12px 15px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tag-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: center;
}

.tag-detail-item:last-child {
    border-bottom: none;
}

.tag-detail-label {
    color: var(--text-secondary);
    font-size: 11px;
}

.tag-detail-value {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 12px;
}

/* 高亮 */
.highlight {
    background: rgba(255, 215, 0, 0.3) !important;
    color: var(--accent-gold) !important;
    padding: 2px 4px;
    border-radius: 4px;
}

/* 响应式 */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }
    
    .activity-card {
        height: 140px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(4px);
        border-radius: 12px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .activity-card:active {
        transform: scale(0.96);
    }
    
    .activity-title {
        min-height: 140px;
        padding: 15px 10px;
    }
    
    .activity-title.collapsed {
        min-height: 140px;
    }
    
    .activity-icon {
        font-size: 32px;
    }
    
    .activity-name {
        font-size: 14px;
    }
    
    .bubble-popup {
        width: 95vw;
        max-width: 400px;
        max-height: 80vh;
        border-radius: 12px;
        left: 2.5vw !important;
    }
    
    .bubble-content {
        max-height: 80vh;
        padding: 12px;
        font-size: 13px;
        -webkit-overflow-scrolling: touch;
    }
    
    .bubble-content th,
    .bubble-content td {
        padding: 5px;
        font-size: 12px;
    }
    
    .bubble-popup.below::before,
    .bubble-popup.below::after,
    .bubble-popup.above::before,
    .bubble-popup.above::after {
        display: none;
    }
    
    h1 {
        font-size: 1.6rem;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .search-container {
        padding: 10px;
    }
    
    .search-container::before {
        left: 25px;
    }
    
    #searchInput {
        padding: 12px 15px 12px 35px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    /* 移动端滚动条更小 */
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    /* 禁止选择文字，提升触摸体验 */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        user-select: none;
    }
    
    /* 允许在输入框和气泡内容中选择文字 */
    #searchInput,
    .bubble-content,
    .bubble-content * {
        user-select: text;
        -webkit-user-select: text;
    }
}

/* 隐藏式滚动条 - 鼠标悬停或滚动时显示 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(80, 200, 120, 0.8));
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 1), rgba(80, 200, 120, 1));
}

/* 滚动时显示滚动条 */
body:hover::-webkit-scrollbar,
body:hover::-webkit-scrollbar-track,
body:hover::-webkit-scrollbar-thumb,
:active::-webkit-scrollbar,
:active::-webkit-scrollbar-track,
:active::-webkit-scrollbar-thumb {
    visibility: visible;
    opacity: 1;
}

/* 著名卡片悬停效果 */
.fixed-card:hover > div {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* 娱乐模式二级页面 */
.entertainment-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.entertainment-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(255, 248, 235, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.entertainment-header h2 {
    margin: 0;
    color: #3a5a7a;
    font-size: 24px;
}

.back-btn {
    background: rgba(255, 220, 150, 0.4);
    border: 1px solid rgba(255, 200, 100, 0.5);
    color: #6a5a3a;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 200, 100, 0.5);
    transform: translateY(-2px);
}

.entertainment-sub {
    font-size: 14px;
    color: #888;
    margin-left: 15px;
    vertical-align: middle;
}
.title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}
.title-wrap .entertainment-sub {
    margin-left: 0;
    margin-top: 2px;
}
.title-wrap .gold {
    color: #000;
    font-weight: bold;
}

.entertainment-content {
    background: rgba(255, 248, 235, 0.15);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.entertainment-content .mode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.entertainment-content .mode-item {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #1a3a4a;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.entertainment-content .mode-item:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.entertainment-content .mode-back {
    background: rgba(255, 220, 150, 0.4);
    border: 1px solid rgba(255, 200, 100, 0.5);
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    color: #5a4a3a;
}

.entertainment-content .mode-back:hover {
    background: rgba(255, 200, 100, 0.5);
}

.entertainment-content table {
    margin-top: 15px;
    min-width: 800px;
    table-layout: auto;
}

.entertainment-content table th:first-child,
.entertainment-content table td:first-child {
    width: 15%;
    white-space: normal;
}

.entertainment-content table th:nth-child(2),
.entertainment-content table td:nth-child(2) {
    width: 15%;
    white-space: normal;
}

/* 物品标签列表 */
.entertainment-content .item-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.entertainment-content .item-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #1a3a4a;
    font-weight: 500;
}

.entertainment-content .item-tag:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

/* 物品详情 */
.entertainment-content .item-detail {
    padding: 10px;
}

.entertainment-content .detail-section {
    margin-bottom: 20px;
}

.entertainment-content .detail-section h4 {
    color: var(--accent-blue);
    margin: 0 0 10px 0;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entertainment-content .detail-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.entertainment-content .detail-rewards .reward-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* QS晶匣卡片样式 */
.entertainment-content .mode-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
}

.entertainment-content .mode-section-title {
    color: #3a5a7a;
    font-size: 16px;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 排位赛资源箱表格样式 */
.resource-box-table {
    overflow-x: auto;
    margin: 10px 0;
}

.resource-box-table table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    table-layout: auto;
}

.resource-box-table th,
.resource-box-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.resource-box-table th:first-child,
.resource-box-table td:first-child {
    width: 15%;
    white-space: normal;
}

.resource-box-table th:nth-child(2),
.resource-box-table td:nth-child(2) {
    width: 15%;
    white-space: normal;
}

.resource-box-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #3a5a7a;
    font-weight: 600;
}

.resource-box-table td {
    vertical-align: top;
}

/* 版权声明样式 */
.footer-copyright {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));
    z-index: 100;
}

.footer-copyright a {
    color: #666;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #3a5a7a;
    text-decoration: underline;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3a5a7a, #2a4a5a);
    color: #8cb8dc;
    border: 2px solid #8cb8dc;
    border-radius: 12px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 74, 90, 0.4), inset 0 0 10px rgba(140, 184, 220, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #4a6a8a, #3a5a7a);
    box-shadow: 0 8px 25px rgba(42, 74, 90, 0.5), 0 0 15px rgba(140, 184, 220, 0.3);
    color: #fff;
    border-color: #fff;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
