* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;
}

/* 背景包装器 */
.bg-wrapper {
    min-height: 100vh;
    min-height: 600px\9; /* IE8/9 回退 */
    position: relative;
    z-index: 1;
    background: url('../images/background.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.bg-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 添加降级背景色 */
    background: rgb(44, 83, 100)\9;
    background: -webkit-linear-gradient(
        135deg,
        rgba(44, 83, 100, 0.7),
        rgba(63, 122, 156, 0.6),
        rgba(88, 150, 183, 0.5)
    );
    background: -moz-linear-gradient(
        135deg,
        rgba(44, 83, 100, 0.7),
        rgba(63, 122, 156, 0.6),
        rgba(88, 150, 183, 0.5)
    );
    background: linear-gradient(
        135deg,
        rgba(44, 83, 100, 0.7),
        rgba(63, 122, 156, 0.6),
        rgba(88, 150, 183, 0.5)
    );
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* 头部样式 */
header {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo h1 {
    font-size: 3rem;
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5),
                 0 0 20px rgba(241, 196, 15, 0.3),
                 0 0 30px rgba(241, 196, 15, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(241, 196, 15, 0.5),
                     0 0 20px rgba(241, 196, 15, 0.3),
                     0 0 30px rgba(241, 196, 15, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(241, 196, 15, 0.7),
                     0 0 30px rgba(241, 196, 15, 0.5),
                     0 0 40px rgba(241, 196, 15, 0.3);
    }
}

/* 导航样式 */
nav {
    text-align: center;
    margin-bottom: 2rem;
}

nav a {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin: 0 1rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(241, 196, 15, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #f1c40f;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

nav a:hover {
    background: rgba(241, 196, 15, 0.2);
    border-color: #f1c40f;
}

nav a.active {
    background: rgba(241, 196, 15, 0.3);
    border-color: #f1c40f;
    font-weight: bold;
}

/* 主要内容区域 */
.main-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 内容区块样式 */
.content-section {
    background: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 8px;
    margin-bottom: 3rem;
    padding: 2rem;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(241, 196, 15, 0.05) 50%,
        transparent 100%
    );
    animation: rotateGradient 10s linear infinite;
    pointer-events: none;
}

.content-section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(241, 196, 15, 0.3);
}

.section-header h2 {
    color: #f1c40f;
    font-size: 2rem;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
}

/* 特性列表样式 */
.feature-item {
    background: rgb(0, 0, 0)\9;
    background: rgba(0, 0, 0, 0.3);
    filter: alpha(opacity=30)\9;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-item h3 {
    color: #f1c40f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
}

.feature-item ul {
    list-style: none;
}

.feature-item ul li {
    color: #fff;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.feature-item ul li:last-child {
    border-bottom: none;
}

.feature-item:hover {
    *border-color: #f1c40f;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(241, 196, 15, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::after {
    opacity: 1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 副本系统样式 */
.dungeon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(241, 196, 15, 0.2);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

.dungeon h4 {
    color: #f1c40f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
}

/* 职业技能样式 */
.skill-class {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-class:hover {
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    -o-transform: translateX(5px);
    transform: translateX(5px);
    -webkit-box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    -moz-box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.skill-class h3 {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.3);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.skill-class ul {
    *zoom: 1;
}

.skill-class ul li {
    *float: left;
    *width: 45%;
    *margin-right: 5%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .skill-class ul {
        grid-template-columns: 1fr;
    }
    
    .skill-class {
        margin: 0 1rem;
    }
}

/* 页脚样式 */
footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

footer p {
    color: #f1c40f;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
}

/* 在现有样式中添加 */
.map-list {
    margin-top: 1rem;
}

.map-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.map-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.map-item h4 {
    color: #f1c40f;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
}

.map-item ul {
    list-style: none;
    padding: 0;
}

.map-item ul li {
    padding: 0.5rem 0;
    color: #fff;
    opacity: 0.9;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.map-item ul li:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .map-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .map-list {
        grid-template-columns: 1fr;
    }
}

/* 天界BOSS样式 */
.boss-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(241, 196, 15, 0.2);
}

.boss-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.boss-group h5 {
    color: #f1c40f;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

.boss-group ul {
    padding-left: 1rem;
}

.boss-group ul li {
    margin-bottom: 0.5rem;
}

.boss-drops ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(241, 196, 15, 0.2);
}

.boss-drops ul li {
    font-size: 0.95em;
    opacity: 0.9;
}

/* 职业技能样式优化 */
.skills-list {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-class {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-class:hover {
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    -o-transform: translateX(5px);
    transform: translateX(5px);
    -webkit-box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    -moz-box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    box-shadow: -5px 0 20px rgba(241, 196, 15, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.skill-class h3 {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.3);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.skill-class ul {
    *zoom: 1;
}

.skill-class ul li {
    *float: left;
    *width: 45%;
    *margin-right: 5%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .skill-class ul {
        grid-template-columns: 1fr;
    }
    
    .skill-class {
        margin: 0 1rem;
    }
} 