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

body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    background-image: url('../images/backGround.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #e0e0e0;
    line-height: 1.7;
    min-height: 100vh;
    font-size: 14px;
    min-width: 320px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 35%, rgba(100, 100, 100, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 75% 65%, rgba(50, 50, 50, 0.1) 0%, transparent 45%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        );
    pointer-events: none;
    z-index: -1;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7; 
    filter: brightness(0.8) contrast(1.1); 
}


.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
    pointer-events: none;
}
.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.3), rgba(10, 10, 10, 0.3));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.5);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.5);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 200, 200, 0.8);
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.1), rgba(20, 20, 20, 0.1));
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.sidebar-header h1 {
    font-size: 1.5em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.sidebar-header p {
    color: #b0b0b0;
    font-size: 0.9em;
}

.sidebar-nav {
    padding: 15px 0;
}

.sidebar-nav a {
    display: block;
    padding: 10px 18px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-left: 3px solid transparent;
    font-size: 0.85em;
    margin: 3px 12px;
    border-radius: 0 10px 10px 0;
    opacity: 0.75;
    font-weight: 600;
    width: calc(100% - 24px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    transition: width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: -1;
}

.sidebar-nav a:hover::before {
    width: 100%;
}

.sidebar-nav a:hover {
    opacity: 1;
    background: rgba(60, 60, 60, 0.5);
    border-left-color: #ffffff;
    padding-left: 22px;
    transform: translateX(2px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.sidebar-nav a.active {
    opacity: 1;
    background: linear-gradient(90deg, rgba(100, 100, 100, 0.5), rgba(50, 50, 50, 0.3));
    border-left-color: #ffffff;
    border-left-width: 3px;
    font-weight: bold;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    padding-left: 20px;
    color: #ffffff;
}

.sidebar-nav a.active::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 50px 45px;
    min-width: 0;
    position: relative;
    transform-origin: center top;
    will-change: transform, opacity, filter;
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 260px;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

header {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.85), rgba(20, 20, 20, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    margin-bottom: 45px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 15px 38px rgba(0, 0, 0, 0.5),
        0 7px 20px rgba(0, 0, 0, 0.4),
        inset 0 -10px 30px rgba(255, 255, 255, 0.02),
        inset 0 10px 25px rgba(255, 255, 255, 0.02);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

header:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 40px 90px rgba(0, 0, 0, 0.8),
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 10px 28px rgba(0, 0, 0, 0.5),
        inset 0 -12px 35px rgba(255, 255, 255, 0.03),
        inset 0 12px 30px rgba(255, 255, 255, 0.03);
}

header h1 {
    font-size: 2.2em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

header p {
    color: #cccccc;
    font-size: 1em;
}

section {
    background: rgba(0,0,0,0.5);
    padding: 50px 45px;
    margin-bottom: 55px;
    margin-top: 80px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 0;
    overflow-x: hidden;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 15%, rgba(255, 255, 255, 0.02) 0%, transparent 35%),
        radial-gradient(ellipse at 75% 85%, rgba(150, 150, 150, 0.05) 0%, transparent 35%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 28px,
            rgba(255, 255, 255, 0.01) 28px,
            rgba(255, 255, 255, 0.01) 29px
        );
    pointer-events: none;
    border-radius: 18px;
    z-index: 0;
}

section > * {
    position: relative;
    z-index: 1;
}

.main-content {
    position: relative;
    margin-top: 40px;
}

.intro-logo-container {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

.intro-logo {
    width: 120px;
    height: auto;
    opacity: 0.7;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

section:hover {
    transform: translateY(-15px) scale(1.01);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 20px 45px rgba(0, 0, 0, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.5),
        inset 0 -15px 40px rgba(255, 255, 255, 0.03),
        inset 0 15px 35px rgba(255, 255, 255, 0.03),
        0 0 60px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

h2 {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
}

h2::before {
    content: '♢';
    margin-right: 10px;
    color: #cccccc;
    font-size: 1.1em;
}

h3 {
    font-size: 1.2em;
    color: #f0f0f0;
    margin: 28px 0 16px 0;
}

h4 {
    font-size: 1em;
    color: #e0e0e0;
    margin: 16px 0 10px 0;
}

p {
    margin-bottom: 16px;
    color: #cccccc;
    line-height: 1.9;
}

ul, ol {
    margin-left: 22px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: #cccccc;
    line-height: 1.8;
}

.highlight {
    color: #ffffff;
    font-weight: bold;
}

.info-box {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(30, 30, 30, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #888888;
    padding: 24px;
    margin: 24px 0;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 -6px 20px rgba(0, 0, 0, 0.3),
        inset 0 6px 16px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.info-box:hover {
    transform: translateX(8px) scale(1.01);
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.8),
        inset 0 -8px 25px rgba(0, 0, 0, 0.4),
        inset 0 8px 20px rgba(255, 255, 255, 0.03);
}

.warning-box {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.7), rgba(40, 30, 20, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #ff6b6b;
    padding: 24px;
    margin: 24px 0;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 -6px 20px rgba(0, 0, 0, 0.3),
        inset 0 6px 16px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 14px 14px 0 0;
    pointer-events: none;
}

.warning-box:hover {
    transform: translateX(8px) scale(1.01);
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.8),
        inset 0 -8px 25px rgba(0, 0, 0, 0.4),
        inset 0 8px 20px rgba(255, 255, 255, 0.03);
}

.tip-box {
    background: linear-gradient(135deg, rgba(30, 40, 50, 0.7), rgba(20, 30, 40, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #8888ff;
    padding: 24px;
    margin: 24px 0;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 -6px 20px rgba(0, 0, 0, 0.3),
        inset 0 6px 16px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.tip-box:hover {
    transform: translateX(8px) scale(1.01);
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.8),
        inset 0 -8px 25px rgba(0, 0, 0, 0.4),
        inset 0 8px 20px rgba(255, 255, 255, 0.03);
}

.credits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.credits-chip {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.6), rgba(30, 30, 30, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    min-width: 140px;
    transition: all 0.2s ease;
}

.credits-chip:hover {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.7), rgba(50, 50, 50, 0.8));
    transform: translateY(-2px);
}

.chip-label {
    color: #a0a0a0;
    font-size: 11px;
    margin-bottom: 4px;
}

.chip-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.area-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 35px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.6),
        0 7px 22px rgba(0, 0, 0, 0.5),
        inset 0 -8px 25px rgba(0, 0, 0, 0.3),
        inset 0 8px 20px rgba(255, 255, 255, 0.02);
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.area-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.8),
        0 14px 38px rgba(0, 0, 0, 0.6),
        inset 0 -10px 30px rgba(0, 0, 0, 0.4),
        inset 0 10px 25px rgba(255, 255, 255, 0.03);
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.85), rgba(40, 40, 40, 0.9));
}

.area-card h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.area-card .level {
    color: #cccccc;
    font-size: 0.9em;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.enemy-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 6px 18px rgba(0, 0, 0, 0.5),
        inset 0 -6px 20px rgba(0, 0, 0, 0.3);
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.enemy-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 55px rgba(0, 0, 0, 0.8),
        0 10px 28px rgba(0, 0, 0, 0.6),
        inset 0 -8px 25px rgba(0, 0, 0, 0.4),
        inset 0 8px 20px rgba(255, 255, 255, 0.03);
}

.enemy-card h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.enemy-card .hp {
    color: #ff6b6b;
    font-size: 0.85em;
    font-weight: bold;
}

.item-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.item-table th, .item-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.item-table th {
    background: rgba(50, 50, 50, 0.8);
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-table tr {
    transition: all 0.3s ease;
}

.item-table tbody tr:hover {
    background: rgba(60, 60, 60, 0.6);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.item-table tbody tr:hover td {
    color: #ffffff;
    font-weight: 500;
}

.growth-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.growth-table th, .growth-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.growth-table th {
    background: rgba(50, 50, 50, 0.8);
    color: #ffffff;
    font-weight: bold;
}

.growth-table tr:hover {
    background: rgba(60, 60, 60, 0.5);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
}

.quest-list {
    list-style-type: decimal;
    padding-left: 25px;
}

.quest-list li {
    margin-bottom: 15px;
}

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

.weapon-card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 4px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.weapon-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    background: rgba(40, 40, 40, 0.95);
}

.weapon-card h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.weapon-card > p {
    color: #cccccc;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 12px;
    opacity: 0.9;
}

.weapon-stats {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: none;
    overflow: visible;
    position: relative;
}

.weapon-stats p {
    margin-bottom: 8px;
    font-size: 0.85em;
    line-height: 1.3;
}

.weapon-stats strong {
    color: #ffffff;
    font-weight: 500;
}

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

.damage-calc-box {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 4px;
    padding: 30px;
    margin: 25px 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.formula-box {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border: 2px solid #888888;
    border-radius: 4px;
    padding: 20px;
    margin: 18px 0;
    border-left: 4px solid #ffffff;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95em;
    color: #e0e0e0;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.formula-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    border-color: #ffffff;
}

.formula-box .formula-title {
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: 'Microsoft YaHei', sans-serif;
}

.formula-box .formula-content {
    font-size: 1em;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.formula-box .formula-note {
    font-size: 0.8em;
    color: #a0a0a0;
    margin-top: 10px;
    font-style: italic;
    font-family: 'Microsoft YaHei', sans-serif;
}

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

.skill-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(6.5px);
    -webkit-backdrop-filter: blur(6.5px);
    border-radius: 13px;
    padding: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 
        0 11px 36px rgba(0, 0, 0, 0.6),
        0 5px 16px rgba(0, 0, 0, 0.5),
        0 2px 7px rgba(0, 0, 0, 0.4),
        inset 0 0.9px 0 rgba(255, 255, 255, 0.02),
        inset 0 -0.9px 0 rgba(0, 0, 0, 0.5);
}

.skill-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 22px 56px rgba(0, 0, 0, 0.8),
        0 11px 30px rgba(0, 0, 0, 0.6),
        0 4px 14px rgba(0, 0, 0, 0.5);
}

.boss-card, .teleport-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(6.5px);
    -webkit-backdrop-filter: blur(6.5px);
    border-radius: 13px;
    padding: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 
        0 11px 36px rgba(0, 0, 0, 0.6),
        0 5px 16px rgba(0, 0, 0, 0.5),
        0 2px 7px rgba(0, 0, 0, 0.4),
        inset 0 0.9px 0 rgba(255, 255, 255, 0.02),
        inset 0 -0.9px 0 rgba(0, 0, 0, 0.5);
}

.boss-card:hover, .teleport-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
}

.boss-card h4, .teleport-card h4 {
    color: #ffffff;
    font-size: 1.3em;
    margin-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.boss-card p, .teleport-card p {
    color: #cccccc;
    margin: 6px 0;
    font-size: 0.95em;
}

.boss-card .boss-area, .boss-card .boss-type,
.teleport-card .tp-area, .teleport-card .tp-type {
    color: #e0e0e0;
    font-weight: 500;
}

.boss-card .boss-difficulty, .teleport-card .tp-unlock {
    color: #ff9999;
    font-weight: 600;
}

.boss-card .boss-position, .boss-card .boss-spawn {
    background: rgba(60, 60, 60, 0.5);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.boss-card .bounds-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #b0b0b0;
}

.boss-card .boss-note {
    background: linear-gradient(135deg, rgba(80, 60, 40, 0.4), rgba(60, 40, 30, 0.4));
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #ff9999;
    color: #ffcccc !important;
    font-weight: 500;
}

.teleport-card .tp-desc {
    color: #cccccc;
    font-style: italic;
}

.teleport-card .tp-position {
    font-family: 'Courier New', monospace;
    color: #b0b0b0;
    background: rgba(60, 60, 60, 0.5);
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
}

#bosses-content, #teleports-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.empty-message {
    color: #888888;
    font-style: italic;
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.skill-levels {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-levels h5 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1em;
}

.level-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.level-table th,
.level-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.level-table th {
    background-color: rgba(60, 60, 60, 0.5);
    font-weight: bold;
    color: #ffffff;
}

.level-table tr:hover {
    background-color: rgba(70, 70, 70, 0.5);
}

.level-table tbody tr:nth-child(even) {
    background-color: rgba(50, 50, 50, 0.3);
}

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

.element-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #888888;
    padding: 20px;
    border-radius: 14px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 -4px 12px rgba(0, 0, 0, 0.3),
        inset 0 4px 12px rgba(255, 255, 255, 0.02);
}

.element-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        inset 0 -6px 16px rgba(0, 0, 0, 0.4),
        inset 0 6px 16px rgba(255, 255, 255, 0.03);
}

.element-card h4 {
    color: #ffffff;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.element-icon {
    font-size: 2em;
    margin-top: 10px;
    text-align: center;
}

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

.reaction-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.7), rgba(30, 30, 30, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 14px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reaction-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.7),
        inset 0 -4px 12px rgba(0, 0, 0, 0.3),
        inset 0 4px 12px rgba(255, 255, 255, 0.02);
}

.reaction-card h5 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.quest-item {
    background: rgba(40, 40, 40, 0.8);
    padding: 16px;
    border-radius: 4px;
    border-left: 4px solid #888888;
    transition: all 0.3s ease;
}

.quest-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.quest-item h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.quest-item p {
    margin: 6px 0;
    line-height: 1.4;
}

.skill-card h4 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.skill-levels {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-levels table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.skill-levels th, .skill-levels td {
    padding: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-levels th {
    background: rgba(60, 60, 60, 0.5);
    color: #ffffff;
}

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

.element-item {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.element-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
    background: rgba(50, 50, 50, 0.9);
}

.element-item h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

.element-item .element-icon {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.element-fire {
    color: #ff9999;
}

.element-ice {
    color: #99ccff;
}

.element-thunder {
    color: #ffff99;
}

.element-earth {
    color: #cc9966;
}

.element-wind {
    color: #aaffaa;
}

.element-water {
    color: #99ffff;
}

.element-grass {
    color: #99ff99;
}

.element-poison {
    color: #cc99ff;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    border-radius: 3px;
}

footer p {
    color: #cccccc;
    margin-bottom: 8px;
}

footer .lij-group {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffffff;
    margin-top: 10px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 0;
    width: 100px;
    height: 45px;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top:hover {
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.back-to-top::after {
    content: '回到顶部';
    color: #ffffff;
    font-size: 0.85em;
    font-weight: bold;
}

.tag-gold {
    display: inline-block;
    background: linear-gradient(135deg, #666666, #444444);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-right: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tag-orange {
    display: inline-block;
    background: linear-gradient(135deg, #885522, #664422);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-right: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.image-request {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #444444, #333333);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    animation: pulse 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    }
}

.search-box {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.global-search {
    margin: 20px 15px 25px;
    position: relative;
}

.search-input, .global-search-input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: rgba(30, 30, 30, 0.95);
    color: #ffffff;
    font-size: 0.85em;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.search-input:focus, .global-search-input:focus {
    outline: none;
    border-color: #888888;
    background: rgba(40, 40, 40, 1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder, .global-search-input::placeholder {
    color: rgba(200, 200, 200, 0.5);
}

.search-button, .global-search-button {
    padding: 8px 16px;
    background: linear-gradient(135deg, #555555, #333333);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 6px 6px 0;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-button:hover, .global-search-button:hover {
    background: linear-gradient(135deg, #666666, #444444);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.search-results, .global-search-results {
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.search-results::-webkit-scrollbar, .global-search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track, .global-search-results::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb, .global-search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #666666, #444444);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results::-webkit-scrollbar-thumb:hover, .global-search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #777777, #555555);
}

.global-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    display: none;
    z-index: 1002;
}

.global-search-results.show {
    display: block;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.95em;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(30, 30, 30, 0.95);
    color: #ffffff;
    font-size: 0.95em;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    box-shadow: 
        inset 0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 12px rgba(255, 255, 255, 0.02);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(40, 40, 40, 0.98);
    transform: scale(1.02);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.05),
        inset 0 6px 15px rgba(0, 0, 0, 0.6),
        inset 0 -6px 15px rgba(255, 255, 255, 0.02);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #666666, #333333);
    color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 10px rgba(0, 0, 0, 0.4),
        inset 0 4px 10px rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.8),
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 -5px 12px rgba(0, 0, 0, 0.5),
        inset 0 5px 12px rgba(255, 255, 255, 0.05);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-success {
    background: linear-gradient(135deg, #226622, #114411);
    color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 10px rgba(0, 0, 0, 0.4),
        inset 0 4px 10px rgba(255, 255, 255, 0.05);
}

.btn-success:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.8),
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 -5px 12px rgba(0, 0, 0, 0.5),
        inset 0 5px 12px rgba(255, 255, 255, 0.05);
}

.btn-success:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-danger {
    background: linear-gradient(135deg, #662222, #441111);
    color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 10px rgba(0, 0, 0, 0.4),
        inset 0 4px 10px rgba(255, 255, 255, 0.05);
}

.btn-danger:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.8),
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 -5px 12px rgba(0, 0, 0, 0.5),
        inset 0 5px 12px rgba(255, 255, 255, 0.05);
}

.btn-danger:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.review-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.6),
        0 7px 22px rgba(0, 0, 0, 0.5),
        inset 0 -8px 25px rgba(0, 0, 0, 0.3),
        inset 0 8px 20px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 12px 35px rgba(0, 0, 0, 0.6),
        inset 0 -10px 30px rgba(0, 0, 0, 0.4),
        inset 0 10px 25px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-card-title {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
}

.review-card-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(60, 60, 60, 0.5);
    border-radius: 20px;
    font-size: 0.8em;
    color: #cccccc;
    font-weight: bold;
}

.review-card-content {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-card-meta {
    display: flex;
    gap: 20px;
    color: rgba(200, 200, 200, 0.7);
    font-size: 0.9em;
}

.review-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.review-status-pending {
    background: rgba(150, 150, 100, 0.2);
    color: #ffffaa;
}

.review-status-approved {
    background: rgba(100, 150, 100, 0.2);
    color: #aaffaa;
}

.review-status-rejected {
    background: rgba(150, 100, 100, 0.2);
    color: #ffaaaa;
}

.search-results:empty::before {
    content: '搜索结果将显示在这里';
    color: rgba(200, 200, 200, 0.4);
    font-style: italic;
    font-size: 0.8em;
}

.search-results h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.85em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.search-results .item-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}

.search-results .item-table th {
    background: rgba(60, 60, 60, 0.5);
    color: #ffffff;
    padding: 6px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results .item-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cccccc;
    font-size: 0.8em;
}

.search-results .item-table tr:hover {
    background: rgba(70, 70, 70, 0.5);
}

.search-results .item-table tr:last-child td {
    border-bottom: none;
}

.global-search-results-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
}

.global-search-results-item:hover {
    background: rgba(60, 60, 60, 0.5);
}

.global-search-results-item:last-child {
    border-bottom: none;
}

.global-search-results-item-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 0.82em;
}

.global-search-results-item-desc {
    color: rgba(200, 200, 200, 0.7);
    font-size: 0.75em;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.table-wrapper::-webkit-scrollbar {
    height: 10px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 5px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #666666, #444444);
    border-radius: 5px;
    border: 2px solid rgba(20, 20, 20, 0.8);
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #777777, #555555);
}

.dimension-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.dimension-title {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #ffffff;
}

.sidebar-nav a.dimension-link {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.5), rgba(40, 40, 40, 0.5));
    color: #ffffff;
    font-weight: bold;
    border-left: 3px solid #ffffff;
    padding: 10px 18px;
    margin-bottom: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sidebar-nav a.dimension-link:hover {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.6), rgba(50, 50, 50, 0.6));
    border-left-color: #ffffff;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.code-box {
    background: #1a1a1a;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid #444444;
}

.code-header {
    background: #222222;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444444;
}

.code-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.8em;
}

.code-toggle {
    background: #333333;
    border: 1px solid #555555;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.75em;
}

.code-toggle:hover {
    background: #444444;
}

.code-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.code-content.show {
    max-height: 2000px;
    overflow-y: auto;
}

.code-content pre {
    margin: 0;
    padding: 8px;
    overflow-x: auto;
}

.code-content code {
    color: #e0e0e0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.75em;
    line-height: 1.3;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2000;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(20, 20, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.menu-toggle:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #ffffff;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 可折叠代码区域 */
.weapon-code-section {
    margin-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.weapon-code-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a2a;
    border: 1px solid #444444;
    border-radius: 2px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.75em;
    color: #ffffff;
    user-select: none;
    gap: 6px;
}

.weapon-code-toggle:hover {
    background: #333333;
}

.weapon-code-toggle.active {
    background: #1f1f1f;
}

.weapon-code-toggle .toggle-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weapon-code-toggle .toggle-icon {
    font-size: 1.4em;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    flex-shrink: 0;
}

.weapon-code-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.weapon-code-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.weapon-code-content.active {
    max-height: 2000px;
}

.weapon-code {
    background: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 2px;
    padding: 8px;
    margin-top: 6px;
    overflow-x: auto;
}

.weapon-code pre {
    margin: 0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.75em;
    line-height: 1.3;
    color: #e0e0e0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.weapon-code .keyword { color: #569cd6; }
.weapon-code .string { color: #ce9178; }
.weapon-code .number { color: #b5cea8; }
.weapon-code .comment { color: #6a9955; }
.weapon-code .function { color: #dcdcaa; }
.weapon-code .property { color: #9cdcfe; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(30, 30, 30, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.8), rgba(50, 50, 50, 0.9));
    border-color: #888888;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #666666, #444444);
    color: #ffffff;
    border-color: #ffffff;
    font-weight: bold;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    color: #cccccc;
    font-size: 0.9em;
    margin: 0 15px;
    font-weight: 500;
}

.lazy-load-trigger {
    height: 5px;
    margin: 20px 0;
    background: transparent;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #cccccc;
    font-size: 0.9em;
    display: none;
}

.loading-indicator.show {
    display: block;
}

.item-table tbody.paginated {
    display: table-row-group;
}

.item-table tbody.paginated tr.hidden {
    display: none;
}

.item-table tbody.paginated tr.visible {
    display: table-row;
}

.permission-denied {
    background: linear-gradient(135deg, rgba(80, 40, 40, 0.7), rgba(60, 30, 30, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #ff6b6b;
    padding: 24px;
    margin: 24px 0;
    border-radius: 14px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 -6px 20px rgba(0, 0, 0, 0.3),
        inset 0 6px 16px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.permission-denied::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 14px 14px 0 0;
    pointer-events: none;
}

.permission-denied:hover {
    transform: translateX(8px) scale(1.01);
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.8),
        inset 0 -8px 25px rgba(0, 0, 0, 0.4),
        inset 0 8px 20px rgba(255, 255, 255, 0.03);
}

.permission-denied h4 {
    color: #ffaaaa;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.permission-denied p {
    color: #ffcccc;
    font-size: 0.95em;
    line-height: 1.8;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 400px;
    padding: 18px 26px;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 12px 45px rgba(0, 0, 0, 0.7),
        0 5px 18px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-info {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.toast-info .toast-icon {
    color: #ffffff;
}

.toast-success {
    background: linear-gradient(135deg, rgba(30, 40, 30, 0.95), rgba(20, 30, 20, 0.98));
    border: 2px solid rgba(150, 255, 150, 0.2);
    color: #ffffff;
}

.toast-success .toast-icon {
    color: #aaffaa;
}

.toast-warning {
    background: linear-gradient(135deg, rgba(40, 35, 25, 0.95), rgba(30, 25, 15, 0.98));
    border: 2px solid rgba(255, 200, 150, 0.2);
    color: #ffffff;
}

.toast-warning .toast-icon {
    color: #ffccaa;
}

.toast-error {
    background: linear-gradient(135deg, rgba(40, 25, 25, 0.95), rgba(30, 15, 15, 0.98));
    border: 2px solid rgba(255, 150, 150, 0.2);
    color: #ffffff;
}

.toast-error .toast-icon {
    color: #ffaaaa;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toast-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.toast-icon-info::before {
    content: 'i';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
}

.toast-icon-success::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -4px;
}

.toast-icon-warning::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
}

.toast-icon-error::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

.toast-icon-error::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 3px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 2px;
}

.toast-icon-error::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 3px;
    background: currentColor;
    transform: rotate(-45deg);
    border-radius: 2px;
}

.toast-message {
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.5;
}

.disabled-overlay {
    position: relative;
}

.disabled-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.7), 
        rgba(30, 30, 30, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 3px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.disabled-overlay:hover::after {
    background: linear-gradient(135deg, 
        rgba(50, 50, 50, 0.8), 
        rgba(40, 40, 40, 0.9));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.disabled-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    text-align: center;
    padding: 24px 36px;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 3px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

#credits {
    position: relative;
    z-index: 20;
}

.disabled-message-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    opacity: 0.85;
    background: linear-gradient(135deg, #666666, #444444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disabled-message-icon::before {
    content: '';
    width: 18px;
    height: 22px;
    border: 3px solid #ffffff;
    border-radius: 4px 4px 6px 6px;
    position: relative;
}

.disabled-message-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background: #ffffff;
    top: 50%;
    transform: translateY(-50%);
}

.disabled-message-text {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.disabled-message-sub {
    color: #cccccc;
    font-size: 0.85em;
    margin-top: 6px;
}

/* 媒体查询保持不变，只修改颜色相关部分 */
@media (min-width: 1920px) {
    .sidebar {
        width: 300px;
    }

    .main-content {
        margin-left: 300px;
        padding: 60px 60px;
    }

    header {
        padding: 60px 50px;
    }

    header h1 {
        font-size: 2.6em;
    }

    section {
        padding: 50px 45px;
        margin-bottom: 50px;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 35px;
    }

    h3 {
        font-size: 1.3em;
        margin: 35px 0 20px 0;
    }

    p {
        margin-bottom: 20px;
        line-height: 2;
    }

    .area-grid {
        gap: 35px;
        margin-top: 35px;
    }

    .area-card {
        padding: 35px;
    }
}

@media (max-width: 1440px) {
    .sidebar {
        width: 240px;
    }

    .main-content {
        margin-left: 240px;
        padding: 45px 40px;
    }

    header h1 {
        font-size: 2em;
    }

    section {
        padding: 40px 35px;
        margin-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
        padding: 35px 30px;
    }

    header {
        padding: 40px 30px;
    }

    header h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    h3 {
        font-size: 1.2em;
        margin: 25px 0 18px 0;
    }

    section {
        padding: 30px 25px;
        margin-bottom: 35px;
    }

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

    .area-card {
        padding: 28px;
    }

    .enemy-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
        box-shadow: 6px 0 30px rgba(0, 0, 0, 0.8);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 25px 20px;
        padding-top: 90px;
    }

    header {
        padding: 35px 25px;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 1.6em;
    }

    header p {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    h3 {
        font-size: 1.15em;
        margin: 25px 0 18px 0;
    }

    h4 {
        font-size: 1.05em;
        margin: 18px 0 12px 0;
    }

    section {
        padding: 25px 20px;
        margin-bottom: 35px;
    }

    p {
        margin-bottom: 18px;
        line-height: 1.85;
    }

    .area-grid, .enemy-grid, .weapon-grid, .skill-grid, .element-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .area-card, .enemy-card, .weapon-card, .skill-card, .element-card, .boss-card, .teleport-card {
        padding: 25px;
    }

    .info-box, .warning-box, .tip-box {
        padding: 20px;
        margin: 22px 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .sidebar-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .main-content {
        padding: 20px 18px;
        padding-top: 85px;
    }

    header {
        padding: 30px 20px;
        margin-bottom: 25px;
    }

    header h1 {
        font-size: 1.45em;
    }

    header p {
        font-size: 0.88em;
    }

    h2 {
        font-size: 1.3em;
        margin-bottom: 22px;
    }

    h3 {
        font-size: 1.1em;
        margin: 22px 0 16px 0;
    }

    h4 {
        font-size: 1.02em;
        margin: 16px 0 10px 0;
    }

    section {
        padding: 22px 18px;
        margin-bottom: 30px;
    }

    p {
        margin-bottom: 16px;
        line-height: 1.8;
    }

    .area-card, .enemy-card, .weapon-card, .skill-card, .element-card {
        padding: 22px;
    }

    .area-grid, .enemy-grid, .weapon-grid, .skill-grid, .element-grid {
        gap: 18px;
        margin-top: 22px;
    }

    .info-box, .warning-box, .tip-box {
        padding: 18px;
        margin: 20px 0;
    }

    ul, ol {
        margin-left: 18px;
        margin-bottom: 18px;
    }

    li {
        margin-bottom: 9px;
        line-height: 1.75;
    }

    .sidebar {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    body {
        font-size: 12.5px;
    }

    .main-content {
        padding: 18px 15px;
        padding-top: 80px;
    }

    header {
        padding: 28px 18px;
        margin-bottom: 22px;
    }

    header h1 {
        font-size: 1.35em;
    }

    header p {
        font-size: 0.86em;
    }

    h2 {
        font-size: 1.25em;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.08em;
        margin: 20px 0 15px 0;
    }

    h4 {
        font-size: 1em;
        margin: 15px 0 10px 0;
    }

    section {
        padding: 20px 15px;
        margin-bottom: 28px;
    }

    p {
        margin-bottom: 15px;
        line-height: 1.75;
    }

    .area-card, .enemy-card, .weapon-card, .skill-card, .element-card {
        padding: 20px;
    }

    .area-grid, .enemy-grid, .weapon-grid, .skill-grid, .element-grid {
        gap: 16px;
        margin-top: 20px;
    }

    .info-box, .warning-box, .tip-box {
        padding: 16px;
        margin: 18px 0;
    }

    ul, ol {
        margin-left: 16px;
        margin-bottom: 16px;
    }

    li {
        margin-bottom: 8px;
        line-height: 1.7;
    }

    .sidebar {
        width: 100%;
        max-width: 280px;
    }
}