* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../images/bg-pc.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    min-width: 100%;
}

.body {
    margin-inline: auto;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 3%;
    height: 80vh;
}

.btn img {
    width: 100%;
}

.text-center img {
    width: 40%;
}

.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    cursor: pointer;
}

.btn-list {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.btn-list span {
    margin-top: -1%;
}

.btn-list:hover {
    transform: scale(1.1)
}

.text-center {
    font-size: 2rem;
    color: white;
    font-weight: 600;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin-top: -1%;
}

.text-color {
    color: rgb(77, 18, 12);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    width: 100%;
}

.logo img {
    width: 30%;
}

@media screen and (max-width: 1000px) {
    .text-center {
        font-size: 3vw;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        width: 70%;
    }

    .text-center {
        font-size: 5vw;
    }
}


* {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC";
}

.site-footer {
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
}

@media (max-width: 800px) {
    .site-footer {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

html {
    font-size: 16px;
}

body {
    background-image: url("../images/bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    /* 修改这里 */
    position: relative;
}

.bg {
    box-sizing: border-box;
    padding: 5vh 1.25rem 3vh 5rem;
    display: flex;
    min-height: 100vh;
}

.lf_container {
    flex: 2;
    height: auto;
    margin-right: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== 9卡片网格 ===== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    padding: 0.5rem 0;
    height: 100%;
    align-content: stretch;
    grid-auto-rows: 1fr;
}

.platform-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 1.25rem;
    padding: 1.25rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.platform-card:hover::before {
    left: 100%;
}

.platform-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25), 0 0 20px rgba(41,130,255,0.15);
    border-color: rgba(255,255,255,0.4);
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
}

.platform-logo {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.platform-logo img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-logo img {
    transform: scale(1.08);
}

.platform-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.8rem;
    flex: 1;
    justify-content: center;
}

.platform-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.05em;
}

.platform-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    line-height: 1.4;
}

.platform-btn {
    background: linear-gradient(135deg, #f1c901 0%, #ffdb4d 100%);
    color: #1a1a1a;
    border-radius: 2rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(241,201,1,0.3);
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.platform-btn:hover {
    box-shadow: 0 6px 20px rgba(241,201,1,0.5);
    transform: scale(1.05);
}

.platform-btn .play_logo {
    width: 0.4rem;
    height: 0.5rem;
}

.lf_box1 {
    display: flex;
    background-image: linear-gradient(110deg,
            #0353ca 0%,
            #3181f9 50%,
            #1933bd 100%);
    border-radius: 1.5rem;
    height: 32vh;
    padding: 1.375rem 1.25rem 1.25rem 3.75rem;
    box-sizing: border-box;
}

.lf_box1_lf {
    width: 50%;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.lf_box1_logo {
    width: 31.8vh;
    height: 10vh;
    position: relative;
    bottom: 1rem;
    right: 1.4rem;
}

.lf_box1_lf_txt1 {
    color: #f1c901;
    font-size: calc(0.6vw + 1.2vh);
    margin-top: -1vh;
    margin-bottom: 0.7vh;
}

.lf_box1_lf_txt2 {
    color: rgba(255, 255, 255, 0.6);
    height: 2rem;
}

.lf_box1_lf_txt3 {
    display: flex;
    width: 92%;
    justify-content: space-between;
    margin-bottom: 1vh;
}

.lf_box1_lf_txt3min {
    display: none;
}

.lf_box1_lf_txt3 div {
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 0.7vw;
    color: #fff;
    border-radius: 4rem;
    width: 22%;
    height: 3.5vh;
    text-align: center;
    line-height: 3.5vh;
}

.lf_box1_lf_btn1 {
    width: 38%;
    height: 3.7vh;
    line-height: 3.7vh;
    background-color: #f1c901;
    border-radius: 5rem;
    font-size: 1vw;
    cursor: pointer;
    text-align: center;
}

.play_logo {
    width: 0.5vw;
    height: 0.6vw;
    margin-bottom: 0.1vw;
}

.lf_box1_rt {
    width: 50%;
    height: 100%;
    position: relative;
}

.lf_box1_lf_btns {
    display: none;
}

.lf_box1_bg {
    height: calc(7vw + 15vh);
    position: absolute;
    right: 9vw;
    top: 45%;
    transform: translate(0, -50%);
}

.lf_box1_bgmin {
    display: none;
}

.lf_box1min {
    display: none;
}

.lf_box1min2 {
    display: none;
}

/* 第二段 */
.lf_box2 {
    display: flex;
}

.lf_box2>div {
    background-color: #f1c901;
    position: relative;
    overflow: hidden;
}

.lf_box2_1 {
    box-sizing: border-box;
    margin-right: 1vw;
    background-image: url(../images/lf_box2_1_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2.125rem 0.4688rem 0 1.2313rem;
    display: flex;
    justify-content: space-between;
}

.lf_box2_1_lf {
    width: 58%;
    padding: 0 0 5vh 0.8vw;
}

.lf_box2_1_logo {
    width: 24vh;
    height: 6vh;
    margin-bottom: 1vh;
    position: relative;
    top: -0.2rem;
}

.lf_box2_1_txt1 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: calc(0.5vw + 1vh);
}

.lf_box2_1_rt {
    width: 45%;
    height: 100%;
    position: relative;
}

.lf_box2_1_bg {
    height: calc(5vh + 10vw);
    position: absolute;
    right: -1vw;
    top: 40%;
    transform: translate(0, -50%);
}

.lf_box2_1_btn1 {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 38%;
    height: 4vh;
    line-height: 4vh;
    background-color: #f1c901;
    border-radius: 5rem;
    font-size: 1vw;
    text-align: center;
    cursor: pointer;
}

.lf_box2_2 {
    box-sizing: border-box;
    background-image: url(../images/lf_box2_2_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 1.925rem 0.4688rem 0 1.2313rem;
    display: flex;
    position: relative;
    justify-content: space-between;
}

.lf_box2_2_txt1 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: calc(0.5vw + 1vh);
}

.lf_box2_2_logo {
    width: 15vh;
    height: 6vh;
}

.lf_box2_2_rt {
    width: 46%;
    height: 100%;
    position: relative;
}

.lf_box2_2_bg {
    height: calc(3vh + 9vw);
    position: absolute;
    right: -0.5vw;
    top: 44%;
    transform: translate(0, -50%);
}

/* 第三段 */
.lf_box3 {
    display: flex;
}

.lf_box3_1 {
    background-image: url(../images/lf_box3_1_bg.png);
    margin-right: 0.9vw;
}

.lf_box3_2 {
    background-image: url(../images/lf_box3_2_bg.png);
    margin-right: 0.9vw;
}

.lf_box3_3 {
    background-image: url(../images/lf_box3_3_bg.png);
}

.lf_box3>div {
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 4vh 1rem;
}

.lf_box3_txt1 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: 1.7vw;
    font-weight: 600;
}

.lf_box3_txt2 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: 1vw;
    background-color: rgba(255, 255, 255, 0.12);
    width: 80%;
    text-align: center;
    height: 5.5vh;
    line-height: 5.5vh;
    margin: 0.625rem 0;
    border-radius: 0.8rem;
}

.lf_box3_txt3 {
    font-family: "PingFang SC";
    font-size: 1vw;
    border-radius: 4.1262rem;
    background-color: #f1c901;
    width: 10vw;
    height: 4vh;
    line-height: 4vh;
    text-align: center;
    margin: 0.5vh 0;
    cursor: pointer;
}

/* 右边 */
.box1 {
    height: 28vh;
    flex: 1;
    border-radius: 1.5rem;
}

.rt_container {
    flex: 1;
    box-sizing: border-box;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
}

.rt_box {
    width: 100%;
    flex: 1;
    background-image: linear-gradient(281deg, #2878ff 19.93%, #01e8fe 126%);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 1.3625rem 2.5rem 1.5rem;
    justify-content: space-between;
}

.rt_txt1 {
    color: #fff;
    font-family: "DIN Alternate";
    font-size: 1.8vw;
    font-weight: 700;
}

.threelogo {
    width: 100%;
}

.rt_txt2 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: 1.3vw;
}

.rt_txt2 span {
    color: #ebff00;
    font-family: "PingFang SC";
    font-size: 1.4vw;
}

.rt_txt3 {
    color: #fff;
    font-family: "PingFang SC";
    font-size: 1.4vw;
    text-align: center;
    margin-bottom: 1vh;
}

.rt_txt4 {
    color: rgba(0, 0, 0, 0.7);
    font-family: "PingFang SC";
    font-size: 1.5vw;
    border-radius: 4.1262rem;
    background-color: #f1c901;
    width: 18vw;
    height: 4vw;
    line-height: 4vw;
    margin-top: 0.625rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}

/* 表格部分 */
.tab-header {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    margin: 0.8rem 0 0.5rem;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.rt_table {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 0 0.8rem;
}

.row_draw {
    min-height: 4.2vh;
    display: flex;
    align-items: center;
}

.row_draw div:nth-of-type(1) {
    border-right: 0.1rem solid rgba(255, 255, 255, 0.12);
}

.row_draw:last-child .cell_draw {
    border-bottom: none;
}

.cell_draw {
    width: 50%;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.12);
    padding: 0.8vh 0 0.8vh 2vw;
    color: #fff;
    font-family: "PingFang SC";
    font-size: 1.1vw;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cell_draw>span {
    color: #ebff00;
}

.popup {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 5rem;
    width: 5rem;
    margin-bottom: 5rem;
    margin-right: 1rem;
    cursor: pointer;
}

@media (max-width: 800px) {
    html {
        font-size: 12px;
    }

    .bg {
        flex-direction: column;
        padding: 3.8rem 1.25rem 5.6rem 2rem;
    }

    .lf_container {
        margin-bottom: 1.25rem;
    }

    .lf_box1 {
        border-radius: 3rem;
        height: 40rem;
        padding-top: 4.5rem;
        position: relative;
        background-image: url(../images/lf_box1_1_bg.png);
        background-size: 105% 105%;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 2rem;
    }

    .lf_box1_lf {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8rem;
    }

    .lf_box1_logo {
        width: 21rem;
        height: auto;
    }

    .lf_box1_lf_txt1 {
        font-size: 2rem;
    }

    .lf_box1_lf_txt2 {
        font-size: 1.5rem;
    }

    .lf_box1_lf_txt3 {
        display: none;
    }

    .lf_box1_lf_txt3min {
        display: block;
    }

    .lf_box1_lf_txt3min>div {
        display: flex;
        margin-bottom: 1rem;
    }

    .lf_box1_lf_txt3min>div div {
        font-family: "PingFang SC";
        background-color: rgba(255, 255, 255, 0.1);
        font-size: 2.3rem;
        color: rgba(255, 255, 255, 0.9);
        border-radius: 4rem;
        width: 11rem;
        height: 3.5rem;
        text-align: center;
        line-height: 3.5rem;
        margin-right: 1rem;
    }

    .lf_box1_lf_btn1 {
        display: none;
    }

    .lf_box1_bg {
        display: none;
    }

    .lf_box1_bgmin {
        display: block;
        width: 26rem;
        position: absolute;
        right: -1rem;
    }

    .lf_box1_lf_btns {
        position: absolute;
        bottom: 2.5rem;
        display: flex;
        width: 88%;
        justify-content: space-between;
    }

    .lf_box1_lf_btn2 {
        width: 49%;
        height: 5.75rem;
        line-height: 5.75rem;
        background-color: #f1c901;
        border-radius: 5rem;
        font-size: 1.95rem;
        text-align: center;
        box-sizing: border-box;
    }

    .play_logo {
        width: 1rem;
        height: 1.4rem;
        margin-bottom: 0.2vw;
    }

    .lf_box1min {
        border-radius: 3rem;
        display: block;
        height: 40rem;
        position: relative;
        display: flex;
        background-image: url(../images/lf_box2_1_bg.png);
        background-size: 105% 105%;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 1.25rem;
        padding: 4.5rem 1.25rem 1.25rem 3.75rem;
        box-sizing: border-box;
    }

    .lf_box1min .lf_box1_logo {
        width: 18rem;
        height: auto;
        margin-bottom: 1rem;
    }

    .lf_box1min .lf_box1_bgmin {
        width: 30rem;
        right: -2rem;
        top: -2rem;
    }

    .lf_box1min2 {
        border-radius: 3rem;
        display: block;
        height: 40rem;
        position: relative;
        display: flex;
        background-image: url(../images/lf_box2_2_bg.png);
        background-size: 105% 105%;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 1.25rem;
        padding: 4.5rem 1.25rem 1.25rem 3.75rem;
        box-sizing: border-box;
    }

    .lf_box1min2 .lf_box1_logo {
        width: 13.9rem;
        height: 5.547rem;
        margin-left: 1.3rem;
        margin-bottom: 1rem;
    }

    .lf_box1min2 .lf_box1_bgmin {
        width: 28rem;
        right: -1.3rem;
        top: 40%;
        transform: translate(0, -50%);
    }

    .lf_box2 {
        display: none;
    }

    .lf_box3 {
        display: none;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .platform-card {
        min-height: 160px;
        padding: 1rem 0.6rem;
        border-radius: 1rem;
    }

    .platform-logo {
        height: 45px;
    }

    .platform-name {
        font-size: 1.1rem;
    }

    .platform-desc {
        font-size: 0.8rem;
    }

    .platform-btn {
        font-size: 1.35rem;
        padding: 0.5rem 1rem;
    }

    /* 活动介绍 */
    .rt_box {
        border-radius: 3rem;
        padding: 1.3625rem 4.5rem 2.375rem;
    }

    .rt_txt1 {
        font-size: 3.6rem;
    }

    .rt_txt2 {
        font-size: 3.2rem;
        margin: 0.5rem 0;
    }

    .rt_txt2 span {
        font-size: 3.4rem;
    }

    .rt_txt3 {
        display: block;
        font-size: 2.4rem;
        margin-bottom: 0.5rem;
    }

    .rt_txt4 {
        width: 100%;
        height: 7rem;
        line-height: 7rem;
        font-size: 3.0rem;
    }

    .cell_draw {
        padding: 3vw 0 0 3.5vw;
        font-size: 6vw;
    }

    .popup {
        height: 9rem;
        width: 9rem;
        margin-bottom: 3rem;
        margin-right: 2rem;
    }
}

@media (max-width: 500px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    /* 第9个卡片（MK体育）单独占一整行 */
    .platform-card:nth-child(9) {
        grid-column: 1 / -1;
    }

    .platform-card {
        flex-direction: column;
        min-height: unset;
        padding: 1rem 0.5rem;
        align-items: center;
    }

    .platform-logo {
        width: 100%;
        height: 50px;
        margin-bottom: 0.6rem;
        margin-right: 0;
        flex-shrink: 0;
    }

    .platform-logo img {
        max-width: 95%;
    }

    .platform-info {
        align-items: center;
        text-align: center;
        margin-bottom: 0.6rem;
        flex: 1;
        width: 100%;
    }

    .platform-name {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.2rem;
    }

    .platform-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .platform-btn {
        margin-left: 0;
        flex-shrink: 0;
        font-size: 1.725rem;
        padding: 0.65rem 1.6rem;
        white-space: nowrap;
    }

    .tab-header {
        gap: 0.8rem;
        margin: 0.8rem 0 0.5rem;
    }

    .tab-btn {
        padding: 1.1rem 0;
        font-size: 2.5rem;
        border-radius: 0.8rem;
    }

    .rt_table {
        margin: 0 0 0.8rem;
    }

    .row_draw {
        height: 7vh;
    }

    .cell_draw {
        padding: 1.6vh 0 0 3vw;
        font-size: 2.2rem;
    }
}

@media (max-width: 300px) {
    html {
        font-size: 4px;
    }

    .cell_draw {
        padding-top: 7vw;
    }
}

@media (min-width: 300px) and (max-width: 350px) {
    html {
        font-size: 5px;
    }

    .cell_draw {
        padding-top: 6vw;
    }
}

@media (min-width: 350px) and (max-width: 400px) {
    html {
        font-size: 6px;
    }

    .cell_draw {
        padding-top: 5vw;
    }
}

@media (min-width: 400px) and (max-width: 450px) {
    html {
        font-size: 7px;
    }

    .cell_draw {
        padding-top: 4vw;
    }
}

@media (min-width: 450px) and (max-width: 500px) {
    html {
        font-size: 8px;
    }

    .cell_draw {
        padding-top: 3vw;
    }
}

@media (min-width: 500px) and (max-width: 550px) {
    html {
        font-size: 9px;
    }
}

@media (min-width: 550px) and (max-width: 600px) {
    html {
        font-size: 10px;
    }
}

@media (min-width: 600px) and (max-width: 650px) {
    html {
        font-size: 11px;
    }
}

@media (min-width: 650px) and (max-width: 700px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 700px) and (max-width: 750px) {
    html {
        font-size: 13px;
    }
}

@media (min-width: 800px) and (max-width: 1000px) {
    html {
        font-size: 10px;
    }
}

@media (min-width: 1000px) and (max-width: 1500px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 1500px) and (max-width: 1750px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1750px) and (max-width: 2560px) {
    html {
        font-size: 16px;
    }
}