/* Banner样式 */
.banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

.banner__slider {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner__item {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
}

.banner__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner__content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.banner__content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.banner__content p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.banner__btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #c59c5f, #e2c992);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197,156,95,0.3);
}

.banner__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.banner__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banner__dot.active {
    background: #c59c5f;
    transform: scale(1.2);
}

.banner__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
}

.banner__arrow:hover {
    background: rgba(197,156,95,0.8);
}

.banner__arrow--prev {
    left: 30px;
}

.banner__arrow--next {
    right: 30px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新闻区域样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-tabs a {
    color: #999;
    text-decoration: none;
    padding: 8px 20px;
    margin: 0 5px;
    transition: color 0.3s;
}

.section-tabs a.active {
    color: #c59c5f;
    border-bottom: 2px solid #c59c5f;
}

.news__list {
    max-width: 1200px;
    margin: 0 auto;
}

.news__item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.news__item:nth-child(2) {
    animation-delay: 0.2s;
}

.news__item:nth-child(3) {
    animation-delay: 0.4s;
}

.news__item:nth-child(4) {
    animation-delay: 0.6s;
}

.news__date {
    color: #999;
    margin-right: 20px;
}

.news__title {
    flex: 1;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.news__title:hover {
    color: #c59c5f;
}

.news__tag {
    padding: 4px 12px;
    background: rgba(197,156,95,0.2);
    color: #c59c5f;
    border-radius: 2px;
}

/* 特色区域样式 */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    transform: translateY(var(--parallax-offset, 0));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.feature-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    pointer-events: none;
}

.feature-card__content {
    padding: 20px;
    text-align: center;
}

.feature-card__content h3 {
    color: #c59c5f;
    margin-bottom: 10px;
}

/* 添加页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-symbol {
    width: 60px;
    height: 60px;
    border: 3px solid #c59c5f;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式布局优化 */
@media (max-width: 768px) {
    .banner__content h2 {
        font-size: 32px;
    }
    
    .banner__content p {
        font-size: 18px;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .news__item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news__date {
        margin-right: 0;
    }
} 

/* 式神预览区域 */
.shishen-preview {
    position: relative;
    padding: 60px 0;
    background: url('../images/preview_bg.png') no-repeat center;
    background-size: cover;
}

.shishen-preview__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.shishen-preview__main {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0,0,0,0.5);
}

.shishen-preview__main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s;
}

.shishen-preview__main:hover img {
    transform: scale(1.05);
}

.shishen-preview__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.shishen-preview__info h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #c59c5f;
}

.shishen-type {
    color: #999;
    margin-bottom: 10px;
}

.preview-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #c59c5f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s;
}

.preview-btn:hover {
    background: #d4b17d;
    transform: translateY(-2px);
}

.shishen-preview__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-item {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
}

.preview-item.active {
    opacity: 1;
    border: 2px solid #c59c5f;
}

.preview-item:hover {
    opacity: 1;
}

/* 游戏攻略区域 */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.guide-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    background: rgba(197,156,95,0.9);
    color: #fff;
    border-radius: 4px;
}

/* 装饰元素 */
.decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.deco-item {
    position: absolute;
    opacity: 0.3;
}

.deco-sakura {
    background: url('../images/deco_sakura.png') no-repeat;
    width: 300px;
    height: 300px;
    top: 20%;
    left: 5%;
    animation: float 20s infinite linear;
}

.deco-cloud {
    background: url('../images/deco_cloud.png') no-repeat;
    width: 400px;
    height: 200px;
    top: 40%;
    right: 5%;
    animation: float 30s infinite linear reverse;
}

@keyframes float {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(20px, 20px) rotate(360deg);
    }
}

/* 鼠标跟随效果 */
.cursor-fx {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background: #c59c5f;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-outer {
    width: 40px;
    height: 40px;
    border: 1px solid #c59c5f;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: all 0.1s;
} 