/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-image: url('QQ图片20260224200410.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 背景叠加层 */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* 内容层 */
.header, .main, .footer, .characters {
    position: relative;
    z-index: 2;
}

/* 人物角色 */
.characters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.character {
    position: absolute;
    transition: all 0.3s ease;
}

.character img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* 左侧人物 */
.character.left {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    z-index: 3;
}

/* 右侧人物1 */
.character.right.right-1 {
    right: -80px;
    top: 40%;
    transform: translateY(-50%);
    width: 350px;
    z-index: 3;
}

/* 右侧人物2 */
.character.right.right-2 {
    right: 100px;
    bottom: 100px;
    width: 200px;
    z-index: 2;
}

/* 中下方人物 */
.character.center-bottom {
    left: 50%;
    bottom: 150px;
    transform: translateX(-50%);
    width: 250px;
    z-index: 1;
}

/* 头部样式 */
.header {
    width: 100%;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.game-title {
    font-size: 6rem;
    font-weight: bold;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 15px;
    animation: glow 2s ease-in-out infinite alternate;
    font-family: 'STXingkai', '华文行楷', 'STKaiti', '楷体', 'STZhongsong', '华文中宋', serif;
    color: #ffd700;
    line-height: 1.2;
    display: inline-block;
}



/* 主要内容 */
.main {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* 导航按钮 */
.nav-buttons {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    height: 280px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
}

.nav-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-eng {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cccccc;
}

/* 底部信息 */
.footer {
    width: 100%;
    padding: 20px 20px;
    background: transparent;
    border-top: none;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;
    cursor: pointer;
}

.contact-item.qq {
    background: linear-gradient(45deg, #12b7f5, #0e8cd6);
    color: white;
}

.contact-item.group {
    background: linear-gradient(45deg, #28c76f, #1e9e5e);
    color: white;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-label {
    font-weight: bold;
}

.contact-value {
    font-family: 'Courier New', monospace;
    font-weight: normal;
}

/* 动画效果 */
@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(255, 215, 0, 1), 0 0 70px rgba(255, 215, 0, 0.7), 0 0 100px rgba(255, 215, 0, 0.5);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .game-title {
        font-size: 6rem;
        letter-spacing: 8px;
    }
    
    .header {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .nav-buttons {
        gap: 30px;
    }
    
    .nav-item {
        max-width: 200px;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .game-title {
        font-size: 5rem;
        letter-spacing: 6px;
    }
    
    .header {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .nav-buttons {
        gap: 20px;
    }
    
    .nav-item {
        max-width: 180px;
        height: 280px;
    }
    
    .nav-text {
        font-size: 1.6rem;
    }
    
    .nav-eng {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .game-title {
        font-size: 4rem;
        letter-spacing: 5px;
    }
    
    .header {
        padding-top: 60px;
        padding-bottom: 30px;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-item {
        max-width: 300px;
        width: 100%;
        height: 120px;
    }
    
    .nav-link {
        flex-direction: row;
        gap: 20px;
    }
    
    .nav-text {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .character.left {
        width: 300px;
        left: -40px;
    }
    
    .character.right.right-1 {
        width: 300px;
        right: -60px;
    }
    
    .character.right.right-2 {
        width: 180px;
        right: 80px;
        bottom: 80px;
    }
    
    .character.center-bottom {
        width: 220px;
        bottom: 120px;
    }
}

@media (max-width: 992px) {
    .character.left {
        width: 250px;
        left: -30px;
    }
    
    .character.right.right-1 {
        width: 250px;
        right: -50px;
    }
    
    .character.right.right-2 {
        width: 160px;
        right: 60px;
        bottom: 70px;
    }
    
    .character.center-bottom {
        width: 200px;
        bottom: 100px;
    }
}

@media (max-width: 768px) {
    .characters {
        display: none;
    }
}

@media (max-width: 1200px) {
    .character.left {
        width: 300px;
        left: -40px;
    }
    
    .character.right.right-1 {
        width: 300px;
        right: -60px;
    }
    
    .character.right.right-2 {
        width: 180px;
        right: 80px;
        bottom: 80px;
    }
    
    .character.center-bottom {
        width: 220px;
        bottom: 120px;
    }
}

@media (max-width: 992px) {
    .character.left {
        width: 250px;
        left: -30px;
    }
    
    .character.right.right-1 {
        width: 250px;
        right: -50px;
    }
    
    .character.right.right-2 {
        width: 160px;
        right: 60px;
        bottom: 70px;
    }
    
    .character.center-bottom {
        width: 200px;
        bottom: 100px;
    }
}

@media (max-width: 768px) {
    .characters {
        display: none;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    
    .header {
        padding-top: 50px;
        padding-bottom: 20px;
    }
    
    .main {
        padding: 20px 15px;
    }
    
    .nav-item {
        max-width: 280px;
        height: 100px;
    }
    
    .nav-text {
        font-size: 1.5rem;
    }
    
    .nav-eng {
        font-size: 0.8rem;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header, .nav-item, .footer {
    animation: fadeIn 1s ease-out forwards;
}

.header {
    animation-delay: 0.2s;
}

.nav-item:nth-child(1) {
    animation-delay: 0.4s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.5s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.6s;
}

.nav-item:nth-child(4) {
    animation-delay: 0.7s;
}

.footer {
    animation-delay: 0.8s;
}
