/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '微软雅黑', sans-serif;
}

body {
    background-color: #0a051a;
    color: #fff;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(114, 9, 183, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

/* 顶部海报样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 固定快捷按钮 */
.fixed-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 130px;
    height: 130px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
    border: 4px solid transparent;
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fixed-button:hover {
    transform: translateY(-50%) scale(1.08);
    border-color: #ffd700;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.9);
}

.left-button {
    left: 20px;
    background: linear-gradient(135deg, #e63946, #f4a261, #e9c46a);
}

.right-button {
    right: 20px;
    background: linear-gradient(135deg, #4361ee, #7209b7, #f72585);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.button-icon {
    width: 45px;
    height: 45px;
}

.button-text {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 主按钮区域 */
.main-buttons {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    padding: 0 20px;
    z-index: 50;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.main-btn {
    background: linear-gradient(135deg, #e63946, #f4a261);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.main-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.6);
}

.main-btn:hover::after {
    opacity: 1;
}

.main-btn i {
    font-size: 24px;
}

.main-btn.clicked {
    transform: scale(0.96);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transition: all 0.2s ease;
}

/* 开区时间样式 */
.server-section {
    background-color: rgba(10, 5, 26, 0.9);
    border-top: 3px solid #ffd700;
    border-bottom: 3px solid #ffd700;
    padding: 60px 0 40px;
    position: relative;
}

.server-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.server-card {
    background-color: rgba(30, 10, 60, 0.8);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    flex: 1 1 350px;
    min-width: 280px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.server-card:hover {
    transform: translateY(-10px);
}

.server-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ffd700, #ff6600, #ffd700);
}

.server-title {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 8px #000;
}

.server-date {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
    text-shadow: 0 0 15px #ffd700;
}

.dynamic-date {
    position: relative;
    display: inline-block;
}

.dynamic-date::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff6600);
    border-radius: 3px;
}

.server-desc {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
    text-align: left;
}

.server-desc p {
    margin-bottom: 20px;
}

/* 截图展示区 */
.screenshots-section {
    padding: 70px 0;
    position: relative;
}

.screenshots-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.screenshot-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.screenshot-wrapper:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
}

/* 单行双列布局 - 偶数行使用 */
.row-of-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 单数行大图样式 */
.single-image .screenshot {
    height: auto;
    max-height: 800px;
    aspect-ratio: 16/9;
    object-fit: contain;
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

/* 双数行小图样式 */
.row-of-two .screenshot {
    height: auto;
    max-height: 500px;
    aspect-ratio: 16/9;
    object-fit: contain;
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 5, 26, 0.9), transparent);
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    font-size: 1.1rem;
}

.screenshot-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* 鼠标悬停时显示描述 */
.screenshot-wrapper:hover .screenshot-caption {
    opacity: 1;
}

/* 游戏介绍区 */
.game-intro-section {
    background-color: rgba(10, 5, 26, 0.6);
    padding: 100px 0;
    border-top: 2px solid #553388;
    border-bottom: 2px solid #553388;
}

.intro-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.intro-text {
    flex: 1 1 550px;
}

.section-title {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #f4a261);
}

.intro-desc {
    font-size: 1.2rem;
    line-height: 2;
    color: #eee;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-item {
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
}

.feature-item::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #ff6600;
    font-size: 1.8rem;
    top: -2px;
}

.feature-title {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.feature-desc {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

.intro-image {
    flex: 1 1 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-img {
    width: 100%;
    max-width: 550px;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    transition: transform 0.5s ease;
}

.intro-img:hover {
    transform: scale(1.03);
}

/* 页脚 - 放大至100px的图片链接样式 */
.footer {
    background-color: #050210;
    padding: 80px 0 30px;
    text-align: center;
    border-top: 2px solid #331166;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ff9900;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-image {
    height: 100px;
    width: auto;
    margin: 0 15px;
    border-radius: 15px;
    transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}

.footer-image:hover {
    transform: scale(1.2);
    filter: brightness(1.4) drop-shadow(0 0 15px rgba(255,215,0,0.7));
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.footer-image:active {
    transform: scale(0.95);
}

.footer-copyright {
    color: #666;
    font-size: 1rem;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-section {
        height: 90vh;
    }
    
    .main-btn {
        padding: 15px 30px;
        font-size: 1rem;
        min-width: 240px;
    }
    
    .server-card {
        flex: 1 1 100%;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .fixed-button {
        width: 110px;
        height: 110px;
    }
    
    .button-icon {
        width: 40px;
        height: 40px;
    }
    
    .button-text {
        font-size: 16px;
    }
    
    .screenshots-container {
        gap: 30px;
    }
    
    .single-image .screenshot {
        max-height: 600px;
    }
    
    .row-of-two .screenshot {
        max-height: 400px;
    }
    
    /* 页脚响应式 */
    .footer-image {
        height: 90px;
        margin: 0 12px;
    }
    .footer {
        padding: 70px 0 30px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 85vh;
    }
    
    .main-buttons {
        bottom: 12%;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .single-image .screenshot {
        max-height: 500px;
    }
    
    .row-of-two .screenshot {
        max-height: 350px;
    }
    
    /* 页脚响应式 */
    .footer-image {
        height: 85px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .main-buttons {
        bottom: 10%;
        gap: 20px;
    }
    
    .main-btn {
        padding: 15px 30px;
        font-size: 1rem;
        min-width: 100%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .fixed-button {
        width: 100px;
        height: 100px;
    }
    
    .button-icon {
        width: 35px;
        height: 35px;
    }
    
    .button-text {
        font-size: 14px;
    }
    
    .single-image .screenshot {
        max-height: 400px;
    }
    
    .row-of-two .screenshot {
        max-height: 300px;
    }
    
    .screenshot-caption {
        padding: 20px;
    }
    
    .server-desc p {
        margin-bottom: 15px;
    }
    
    /* 页脚响应式 */
    .footer-image {
        height: 80px;
        margin: 0 10px;
    }
    .footer-links {
        gap: 6px;
    }
    .footer {
        padding: 60px 0 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }
    
    .main-buttons {
        bottom: 8%;
    }
    
    .main-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .server-card {
        padding: 25px;
    }
    
    .server-title {
        font-size: 1.8rem;
    }
    
    .server-date {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-desc {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .fixed-button {
        width: 80px;
        height: 80px;
        padding: 5px;
    }
    
    .button-content {
        gap: 10px;
    }
    
    .button-icon {
        width: 30px;
        height: 30px;
    }
    
    .button-text {
        font-size: 12px;
    }
    
    .single-image .screenshot {
        max-height: 300px;
    }
    
    .row-of-two .screenshot {
        max-height: 250px;
    }
    
    .screenshot-caption {
        padding: 15px;
        font-size: 1rem;
    }
    
    .screenshot-caption h3 {
        font-size: 1.2rem;
    }
    
    .server-desc p {
        margin-bottom: 12px;
    }
    
    /* 页脚响应式 */
    .footer-image {
        height: 70px;
        margin: 0 8px;
    }
    .footer-links {
        gap: 4px;
    }
    .footer {
        padding: 50px 0 20px;
    }
}