/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: #121212 url('bg-texture.png');
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

h2 {
    text-align: center;
    font-size: 32px;
    color: #ffcc66;
    margin: 30px 0;
    font-weight: normal;
    height: 60px;
    line-height: 60px;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

h2:before, h2:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8a5a30, transparent);
}

h2:before {
    right: 60%;
}

h2:after {
    left: 60%;
}

h3 {
    font-size: 20px;
    color: #ffcc66;
    text-align: center;
    padding: 10px 0;
    position: relative;
    text-shadow: 0 0 5px rgba(255, 204, 102, 0.5);
}

/* 头部区域样式 */
.header {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    background: url('1.jpg') no-repeat center top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 100px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: auto;
    align-self: center;
}

.btn {
    display: inline-block;
    padding: 15px 50px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #d2a86a;
    background: linear-gradient(to bottom, rgba(210, 168, 106, 0.8), rgba(138, 90, 48, 0.8));
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    background: linear-gradient(to bottom, rgba(255, 204, 102, 0.8), rgba(210, 168, 106, 0.8));
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

/* 游戏介绍区域样式 */
.game-intro {
    padding: 60px 0;
    position: relative;
    background: #1a1508 url('intro-bg.png');
    background-size: cover;
    border-top: 2px solid #8a5a30;
    border-bottom: 2px solid #8a5a30;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.character {
    width: 250px;
    height: 500px;
    background: url('character.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 10px rgba(255, 204, 102, 0.3));
    transition: all 0.5s;
}

.character:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 204, 102, 0.5));
}

.intro-text {
    width: 100%;
    max-width: 900px;
    padding: 25px;
    background: rgba(26, 21, 8, 0.8);
    border: 1px solid #8a5a30;
    border-radius: 5px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}

.intro-text:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(210, 168, 106, 0.3);
    pointer-events: none;
}

.intro-text ul {
    list-style-type: none;
}

.intro-text li {
    color: #d2a86a;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(138, 90, 48, 0.5);
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}

.intro-text li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #ffcc66;
}

.side-icon {
    width: 100px;
    background: url('side-icon.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 10px rgba(255, 204, 102, 0.3));
}

/* 装备展示区域样式 */
.equipment-showcase {
    padding: 60px 0;
    background: #1a0e05 url('equip-bg.png');
    background-size: cover;
    position: relative;
}

.equipment-showcase:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(210, 168, 106, 0.15), rgba(138, 58, 9, 0.1) 60%);
}

.equipment-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.equipment-item {
    width: 260px;
    background: linear-gradient(to bottom, rgba(40, 25, 10, 0.9), rgba(26, 13, 5, 0.9));
    border: 2px solid #8a3a09;
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.equipment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: #d2a86a;
}

.equipment-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8a3a09, #d2a86a, #8a3a09);
}

.image-box {
    width: 100%;
    height: 320px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    border: 1px solid rgba(138, 90, 48, 0.5);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    overflow: hidden;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.equipment-item:hover .image-box img {
    transform: scale(1.05);
}

.image-box:after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
    color: rgba(210, 168, 106, 0.5);
}

.equipment-video {
    max-width: 800px;
    margin: 40px auto;
    background: linear-gradient(to bottom, rgba(40, 25, 10, 0.9), rgba(26, 13, 5, 0.9));
    border: 2px solid #8a3a09;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.equipment-video:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8a3a09, #d2a86a, #8a3a09);
}

.video-box {
    width: 100%;
    height: 600px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 90, 48, 0.5);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 页脚样式 */
.footer {
    background: #0a0805;
    padding: 30px 0;
    border-top: 1px solid #333;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a5a30, transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-logo {
    width: 80px;
    height: 40px;
    background: url('company-logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    transition: all 0.3s;
}

.company-logo:hover {
    opacity: 1;
}

/* 游戏标语样式 */
.slogan {
    position: relative;
    z-index: 5;
    margin-bottom: auto;
    margin-top: 25vh;
    text-align: left;
    margin-left: 8vw;
}

.slogan-line {
    font-size: 60px;
    font-weight: bold;
    color: #cf4f22;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    font-family: "华文行楷", "楷体", cursive;
    letter-spacing: 10px;
    transform: rotate(-10deg);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .equipment-images {
        max-width: 90%;
    }
    
    .equipment-video {
        max-width: 90%;
    }
    
    .intro-content {
        max-width: 90%;
    }
}

@media screen and (max-width: 992px) {
    .slogan-line {
        font-size: 60px;
        letter-spacing: 6px;
    }
    
    .buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .equipment-images {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .equipment-item {
        width: 45%;
    }
    
    .image-box {
        height: 280px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h2:before, h2:after {
        width: 80px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        min-height: 600px;
    }
    
    .slogan {
        margin-top: 15vh;
        margin-left: 10vw;
    }
    
    .slogan-line {
        font-size: 45px;
        letter-spacing: 4px;
    }
    
    .intro-content {
        flex-direction: column;
        align-items: center;
    }
    
    .character {
        width: 200px;
        height: 400px;
        margin-bottom: 20px;
    }
    
    .intro-text {
        margin: 20px 0;
    }
    
    .side-icon {
        width: 80px;
        margin-top: 20px;
    }
    
    .equipment-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .equipment-images {
        flex-direction: column;
        align-items: center;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 200px;
    }
    
    .video-box {
        height: 350px;
    }

    h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .slogan {
        margin-top: 10vh;
        margin-left: 5vw;
    }
    
    .slogan-line {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .header {
        min-height: 500px;
    }
    
    .buttons {
        margin-bottom: 50px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 180px;
    }
    
    .image-box {
        height: 240px;
    }
    
    .video-box {
        height: 250px;
    }
    
    h2 {
        font-size: 24px;
        height: 50px;
        line-height: 50px;
        margin: 20px 0;
    }
    
    h2:before, h2:after {
        width: 50px;
    }
    
    .intro-text li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 20px;
    }
    
    .character {
        width: 160px;
        height: 320px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .company-logo {
        margin: 0 auto;
    }
}
