/* ========================================================
   [개구리 중사 케로로 M] 모바일 및 태블릿 완전 반응형 스타일시트
   파일명: public/resources/front/css/responsive.css
======================================================== */

/* --------------------------------------------------------
   1. 글로벌 공통 리셋 & 베이스 (max-width: 1024px)
   - 데스크톱 고정 폭(1200px, 1280px, 1080px) 및 transform:scale() 완벽 무효화
-------------------------------------------------------- */
@media only screen and (max-width: 1024px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }

    html,
    body {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    #fullpage,
    #myContainer,
    #myContainer .section,
    .section,
    .fp-tableCell,
    .fp-scrollable,
    .fp-scroller,
    form {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fullpage 모바일 스크롤 자연스럽게 허용 - 상단 고정 헤더(60px) 고려하여 70px 상단 패딩 */
    #myContainer .section,
    .section {
        height: auto !important;
        min-height: auto !important;
        padding-top: 70px !important;
        padding-bottom: 30px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .fp-tableCell {
        height: auto !important;
        display: block !important;
    }

    /* 배경 비디오 반응형 제어 */
    #myVideo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        object-fit: cover !important;
        pointer-events: none;
    }

    /* 모든 섹션의 컨테이너를 상단 정렬로 강제하여 1번 빈 영역 및 상단 잘림 원천 방지 */
    .section .cons,
    .section.main .cons,
    .section.register .cons,
    .section.event .cons,
    .section.event2 .cons,
    .section.game .cons,
    .section.game2 .cons,
    .section.media .cons {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
    }

    .header .box,
    .section .box,
    .section .in {
        transform: none !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* 모바일에서는 fullpage .active 대기 없이 모든 콘텐츠 정상 표시 */
    .section h2,
    .section .in,
    .section .btn_storeBook,
    .section .logo,
    .section .btn_emved,
    .section .btn_g,
    .section.register h2,
    .section.register .in,
    .section.register .btn_storeBook,
    .section.event h2,
    .section.event2 h2,
    .section.event2 .gift,
    .section.event2 .txt,
    .section.event2 .refer,
    .section.game h2,
    .section.game .character_ui,
    .section.game .sliderNav_box,
    .section.game2 h2,
    .section.game2 .world,
    .section.media h2,
    .section.media .media_ui {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        box-sizing: border-box;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 모든 섹션 타이틀 텍스트 숨김 (배경 이미지 보호) */
    .section h2,
    .section.main h2,
    .section.register h2,
    .section.event h2,
    .section.event2 h2,
    .section.game h2,
    .section.game2 h2,
    .section.media h2 {
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
    }

    /* ---------------- 헤더 & 네비게이션 ---------------- */
    .header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 60px !important;
        background: rgba(10, 15, 25, 0.95) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000 !important;
    }

    .header .box {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100%;
        padding: 0 16px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .header .logo {
        position: static !important;
        width: 125px !important;
        height: 33px !important;
        background: none !important;
        margin: 0 !important;
    }

    .header .logo a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background: url(../images/logo_m.png) no-repeat center center !important;
        background-size: contain !important;
    }

    /* 햄버거 토글 버튼 */
    .btn_trigger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        padding: 2px 0;
    }

    .btn_trigger span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .btn_trigger.close span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .btn_trigger.close span:nth-child(2) {
        opacity: 0;
    }

    .btn_trigger.close span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* 모바일 전체화면 오버레이 메뉴 */
    .menu_ui {
        display: none;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: rgba(15, 23, 42, 0.98) !important;
        padding: 24px 20px !important;
        box-sizing: border-box;
        overflow-y: auto;
        z-index: 1050;
    }

    .header.open .menu_ui,
    .header .box.open .menu_ui {
        display: block !important;
        animation: fadeInMenu 0.25s ease forwards;
    }

    .menu_ui ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        padding: 20px 0 !important;
        margin: 0 auto !important;
        list-style: none;
        width: 100% !important;
    }

    .menu_ui ul li,
    .menu_ui ul .m1,
    .menu_ui ul .m2,
    .menu_ui ul .m3,
    .menu_ui ul .m4,
    .menu_ui ul .m5 {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: block !important;
    }

    .menu_ui ul li a,
    .menu_ui ul .m1 a,
    .menu_ui ul .m2 a,
    .menu_ui ul .m3 a,
    .menu_ui ul .m4 a,
    .menu_ui ul .m5 a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 50px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #f8fafc !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
    }

    .menu_ui ul li.active a,
    .menu_ui ul .m1.active a,
    .menu_ui ul .m2.active a,
    .menu_ui ul .m3.active a,
    .menu_ui ul .m4.active a,
    .menu_ui ul .m5.active a,
    .menu_ui ul li a:hover {
        background: #2563eb !important;
        color: #ffffff !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
    }

    .sns_ui {
        display: none !important;
    }

    /* ---------------- 1. 메인 섹션 ---------------- */
    .section.main {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 64px !important;
        padding-bottom: 25px !important;
    }

    .section.main .cons {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section.main .box {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 16px;
    }

    .section.main .box .in {
        padding-top: 0 !important;
    }

    .section.main .logo {
        width: 85% !important;
        max-width: 350px !important;
        height: auto !important;
        aspect-ratio: 712 / 422;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        margin: 0 auto 12px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .section.main .link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
        margin-top: 8px;
    }

    .section.main .link .btn_emved {
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .section.main .link .btn_emved a {
        display: inline-block;
        width: 150px !important;
        height: 48px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    .section.main .link .btn_g {
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .section.main .link .btn_g a {
        display: inline-block;
        width: 250px !important;
        height: 70px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    .section.main .cha1,
    .section.main .cha2 {
        display: none !important;
    }

    /* ---------------- 2. 사전예약 섹션 ---------------- */
    .section.register {
        padding: 56px 16px 25px !important;
    }

    .section.register .cons {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        height: auto !important;
        min-height: auto !important;
        justify-content: flex-start !important;
    }

    .section.register .box {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .section.register h2 {
        position: static !important;
        width: 100% !important;
        max-width: 320px !important;
        height: 64px !important;
        background: url(../images/tit_register.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto 6px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .register_ui {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        position: static !important;
        z-index: 5;
    }

    /* 휴대폰 번호 입력 카드 - 바로 아래 스토어 창과 동일한 반투명 밝은 화이트 배경 및 동일 폭(360px) */
    .register_ui .in {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        background: rgba(255, 255, 255, 0.5) !important;
        padding: 16px 14px 16px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        transform: none !important;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .register_ui .in:before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        max-width: 330px !important;
        height: 78px !important;
        background: url(../images/gift_register.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto 10px !important;
    }

    .chkInput_g {
        width: 100% !important;
        max-width: 330px !important;
        margin-bottom: 12px !important;
    }

    .chkInput_g #phone {
        width: 100% !important;
        height: 46px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
        box-sizing: border-box;
        text-align: center;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 1.5px solid #cbd5e1 !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .chkMark_g {
        display: flex !important;
        justify-content: center !important;
        gap: 24px !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        padding: 2px 0 !important;
    }

    .chkMark_g label {
        color: #1e293b !important;
        font-weight: 600;
    }

    .agree_box {
        position: static !important;
        width: 100% !important;
        max-width: 330px !important;
        border-left: none !important;
        padding: 6px 0 !important;
        margin: 0 0 14px 0 !important;
        font-size: 13px !important;
        color: #1e293b !important;
        font-weight: 600 !important;
    }

    .agree_box .chk_g {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        padding: 0;
        list-style: none;
    }

    .agree_box .chk_g li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px !important;
        color: #334155 !important;
    }

    .agree_box .chk_g button {
        background: transparent;
        color: #1d4ed8 !important;
        border: none;
        text-decoration: underline;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

    /* 버튼 부모 컨테이너 너비 100% 보장 */
    .register_ui .in > div {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 사전예약 신청 버튼 - 너비 0px 축소 방지 및 정렬/여백 최적화 */
    .register_ui .btn_book,
    .register_ui .btns,
    .btn_book {
        display: block !important;
        width: 100% !important;
        max-width: 290px !important;
        height: 52px !important;
        background: url(../images/btn_book.png) no-repeat center center !important;
        background-size: contain !important;
        border: none !important;
        margin: 8px auto 0 !important;
        cursor: pointer !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 4대 스토어 창 - 위 번호입력 창과 동일한 360px 너비 및 완벽한 수직 중앙 정렬 */
    .btn_storeBook {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 10px auto 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .btn_storeBook div {
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;
        min-height: unset !important;
        margin: 0 auto !important;
        margin-left: 0 !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border-radius: 18px !important;
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-sizing: border-box !important;
        padding: 8px 10px 10px !important;
    }

    /* style.css의 div~div margin-left:16px 완벽 초기화로 박스 간 어긋남 100% 해결 */
    .register_ui .btn_storeBook div~div,
    .btn_storeBook div~div {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }

    .btn_storeBook div:before {
        height: 100px !important;
        background-size: contain !important;
        margin: 0 auto 4px !important;
    }

    .btn_storeBook p {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        text-align: center !important;
        margin: 2px 0 8px !important;
    }

    .btn_storeBook div,
    .btn_storeBook ul {
        width: 100% !important;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .btn_storeBook ul {
        display: flex !important;
        gap: 8px;
        justify-content: center;
        padding: 0 !important;
    }

    .btn_storeBook ul li a {
        display: block;
        width: 145px !important;
        height: 46px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    .register .cha_g {
        display: none !important;
    }

    /* ---------------- 3. 이벤트 섹션 (슈팅스타) - 완전 중앙 정렬 & 상단 여백 슬림화 ---------------- */
    .section.event,
    .section.event2 {
        padding: 70px 16px 30px !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: auto !important;
    }

    .section.event .cons,
    .section.event2 .cons {
        position: static !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
    }

    .section.event .box,
    .section.event2 .box,
    .section.event .in,
    .section.event2 .in {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* 이벤트 타이틀 */
    .section.event h2,
    .section.event2 h2 {
        position: static !important;
        width: 100% !important;
        max-width: 350px !important;
        height: 88px !important;
        background: url(../images/tit_event2.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto 8px !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
    }

    /* 경품 이미지 */
    .section.event .gift,
    .section.event2 .gift {
        position: static !important;
        width: 100% !important;
        max-width: 350px !important;
        height: 100px !important;
        background: url(../images/gift_event.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto 14px !important;
        float: none !important;
    }

    /* SNS 공유 안내 및 버튼 카드 */
    .section.event .txt,
    .section.event2 .txt {
        position: static !important;
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 14px 12px !important;
        background: rgba(15, 23, 42, 0.82) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .section.event .txt:before,
    .section.event2 .txt:before {
        content: "공식 SNS에 사전예약 소식을 공유하고\A공식 라운지에 인증하면 푸짐한 경품을 드려요!" !important;
        white-space: pre-line !important;
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #f8fafc !important;
        text-align: center !important;
        line-height: 1.4 !important;
        margin-bottom: 2px !important;
    }

    .section.event .txt button,
    .section.event .txt a,
    .section.event2 .txt button,
    .section.event2 .txt a {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 300px !important;
        height: 44px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: none !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
    }

    .section.event .txt button:active,
    .section.event .txt a:active,
    .section.event2 .txt button:active,
    .section.event2 .txt a:active {
        transform: scale(0.97) !important;
    }

    .section.event .txt .btn_face,
    .section.event2 .txt .btn_face {
        background: #1877F2 !important;
        color: #ffffff !important;
        box-shadow: 0 3px 8px rgba(24, 119, 242, 0.35) !important;
    }

    .section.event .txt .btn_twiter,
    .section.event2 .txt .btn_twiter {
        background: #000000 !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
    }

    .section.event .txt .btn_game,
    .section.event2 .txt .btn_game {
        background: #03C75A !important;
        color: #ffffff !important;
        box-shadow: 0 3px 8px rgba(3, 199, 90, 0.35) !important;
    }

    /* 유의사항 박스 */
    .section.event .refer,
    .section.event2 .refer {
        position: static !important;
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        min-height: unset !important;
        margin: 12px auto 0 !important;
        padding: 12px 14px !important;
        background: rgba(0, 0, 0, 0.55) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
        color: #cbd5e1 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        word-break: keep-all !important;
    }

    .section.event .cha_g,
    .section.event .cha_g2,
    .section.event2 .cha_g,
    .section.event2 .cha_g2 {
        display: none !important;
    }

    /* ---------------- 4. 게임 소개 (캐릭터 & 세계관) ---------------- */
    .section.game,
    .section.game2 {
        padding: 70px 16px 30px !important;
    }

    .section.game .box,
    .section.game2 .box {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .section.game h2,
    .section.game2 h2 {
        width: 100% !important;
        max-width: 340px !important;
        height: 80px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        margin: 0 auto 8px !important;
    }

    .game_nav {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        gap: 10px;
        margin: 0 auto 16px !important;
        padding: 0;
        list-style: none;
        background: none !important;
        height: auto !important;
    }

    .game_nav li~li {
        margin-top: 0 !important;
    }

    .game_nav li a {
        display: block;
        padding: 8px 20px !important;
        font-size: 14px !important;
        font-weight: 700;
        background: rgba(255, 255, 255, 0.12) !important;
        border-radius: 20px;
        color: #e2e8f0;
        text-decoration: none;
        width: auto !important;
        height: auto !important;
    }

    .game_nav li.on a {
        background: #2563eb !important;
        color: #fff !important;
    }

    .character_ui {
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;
        min-height: 360px !important;
        margin: 0 auto !important;
        background: rgba(15, 23, 42, 0.75) !important;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #characterSlider {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .character_ui .cha_g {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 16px 10px !important;
        box-sizing: border-box;
    }

    .character_ui .cha_g .img {
        position: static !important;
        width: 100% !important;
        max-width: 220px !important;
        height: 220px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        margin: 0 auto !important;
    }

    .character_ui .cha_g .txt {
        position: static !important;
        width: 100% !important;
        max-width: 280px !important;
        height: 64px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        margin: 10px auto 0 !important;
    }

    .sliderNav_box {
        width: 100% !important;
        max-width: 360px !important;
        margin: 12px auto 0 !important;
    }

    .slider-nav {
        display: flex !important;
        justify-content: center !important;
        gap: 6px;
    }

    .slider-nav .item {
        width: 50px !important;
        height: 50px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
    }

    /* 세계관 탭 */
    .section.game2 .world {
        position: relative !important;
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        min-height: 280px !important;
        margin: 0 auto !important;
        padding: 20px 16px !important;
        background: url(../images/bg_game2.jpg) no-repeat center center !important;
        background-size: cover !important;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-sizing: border-box;
    }

    .section.game2 .world:before,
    .section .world:before {
        display: none !important;
    }

    .section.game2 .world .game_nav {
        position: relative !important;
        z-index: 5 !important;
        margin-bottom: 16px !important;
    }

    .section.game2 .world p {
        position: relative !important;
        z-index: 5 !important;
        width: 100% !important;
        height: auto !important;
        background: none !important;
        font-size: 13px !important;
        line-height: 1.8 !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        text-align: center !important;
        word-break: keep-all !important;
        white-space: pre-line !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
    }

    .section.game2 .cha1,
    .section.game2 .cha2,
    .world .cha1,
    .world .cha2 {
        display: none !important;
    }

    /* ---------------- 6. 미디어 섹션 & 푸터 ---------------- */
    #myContainer .section.media,
    .section.media {
        min-height: calc(100vh - 60px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        padding: 70px 16px 0 !important;
    }

    .section.media .cons {
        position: static !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .section.media h2 {
        width: 100% !important;
        max-width: 340px !important;
        height: 72px !important;
        background: url(../images/media_tit.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto 10px !important;
    }

    .section.media .media_ui,
    .media_ui {
        width: 100% !important;
        max-width: 340px !important;
        height: auto !important;
        background: none !important;
        background-image: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: visible !important;
        position: relative !important;
    }

    .section.media .media_ui .in {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }

    .section.media #mediaSlider {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 340px !important;
        height: auto !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    }

    .section.media .item {
        width: 100% !important;
        height: auto !important;
    }

    .section.media .item img {
        width: 100% !important;
        max-width: 340px !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        border-radius: 12px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .section.media iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        border: 0;
        border-radius: 12px !important;
    }

    .section.media .cha {
        display: none !important;
    }

    /* 미디어 슬라이더 네비게이션 버튼 - 모바일 사이즈 최적화 */
    .section.media .slick-prev,
    .section.media .slick-next {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        z-index: 20 !important;
        margin: 0 !important;
        border: none !important;
        cursor: pointer !important;
        opacity: 0.9 !important;
    }

    .section.media .slick-prev {
        left: 6px !important;
    }

    .section.media .slick-next {
        right: 6px !important;
    }

    /* 푸터 & 저작권 표시 (모바일 뷰 최적화: 로고 / 약관 링크 / 회사명 및 저작권) */
    footer,
    .footer {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 20px 16px 28px !important;
        background: rgba(10, 14, 23, 0.96) !important;
        background-image: none !important;
        box-sizing: border-box !important;
        margin-top: 24px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-size: 11px !important;
    }

    .footer .footer_wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .footer .foot_left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .footer .foot_logo {
        display: block !important;
        width: 210px !important;
        height: 20px !important;
        background: url(../images/foot_logo.png) no-repeat center center !important;
        background-size: contain !important;
        margin: 0 auto !important;
    }

    .footer .foot_copy {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        font-size: 10.5px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.75) !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        word-break: keep-all !important;
    }

    .footer .foot_right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .footer .foot_links {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .footer .foot_links a {
        color: #ffffff !important;
        text-decoration: underline !important;
        text-underline-offset: 3px !important;
        padding: 2px 4px !important;
    }

    .footer .foot_links .bar {
        color: rgba(255, 255, 255, 0.3) !important;
        font-size: 11px !important;
    }

    .footer .foot_biz {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer .foot_biz .bar_pc {
        display: none !important;
    }

    .footer .foot_biz .biz_row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: 100% !important;
        font-size: 10.5px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        word-break: keep-all !important;
    }

    .footer .foot_biz .company {
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .footer .foot_biz .bar {
        display: none !important;
    }

    .footer .foot_copy .company {
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .footer .foot_copy .copy_txt {
        font-size: 10.5px !important;
        letter-spacing: -0.2px !important;
    }

    /* ---------------- 7. 팝업 모달 반응형 ---------------- */
    .pop_msg {
        z-index: 99999 !important;
    }

    .pop_msg .msg {
        width: 90% !important;
        max-width: 340px !important;
        padding: 24px 18px !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    .pop_msg .msg .txt {
        font-size: 14px !important;
        line-height: 1.5;
        color: #0f172a !important;
    }

    /* 개인정보 및 이벤트 알림 수신 동의 팝업 (#agree01, #agree02) - 배경 이미지 제거 & 전면 텍스트화 */
    #agree01 .msg,
    #agree02 .msg {
        width: 92% !important;
        max-width: 350px !important;
        height: auto !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        background-image: none !important;
        border-radius: 16px !important;
        padding: 22px 18px 20px !important;
        box-sizing: border-box !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
    }

    .agree_pop_tit,
    #agree01 .msg .agree_pop_tit,
    #agree02 .msg .agree_pop_tit {
        display: block !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        text-align: center !important;
        margin: 0 0 12px !important;
        padding-bottom: 8px !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
        line-height: 1.3 !important;
    }

    #agree01 .msg .txt,
    #agree02 .msg .txt {
        font-size: 12px !important;
        line-height: 1.6 !important;
        color: #334155 !important;
        text-align: left !important;
        padding-top: 0 !important;
        margin: 0 0 14px !important;
        word-break: keep-all !important;
    }

    .pop_msg .msg .btn_ok {
        margin-top: 14px !important;
        text-align: center !important;
    }

    .pop_msg .msg .btn_ok button {
        width: 140px !important;
        height: 42px !important;
        background: #0f172a !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        border: none !important;
        cursor: pointer;
        display: inline-block !important;
    }

    .pop_msg .msg .btn_close a,
    .pop_msg .msg .btn_close button {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        display: inline-block !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0 !important;
        background: url(../images/btn_close2.png) no-repeat center center !important;
        background-size: contain !important;
        border: none !important;
        cursor: pointer !important;
    }

    /* 유튜브 비디오 팝업 */
    .popEmved_ui .pop_emved {
        width: 94% !important;
        max-width: 500px !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        background-size: contain !important;
    }

    .popEmved_ui .pop_emved iframe {
        width: 100% !important;
        height: 100% !important;
    }

    .btn_videoClose {
        top: -35px !important;
        right: 0 !important;
    }

    /* 플로팅 배너 - 모바일에서는 가림 방지 위해 작은 크기로 오른쪽 하단 고정 (애니메이션 제거로 떨림 방지) */
    .event_banner {
        width: 80px !important;
        height: 75px !important;
        bottom: 16px !important;
        right: 12px !important;
        z-index: 900 !important;
        animation: none !important;
    }

    .event_banner a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
    }
}

/* --------------------------------------------------------
   2. 소형 스마트폰 (max-width: 480px) 세부 미세 조정
-------------------------------------------------------- */
@media only screen and (max-width: 480px) {
    .header .logo {
        width: 115px !important;
        height: 30px !important;
    }

    .header .logo a {
        background-size: contain !important;
    }

    .section.main .logo {
        max-width: 300px !important;
    }

    .section.main .link .btn_g a {
        width: 210px !important;
        height: 58px !important;
    }

    .section.register h2,
    .section.event h2,
    .section.event2 h2 {
        max-width: 320px !important;
        height: 82px !important;
    }

    .section.event2 .gift {
        max-width: 320px !important;
        height: 92px !important;
    }

    .section.event2 .txt {
        max-width: 320px !important;
        padding: 14px 12px !important;
    }

    .section.event2 .refer {
        max-width: 320px !important;
        font-size: 10.5px !important;
    }

    .chkInput_g #phone {
        font-size: 15px !important;
        height: 44px !important;
    }

    .gauge0,
    .gauge0930,
    .gauge1004,
    .gauge1007,
    .gauge1011,
    .gauge1014,
    .gauge1018,
    .gauge1021,
    .gauge1025,
    .gauge1028,
    .gauge1101,
    .gauge1104 {
        height: 160px !important;
    }

    .event_banner {
        display: none !important;
    }
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
