* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial;
    background: #000;
    color: #fff;
}

/* ===== 顶部 ===== */
.top-wrap {
    position: relative;
    height: 85vh;
    background-size: cover;
    background-position: center;
}

.top-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.top-content {
    position: relative;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* ===== 左侧 ===== */
.game-info {
    max-width: 480px;
}

.game-logo img {
    width: 120px;
    height: 120px;        /* 根据需要调整大小 */
    border-radius: 15px;  /* 圆角大小，可调 */
    text-align: center; /* 让 img 水平居中 */
    margin-top: 20px;   /* 顶部间距 */
}

.game-title {
    font-size: 48px;
    margin-top: 20px;
}

.game-slogan {
    font-size: 20px;
    margin: 10px 0 30px;
    color: #f0c36a;
}

.btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.btn-group.single {
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.btn-main {
    background: linear-gradient(45deg,#f0c36a,#ffeb9b);
    color: #000;
}

.btn-outline {
    border: 2px solid #f0c36a;
    color: #f0c36a;
}

.game-desc {
    line-height: 1.8;
    font-size: 14px;
    opacity: .9;
}

/* ===== 右侧手机 ===== */
.phone-box {
     width: 400px;
     display: flex;
     justify-content: center;
 }

.phone-frame {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

/* 横屏截图专用 */
.phone-frame.landscape img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 关键：横屏不裁剪不变形 */
    opacity: 0;
    transition: opacity 0.6s ease;
}

.phone-frame img.active {
    opacity: 1;
}

/* ===== 上下切换按钮 ===== */
.nav-btn {
    position: absolute;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.55);
    color: #f0c36a;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    transition: background .3s;
}

.nav-btn:hover {
    background: rgba(0,0,0,0.8);
}

.nav-btn.prev {
    top: 45%;
}

.nav-btn.next {
    top: 55%;
}

/* 移动端缩放 */
@media (max-width: 900px) {
    .phone-box {
        width: 400px;
    }

    .phone-frame {
        height: 320px;
    }
}

/* ===== 中部 ===== */
.mid-wrap {
    background: #0e0e0e;
    text-align: center;
    padding: 80px 20px;
}

.mid-wrap h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #f0c36a;
}

.mid-wrap p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    color: #ccc;
}

/* ===== 底部 ===== */
.footer {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #777;
}

/* ===== 移动端 ===== */
@media (max-width: 900px) {
    .top-content {
        flex-direction: column;
        text-align: center;
    }

    .phone-box {
        margin-top: 40px;
    }
}
