.sec_title {
    font-size: var(--ft20);
    color: var(--gray-700);
    font-weight: var(--semi-bold);
}
.sec_header {
    margin-bottom: 40px;
}

/*-- 히어로섹션 --*/
.hero_sec {
    margin-bottom: var(--sec-gap);
}
.hero_banner_wrap {
    padding: 0 20px;
    position: relative;
    margin: 0 auto;
    padding-bottom: 30px;
}
.hero_swiper .swiper-slide {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5 / 2;
}
.hero_banner {    
    position: relative;
}
.hero_visual {
    width: 100%;
    height: 100%;
}

.hero_swiper_controller {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 2;
}
.hero_count {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 30px;
}

.hero_fraction {
    font-size: var(--ft18);
    color: white;
}
.hero_fraction span {
    color: inherit;
}
.hero_fraction .swiper-pagination-current {
    font-weight: var(--semi-bold);
}
.hero_swiper_toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--white-200);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}
.hero_swiper_toggle:hover {
    background: var(--white-400);
}
.hero_swiper_toggle img {
    width: 12px;
    height: 12px; 
}
.hero_swiper_toggle .play_icon,
.hero_swiper_toggle.paused .pause_icon {
    display: none;
}
.hero_swiper_toggle .pause_icon,
.hero_swiper_toggle.paused .play_icon {
    display: block;
}

/* 히어로썸네일 스와이퍼 */
.thumb_nav_wrap {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--white-700);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.hero_swiper_prev,
.hero_swiper_next {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.hero_thumb_swiper {
    width: 100%;
    margin: 0 10px;
}

.hero_thumb_swiper .swiper-slide {
    min-width: 25%;
    flex: 1 0 0;
    padding: 0 30px;
}

.thumb_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 64px;
    padding: 0 18px;
    color: #444;
    cursor: pointer;
    box-sizing: border-box;
}

.thumb_img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-200);
}

.thumb_txt {
    font-size: var(--ft16);
    color: var(--gray-600);
    font-weight: var(--semi-bold);
    opacity: 0.6;
}

.swiper-slide-thumb-active .thumb_txt{
    opacity: 1;
}
.thumb_item::after {
    content: '';
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}
.swiper-slide-thumb-active .thumb_item::after {
    animation: heroProgress 3s linear forwards;
    animation-play-state: running;
}
.hero_thumb_swiper.paused .thumb_item::after {
    animation-play-state: paused;
}

@keyframes heroProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/*-- 게임목록 섹션 --*/
.game_sec {
    margin-bottom: var(--sec-gap);
}
.game_sec h2 {
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
}
.game_sec .game_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 130px;
}
.game_sec .game_list a {
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: all .4s ease;
}
.game_sec .game_list a:hover {
    background: var(--primary-bg-light);
    box-shadow: var(--shadow);
    border: 1px solid var(--primary);
    transform: translateY(-2px);
}
.game_sec .game_thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.game_sec .game_thumb > img {
    scale: 1;
    transition: scale .4s ease;
}
.game_sec .game_thumb .item_mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(142deg, var(--primary-gradient)), #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 1;
}
.game_sec .game_thumb .item_mark img {
    width: 16px;
    height: 16px;
}

.game_sec .game_list a:hover .game_thumb > img {
    scale: 1.1;
}
.game_sec .game_title {
    font-size: var(--ft18);
    color: var(--gray-700);
    font-weight: var(--medium);
    text-align: center;
    margin-top: 20px;
}



/* -- 인기아이템 섹션 -- */
.rising_items_sec {
    margin-bottom: var(--sec-gap);
}
.rising_items_sec .sec_control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 40px;
}
.rising_tabs {
    display: flex;
    align-items: center;
    gap: 24px;
}
.rising_tabs button {
    color: var(--gray-400);
    font-size: var(--ft16);
    font-weight: var(--medium);
}
.rising_tabs button.active {
    color: var(--gray-700);
}
.rising_tabs button::after {
    content: '';
    display: block;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    border-radius: 9px;
    background: var(--primary);
    margin-top: 6px;
    transition: transform .4s ease;
}
.rising_tabs button:not(.active):hover {
    color: var(--gray-600);
}
.rising_tabs button:hover::after {
    transform: scaleX(1);
}
.rising_tabs button.active::after {
    transform: scaleX(1);
}

.store_swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


.item_swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.item_swiper .swiper-slide:hover {
    z-index: 3;
}
.store_pager,
.item_pager {
    display: none;
}


/* 인기플레이로그 섹션 */
.popularlog_sec {
    margin-bottom: var(--sec-gap);
}
.popularlog_list {
    width: 100%;
}
.popularlog_list .swiper-slide {
    max-width: calc(100% / 6);
    margin-right: 20px;
}
.popularlog_list .swiper-slide:last-child {
    margin-right: 0;
}
.popularlog_list .user_profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: fit-content;
}
.popularlog_list .user_level {
    height: 28px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -10px);
}
.popularlog_list .user_level span {
    font-size: var(--ft13);
}
.popularlog_list .user_thumb {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
}
.popularlog_list .user_thumb img {
    border-radius: var(--radius-lg);
}
.popularlog_list .user_nickname {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
    margin-bottom: 5px;
}
.popularlog_list .follow_count {
    color: var(--gray-500);
    font-size: var(--ft13);
}
.popularlog_list .follow_btn {
    background: var(--gray-600);
    color: var(--white);
    font-size: var(--ft13);
    font-weight: var(--medium);
    padding: 8px 14px;
    border-radius: 99px;
    display: block;
    margin: 20px auto 0;
}
.popularlog_list .follow_btn.complete {
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: var(--semi-bold);
}


/* cs 섹션 */
.top_cs_grid {
    margin-bottom: 36px;
}
.cs_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 38px;
}

.cs_panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.article_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.article_head_l {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.article_title {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
    flex-shrink: 0;
}


/* 공지사항 */
.notice_list {
    border-top: 1px solid var(--dark-line);
}

.notice_list li {
    border-bottom: 1px solid var(--dark-line);
    transition: background .4s ease;
}

.notice_list li:hover {
    background: var(--primary-bg-light);
}

.notice_list li a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
}

.notice_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 99px;
    background: var(--gray-400);
    color: white;
    font-size: var(--ft14);
    font-weight: var(--medium);
    flex-shrink: 0;
}

.notice_badge.event {
    background: var(--primary);
}

.notice_title {
    flex: 1;
    min-width: 0;
    font-size: var(--ft16);
    color: var(--gray-700);
}

.notice_date {
    flex-shrink: 0;
    font-size: var(--ft14);
    color: var(--gray-400);
}

/* FAQ */
.pager {
    display: flex;
    align-items: center;
}
.pager.swiper-pagination {
    position: static;
    z-index: 1;
}

.pager .swiper-pagination-bullet-active {
    border-radius: 9px;
    width: 50px;
}
.pager button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #cfcfcf;
    padding: 0;
}
.pager button.is-active {
    width: 52px;
    border-radius: 999px;
    background: var(--primary);
}

.faq_swiper {
    height: 100%;
}

.faq_box {
    height: 100%;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
}

.faq_q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    /* background: var(--bg); */
}
.faq_q p {
    font-size: var(--ft18);
    color: var(--gray-700);
    font-weight: var(--medium);
}

.faq_q span {
    flex-shrink: 0;
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--primary);
}

.faq_question p {
    font-size: var(--ft16);
    color: var(--gray-700);
}

.faq_a {
    flex: 1 0 0;
    margin-top: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    overflow-y: auto;
    font-size: var(--ft14);
    line-height: 1.9;
    color: var(--gray-600);
}
.faq_a p {
    padding: 16px 20px;
}

/* 배너 */
.cs_bnr a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    
}

.inquiry_bnr a {
    background: var(--gray-100);
}

.guide_bnr a {
    background: var(--primary-bg-light);    
}

.cs_bnr_txt {
    position: relative;
    z-index: 1;
}

.cs_bnr_txt h3 {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
    margin-bottom: 16px;
}

.cs_bnr_txt p {    
    font-size: var(--ft15);
    color: var(--gray-500);
}

.cs_bnr_visual {
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    right: 40px;
    transform: translateY(20%);
    transition: scale .4s ease;
}
.cs_bnr:hover .cs_bnr_visual {
    scale: .9;
}

.cs_bnr_visual img {
    display: block;
    max-width: 220px;
}


.faq_a.scroll::-webkit-scrollbar {
    width: 6px;
}




/* 접근성 */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}


@media all and (max-width: 1400px) {
    /*-- game_sec --*/
    .game_sec h2 {
        font-size: var(--ft32);
    }
    .game_sec .game_list {
        gap: 100px;
    }
}

@media all and (max-width: 1200px) {
    /*-- hero_sec --*/
    .hero_swiper_controller {
        padding: 0 60px;
    }
    .hero_thumb_swiper .swiper-slide {
        padding: 0 20px;
    }

    /*-- popularlog_sec --*/
    .popularlog_list .user_thumb {
        width: 110px;
        height: 110px;
    }
}

@media all and (max-width: 1024px) {
    .sec_header {
        margin-bottom: 32px;
    }

    /*-- hero_sec --*/
    .thumb_nav_wrap {
        height: 56px;
    }
    .hero_thumb_swiper {
        margin: 0;
    }
    .hero_thumb_swiper .swiper-slide {
        min-width: 50%;
    }
    .thumb_img {
        width: 24px;
        height: 24px;
    }
    .hero_fraction {
        font-size: var(--ft14);
    }

    /*-- game_sec --*/
    .game_sec h2 {
        font-size: var(--ft28);
    }
    .game_sec .game_list {
        gap: 40px;
    }
    .game_sec .game_title {
        margin-top: 16px;
        font-size: var(--ft16);
    }

    .store_pager {
        display: flex;
        justify-content: center;
        margin: 24px auto 0;
    }

    /*-- popularlog_sec --*/
    .popularlog_list .swiper-slide {
        max-width: 100%;
        width: 160px;
    }

    /*-- cs_sec --*/
    .top_cs_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;
    }

    .btm_cs_grid {
        gap: 20px;
    }
    .faq_swiper {
        height: 300px;
    }

    .cs_bnr a {
        padding: 30px;
    }
    .cs_bnr_visual {
        width: 120px;
        bottom: auto;
        transform: translateY(0);
    }

}

@media all and (max-width: 768px) {
    .sec_header {
        margin-bottom: 20px;
    }
    .sec_title {
        font-size: var(--ft18);
    }

    /*-- hero_sec --*/
    .hero_sec {
        margin-bottom: 32px;
    }
    .hero_banner_wrap {
        padding: 0;
        padding-bottom: 0;
    }
    .hero_swiper .swiper-slide {
        aspect-ratio: 1 / 1;
    }

    .hero_banner::before {
        content: '';
        display: block;
        width: 100%;
        height: 120px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%);
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .thumb_nav_wrap {
        display: none;
    }
    .hero_count {
        width: 100%;
        margin-bottom: 20px;
        justify-content: center;
    }
    .hero_fraction {
        width: fit-content;
    }

    /*-- game_sec --*/
    .game_sec h2 {
        font-size: var(--ft18);
    }
    .game_sec .game_list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .game_sec .game_list a {
        border-radius: var(--radius-md);
        border: 1px solid var(--dark-line);
        padding: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }
    .game_sec .game_thumb {
        width: 28px;
        height: 28px;
        border-radius: var(--radius-sm);
        position: static;
    }
    .game_sec .game_title {
        margin-top: 0;
        font-size: var(--ft16);
    }
    .game_sec .game_thumb .item_mark {
        width: 20px;
        height: 20px;;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .game_sec .game_thumb .item_mark img {
        width: 13px;
        height: 13px;
    }

    /*-- rising_items_sec --*/
    .rising_items_sec .sec_control {
        margin-top: 24px;
        margin-bottom: 32px;
    }
    .rising_tabs {
        gap: 10px;
        flex-wrap: wrap;
    }
    .rising_items_sec .more_btn {
        position: absolute;
        right: 16px;
        top: 0;
    }
    .item_pager {
        display: flex;
        justify-content: center;
        margin: 24px auto 0;
    }

    /*-- popularlog_sec --*/
    .popularlog_list .swiper-slide {
        width: 120px;
    }
    .popularlog_list .user_level {
        transform: translate(20px, -10px);
    }
    .popularlog_list .user_thumb {
        width: 90px;
        height: 90px;
    }
    .popularlog_list .follow_btn {
        margin-top: 12px;
    }

    /*-- cs_sec --*/
    .top_cs_grid {
        margin-bottom: 60px;
    }
    .notice_list li a {
        padding: 16px 10px;
        flex-direction: column;
        align-items: start;
        gap: 6px;
    }
    .notice_title {
        width: 100%;
        font-size: var(--ft16);
        font-weight: var(--medium);
    }
    .notice_badge {
        padding: 4px 12px;
        font-size: var(--ft13);
    }

    .faq_panel {
        padding-bottom: 24px;
        position: relative;
    }
    .faq_pager.swiper-pagination {
        width: fit-content;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .faq_box {
        padding: 16px;
    }
    .faq_q {
        flex-direction: column;
        gap: 8px;
    }
    .faq_q p {
        font-size: var(--ft16);
        overflow: visible;
        white-space: pre-line;
        text-align: center;
    }
    .faq_a p {
        font-size: var(--ft14);
    }

    .btm_cs_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .cs_bnr a {
        padding: 20px;
    }
    .cs_bnr_txt h3 {
        margin-bottom: 12px;
    }
    .cs_bnr_visual {
        width: 100px;
        right: 20px;
    }
}