.main {
    width: 100%;
    margin: 0 auto;
    background-color: #000;
}

.top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
}

.top_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: center;
}

.top_1 > h1 {
    font-size: 5.625rem;
}

.top_1 > p {
    font-size: 2rem;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff;
}

.header-class {
    background-image: url('https://cdn-img.varegame.com/office/img/game-thumbnails-bg.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;

}

.logo {
    width: 12.375rem;
    height: 2.375rem;
}

nav {
    width: 15.625rem;
    text-align: right;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.25rem;
    position: relative;
    padding-bottom: 0.3125rem;
}

nav .home-a:hover {
    color: #E24923;
}

nav .home-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0.125rem;
    background-color: #E24923;
    transition: width 0.3s ease;
}

nav .home-a:hover::after {
    width: 2rem;
}

.home-h5, .community-h5 {
    display: none;
}

nav .community-a:hover {
    color: #E24923;
}

nav .community-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0.125rem;
    background-color: #E24923;
    transition: width 0.3s ease;
}

nav .community-a:hover::after {
    width: 2rem;
}

nav .mini-a:hover {
    color: #E24923;
}

nav .mini-a:hover::after {
    width: 2rem;
}

main {
    padding: 3.125rem 12.5rem;
}

section {
    margin-bottom: 6.25rem;
}

h2 {
    color: #fff;
    font-size: 3.625rem;
    margin-bottom: 0.625rem;
}

.feature-image {
    max-width: 100%;
    border-radius: 0.625rem;
}

.battle-image, .game-image {
    width: 26.25rem;
    height: 26.25rem;
}

.community-image {
    width: 26.25rem;
    height: 26.25rem;
}

.market-image {
    width: 95rem;
    height: 36.875rem;
    background: url("./img/marketplace.png");
    position: relative;
}

.market-bg-image {
    width: 37.13rem;
    height: 37.13rem;
}
.market-text{
    position: absolute;
    left: 15rem;
}
footer {
    text-align: center;
    padding: 1.25rem;
}

.section-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-content-h5 {
    display: none;
}

.communit-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-text {
    width: 23.25rem;
    margin-left: 3rem;
}

p {
    font-size: 1.625rem;
}

.section-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.orange-line {
    width: 2.875rem;
    height: 1rem;
    background: #E24923;
    border-radius: 0;
}
.white-line {
    width: 2.875rem;
    height: 1rem;
    background: #ffffff;
    border-radius: 0;
}
.decorative-element {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16.1875rem;
    height: 40.75rem;
    overflow: hidden;
}

.chevron {
    position: absolute;
    right: -3.125rem;
    width: 16.1875rem;
    height: 40.75rem;
    background-image: url("https://cdn-img.varegame.com/office/img/index-right-arrow.png");
    background-size: 100% 100%;
}

main {
    padding: 3.125rem 12.5rem 3.125rem 6.25rem;
    position: relative;
}

.popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1.25rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.5);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.popup::before {
    content: '';
    position: absolute;
    top: -0.625rem;
    right: 1.25rem;
    width: 0;
    height: 0;
    border-left: 0.625rem solid transparent;
    border-right: 0.625rem solid transparent;
    border-bottom: 0.625rem solid rgba(0, 0, 0, 0.8);
}

.popup img {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 0.625rem;
    background-color: white;
    padding: 0.625rem;
    border-radius: 0.5rem;
}

.popup p {
    color: #fff;
    margin: 0;
    font-size: 0.875rem;
}

.sp-footer__copy {
    padding: 1.0625rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0;
}

.sp-footer__copy p a {
    color: #fff;
    text-decoration: none;
}

.sp-footer__copy > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0.3125rem;
}

.sp-footer__copy .lz4 {
    width: 1.875rem;
    margin-left: 1.25rem;
}

.sp-footer__copy a {
    color: #666;
    padding: 0 0.125rem;
}

.sp-footer__copy span {
    font-size: 0.875rem;
    padding: 0 0.625rem;
}

.sp-footer__copy span:nth-child(2) {
    position: relative;
}

.sp-footer__copy span:nth-child(2):after, .sp-footer__copy span:nth-child(2):before {
    content: '';
    position: absolute;
    top: 0.1875rem;
    width: 0.0625rem;
    height: 0.75rem;
    background: #ccc;
}

.sp-footer__copy span:nth-child(2):after {
    left: 0;
}

.sp-footer__copy span:nth-child(2):before {
    right: 0;
}

.sp-footer__copy span:nth-child(3) {
    position: relative;
}

.sp-footer__copy span:nth-child(3):before {
    content: '';
    position: absolute;
    top: 0.1875rem;
    width: 0.0625rem;
    height: 0.75rem;
    background: #ccc;
}

.sp-footer__copy span:nth-child(3):after {
    left: 0;
}

.sp-footer__copy span:nth-child(3):before {
    right: 0;
}

.sp-footer__copy span:nth-child(4) {
    position: relative;
}

.sp-footer__copy span:nth-child(4):before {
    content: '';
    position: absolute;
    top: 0.1875rem;
    width: 0.0625rem;
    height: 0.75rem;
    background: #ccc;
}

.sp-footer__copy span:nth-child(4):after {
    left: 0;
}

.sp-footer__copy span:nth-child(4):before {
    right: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.9375rem;
    font-size: 1rem;
}

.scroll-down-icon {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3.5rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.32);
}

.scroll-down-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.scroll-down-icon img {
    width: 1rem;
    height: 1rem;
}

.content {
    width: 100%;
    height: 41.625rem;
    padding: 3.125rem 0;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content p {
    width: 75rem;
    height: 4.25rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 1.25rem;
    color: rgba(0,0,0,0.72);
    line-height: 2.125rem;
    letter-spacing: 0.0625rem;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.left-arrow, .left-arrow1 {
    width: 6.5rem;
    height: 15rem;
    background: url("https://cdn-img.varegame.com/office/img/content-left-arrow.png");
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 9.9375rem;
}

.right-arrow {
    width: 11.0625rem;
    height: 27.875rem;
    background: url("https://cdn-img.varegame.com/office/img/content-right-arrow.png");
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    top: 13.125rem;
}

.content-title {
    width: 8.5rem;
    height: 2.8125rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 600;
    font-size: 2rem;
    color: rgba(0,0,0,0.87);
    line-height: 2.375rem;
    letter-spacing: 0.125rem;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.content-us {
    width: 75rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.content-us-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-us img {
    width: 2.75rem;
    height: 2.75rem;
}

.content-us span {
    width: 23.0625rem;
    height: 1.75rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 1.25rem;
    color: rgba(0,0,0,0.72);
    line-height: 1.4375rem;
    letter-spacing: 0.0625rem;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

@media (max-width: 48rem) {
    .logo {
        width: 9rem;
        height: 1.8rem;
    }
    .main {
        width: 100%;
    }

    .top_1 {
        margin-bottom: 1.25rem;
    }

    .top_1 > h1 {
        font-size: 2.375rem;
    }

    .top_1 > p {
        font-size: 0.875rem;
    }

    nav {
        width: 100%;
        text-align: right;
    }

    nav a {
        margin: 0 0.3125rem;
    }

    .community-a, .home-a {
        display: none;
    }

    .home-h5, .community-h5 {
        display: inline;
    }

    main {
        padding: 1.875rem 1.25rem;
    }

    .section-content {
        display: none;
        flex-direction: column;
    }

    .section-content-h5 {
        display: flex;
        flex-direction: column;
    }

    .section-text {
        width: 100%;
        margin-left: 0;
        margin-top: 1.25rem;
    }

    .battle-image, .game-image, .community-image {
        width: 100%;
        height: auto;
    }

    .market-image {
        width: 100%;
        height: auto;
        background-size: cover;
        display: none;
    }

    .market-bg-image {
        display: none;
    }

    h2 {
        font-size: 2.25rem;
    }

    p {
        font-size: 1.125rem;
    }

    .content {
        height: auto;
        padding: 1.875rem 0;
    }

    .content p {
        width: 100%;
    }

    .content-us {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .content-us-item {
        width: 50%;
        margin-bottom: 1.25rem;
    }

    .content-us span {
        width: 100%;
        font-size: 0.75rem;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-links a {
        margin: 0.3125rem 0.625rem;
    }

    .sp-footer__copy > div {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sp-footer__copy span {
        padding: 0.3125rem;
    }

    .communit-content {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sp-footer__copy span:nth-child(2):after,
    .sp-footer__copy span:nth-child(2):before,
    .sp-footer__copy span:nth-child(3):before,
    .sp-footer__copy span:nth-child(4):before {
        display: none;
    }

    .decorative-element {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 16.1875rem;
        height: 40.75rem;
        overflow: hidden;
    }

    .chevron {
        position: absolute;
        right: -3.125rem;
        width: 6.25rem;
        height: 12.8125rem;
        background-image: url("https://cdn-img.varegame.com/office/img/index-right-arrow.png");
        background-size: 100% 100%;
    }

    .left-arrow {
        width: 2.5625rem;
        height: 8.25rem;
        background: url("https://cdn-img.varegame.com/office/img/content-left-arrow.png");
        background-size: 100% 100%;
        position: absolute;
        left: 0;
        top: -4.3125rem;
    }

    .left-arrow1 {
        width: 2.5625rem;
        height: 8.25rem;
        background: url("https://cdn-img.varegame.com/office/img/content-left-arrow.png");
        background-size: 100% 100%;
        position: absolute;
        left: 0;
        top: 4.3125rem;
    }

    .right-arrow {
        width: 2.5625rem;
        height: 8.25rem;
        background: url("https://cdn-img.varegame.com/office/img/content-right-arrow.png");
        background-size: 100% 100%;
        position: absolute;
        right: 0;
        top: 18.75rem;
    }
}
