/* ===== Hero Section ===== */
.hero {
    width: 28.9167rem;
    margin: 1.5rem auto 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    border-radius: 1.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 50%;
    height: 120%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: .6rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    letter-spacing: -.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== Swiper ===== */
.swiper {
    border-radius: .75rem;
    width: 31.25rem;
    height: 13.9167rem;
    margin: 1.4167rem auto 0;
    padding-top: 1.25rem;
}

.swiper-slide {
    border-radius: .75rem;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    display: flex;
    overflow: hidden;
    transform: scale(.9);
    width: 23.1667rem !important;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
    z-index: 2;
    transform: scale(1);
}

.swiper-slide a {
    width: 23.1667rem;
    display: inline-block;
}

.swiper-slide a img {
    object-fit: cover;
    border-radius: .75rem;
    width: 23.1667rem;
    height: 13.9167rem;
    display: block;
    overflow: hidden;
}

.swiper-bt {
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    border-bottom-right-radius: .75rem;
    border-bottom-left-radius: .75rem;
    width: 100%;
    height: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.swiper-bt > .s-tt {
    color: #fff;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 .5rem .4rem;
    font-size: .9rem;
    font-weight: bold;
    display: flex;
}

/* ===== Category Section ===== */
.box-type {
    width: 28.9167rem;
    margin: 0 auto;
}

.game-type {
    flex-flow: wrap;
    align-items: center;
    width: 100%;
    display: flex;
}

.game-type .item {
    flex-direction: column;
    align-items: center;
    width: 4.33rem;
    margin-bottom: 1.42rem;
    margin-right: 1.67rem;
    display: flex;
    transition: transform .25s cubic-bezier(.22,1,.36,1);
}

.game-type .item:active {
    transform: scale(0.9);
}

.game-type .item:nth-child(5n) {
    margin-right: 0;
}

.game-type .item > img {
    width: 4.33rem;
    height: 4.33rem;
    border-radius: 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: box-shadow .3s, transform .3s;
}

.game-type .item:hover > img {
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.game-type .item > span {
    color: rgba(255, 255, 255, 0.85);
    font-size: .83rem;
    font-weight: 700;
    display: block;
    margin-top: .7rem;
    transition: color .3s;
}

.game-type .item:hover > span {
    color: #fff;
}

/* ===== Box Layout 1 ===== */
.box1 {
    width: 29.0833rem;
    margin: 0 auto;
}

.box-list1 {
    flex-flow: wrap;
    display: flex;
}

.box-list1 .items {
    width: 13.9167rem;
    margin-bottom: 1.25rem;
    margin-right: 1.0833rem;
}

.box-list1 .items:nth-child(2n) {
    margin-right: 0;
}

.box-list1 .items > a {
    display: block;
}

.box-list1 .items > a > img {
    border-radius: .8333rem;
    width: 13.9167rem;
    height: 8.3333rem;
    overflow: hidden;
}

.box-list1 .items > a > p {
    text-align: center;
    color: #fff;
    text-overflow: ellipsis;
    word-break: break-all;
    width: 100%;
    height: 1.6667rem;
    margin-top: 1.1667rem;
    font-size: 1.1667rem;
    line-height: 1.6667rem;
    overflow: hidden;
}

/* ===== Box Temp ===== */
.box-temp {
    flex-flow: wrap;
    width: 29.0833rem;
    margin: 0 auto;
    display: flex;
}

.box-temp p {
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    border-bottom-right-radius: .8333rem;
    border-bottom-left-radius: .8333rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box-temp p > .txt {
    color: #fff;
    height: 4.32px;
    font-size: 2.4px;
    line-height: 4.32px;
}

.box-temp-1 {
    flex-flow: wrap;
    width: 100%;
    display: flex;
}

.box-temp-1 .item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: .8333rem;
    width: 9rem;
    height: 9rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.box-temp-1 .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.box-temp-1 .item:nth-child(3n+1) {
    margin-left: 0;
}

.box-temp-1 .item p {
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1.6667rem;
    margin: 0;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box-temp-1 .item a {
    width: 9rem;
    height: 9rem;
    display: block;
}

.box-temp-1 .item a img {
    width: 9rem;
    height: 9rem;
}

/* ===== Ranking ===== */
.rank {
    width: 28.9167rem;
    margin: 0 auto;
}

.top-head {
    flex-direction: row;
    align-items: center;
    width: 100%;
    display: flex;
}

.top-head > .item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: .8rem;
    flex-direction: column;
    align-items: center;
    width: 8.1667rem;
    height: 11.9167rem;
    margin-top: 1.4167rem;
    display: flex;
}

.top-head > .item:nth-child(2) {
    margin: -2.1667rem 2.1667rem 0;
}

.top-head > .item > .icon {
    background: none;
    width: 5.25rem;
    height: 1.75rem;
}

.top-head > .item > .img {
    border-radius: .5833rem;
    width: 3.75rem;
    height: 3.75rem;
    margin-top: .5833rem;
}

.top-head > .item > p {
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin-top: .5833rem;
    font-size: 1rem;
    overflow: hidden;
}

.top-head > .item > .star {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: .5833rem;
    padding: 0 .8333rem;
    display: flex;
}

.top-head > .item > .star .icon-star {
    width: .8333rem;
    height: .8333rem;
}

.top-head > .item > .score {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 .8333rem;
    display: flex;
}

.top-head > .item > .score > .txt1,
.top-head > .item > .score > .txt2 {
    color: #fff;
    font-size: .8333rem;
}

.top-con {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
}

.top-con > .items {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: .6rem;
    align-items: center;
    width: 28.9167rem;
    height: 5.75rem;
    margin-top: 1.1667rem;
    display: flex;
    transition: background-color .3s;
}

.top-con > .items:hover {
    background: rgba(255, 255, 255, 0.1);
}

.top-con > .items > a {
    align-items: center;
    display: flex;
}

.top-con > .items > a > .items-idx {
    color: #fff;
    margin-left: 1.3333rem;
    margin-right: 1.4167rem;
    font-size: 1.75rem;
}

.top-con > .items > a > .imgs {
    border-radius: .5833rem;
    width: 4.6667rem;
    height: 4.6667rem;
}

.top-con > .items > a > .g-info {
    flex-direction: column;
    width: 15rem;
    margin-left: 1.3333rem;
    display: flex;
}

.top-con > .items > a > .g-info > p {
    color: #fff;
    font-size: 1rem;
}

.top-con > .items > a > .g-info .star {
    flex-direction: row;
    height: .8333rem;
    margin: .5833rem 0;
    display: flex;
}

.top-con > .items > a > .g-info .star .icon-star {
    width: .8333rem;
    height: .8333rem;
    margin-right: .8333rem;
}

.top-con > .items > a .score {
    color: #fff;
    font-size: 1.75rem;
    font-weight: bold;
}

/* ===== Featured Box ===== */
.box-featured {
    width: 29.0833rem;
    margin: 0 auto;
    overflow: hidden;
}

.box-featured .more-scroll {
    width: 100%;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.box-featured .more-scroll::-webkit-scrollbar {
    display: none;
}

.box-featured .most-list {
    flex-flow: wrap;
    width: 41.6667rem;
    display: flex;
}

.box-featured .item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: .75rem;
    width: 12.5833rem;
    height: 8.4167rem;
    margin-top: 2.8333rem;
    margin-right: 1.1667rem;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}

.box-featured .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.box-featured .item .imgs {
    border-radius: .5833rem;
    width: 5.75rem;
    height: 5.75rem;
    position: absolute;
    top: -1.5833rem;
    left: 1.0833rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.box-featured .item .score {
    color: #f7c948;
    font-size: 1.75rem;
    font-weight: bold;
    position: absolute;
    top: 1.3333rem;
    right: 1.5833rem;
}

.box-featured .item .name {
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    bottom: 1.0833rem;
    left: .9167rem;
    overflow: hidden;
}

/* ===== Casual Game Section ===== */
.box-casual {
    width: 28.9167rem;
    margin: 0 auto;
}

.box-casual-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.box-casual-list .item {
    width: 8.67rem;
    height: 14.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: .8rem;
    margin-right: 1.42rem;
    margin-bottom: 1.42rem;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background-color .3s;
}

.box-casual-list .item:active {
    transform: scale(0.95);
}

.box-casual-list .item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.box-casual-list .item:nth-child(3n) {
    margin-right: 0;
}

.box-casual-list .item a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-casual-list .item a .imgs {
    width: 8.67rem;
    height: 8.67rem;
    border-radius: .8rem .8rem 0 0;
    object-fit: cover;
}

.box-casual-list .item a .name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    width: 100%;
    height: 1.5rem;
    margin: .8rem 0 .4rem;
    padding: 0 .6rem;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stars {
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: .6rem;
}

.stars > .star2 {
    width: .7rem;
    height: .7rem;
    margin-right: .35rem;
}

.stars > .star2:last-child {
    margin-right: 0;
}

.score {
    color: #f7c948;
    font-weight: 700;
}

/* ===== Most Section ===== */
.most {
    width: 28.9167rem;
    margin: 0 auto 1.25rem;
}

.most .item-l-4 {
    flex-direction: row;
    width: 100%;
    height: 14.25rem;
    display: flex;
}

.most .item-l-4 .lt {
    border-radius: .75rem;
    width: 14.25rem;
    height: 14.25rem;
    position: relative;
    overflow: hidden;
}

.most .item-l-4 .lt > a {
    display: block;
}

.most .item-l-4 .lt img,
.most .item-l-4 .rt img {
    border-radius: .75rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.most .item-l-4 .lt:hover img,
.most .item-l-4 .rt a:hover img {
    transform: scale(1.05);
}

.most .item-l-4 .rt {
    flex-flow: wrap;
    width: 14.6667rem;
    height: 14.25rem;
    display: flex;
}

.most .item-l-4 .rt > a {
    border-radius: .8333rem;
    width: 6.9167rem;
    height: 6.9167rem;
    margin-left: .4167rem;
    display: block;
    position: relative;
    overflow: hidden;
}

.most .item-r-4 {
    flex-direction: row;
    width: 100%;
    height: 14.25rem;
    display: flex;
}

.most .item-r-4 .lt {
    border-radius: .75rem;
    width: 14.25rem;
    height: 14.25rem;
    margin-top: .4167rem;
    position: relative;
    overflow: hidden;
}

.most .item-r-4 .lt > a {
    display: block;
}

.most .item-r-4 .lt img,
.most .item-r-4 .rt img {
    border-radius: .75rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.most .item-r-4 .lt:hover img,
.most .item-r-4 .rt a:hover img {
    transform: scale(1.05);
}

.most .item-r-4 .rt {
    flex-flow: wrap;
    width: 14.6667rem;
    height: 14.6667rem;
    display: flex;
}

.most .item-r-4 .rt > a {
    border-radius: .8333rem;
    width: 6.9167rem;
    height: 6.9167rem;
    margin-top: .4167rem;
    margin-right: .4167rem;
    display: block;
    position: relative;
    overflow: hidden;
}
