/* ========================================
   GOLDEN_RUSH 테마 통합 CSS
   app.css 대체용 (Vue 컴포넌트 제외)
   ======================================== */

/* 0. 기본 설정 */
@import url(https://fonts.googleapis.com/earlyaccess/nanumgothic.css);

* {
    box-sizing: border-box;
}

.app-user {
    background: #0f1025;
}

.app-user #app {
    font-family: 'Noto Sans KR', Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-user input::-webkit-outer-spin-button,
.app-user input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.app-user input[type=number] {
    -moz-appearance: textfield;
}

/* 기본 유틸리티 클래스 */
.w-b:before,
.w-a:after,
.w-ba:before,
.w-ba:after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.dflex-ac-jc {
    display: flex !important;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.bs-ul {
    list-style: none;
    margin-bottom: 0;
    width: auto;
    display: table;
    padding: 0;
}

.bs-ul li {
    list-style: none;
    width: auto;
    height: auto;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

.h-100 {
    height: 100% !important;
}

.text-center {
    text-align: center !important;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

/* Desktop/Mobile 전환 */
.mobile {
    display: none !important;
}

.desktop {
    display: block !important;
}

@media (max-width: 1200px) {
    .mobile {
        display: block !important;
    }
    
    .desktop {
        display: none !important;
    }
}

/* ========================================
   1. 헤더 섹션
   ======================================== */
.app-user .header-section {
    width: 100%;
    background-color: rgba(11, 13, 17, 0.75);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid #475775;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAByCAYAAACSo7vmAAAAaElEQVQokWPIaNmlxsDAwAAmGBj+///PwARiQIjM1t0ILrXVqRCpTpFIdfJEqpOBqMto2QVRi6QYRZ0UkerEiVQnDGKoEFbHD2LIE1bHBWJIElbHBmIIYVWHopgFxOMmrI6JgYGBgRUAVVhTlqcnM4AAAAAASUVORK5CYII=);
    background-repeat: repeat-x;
    background-position: top;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    overflow: hidden !important;
}

/* 로고 패널 */
.app-user .logo-panel {
    width: 252px;
    height: calc(100% + 1px);
    max-height: 120px !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    background-image: url(../img/gclogo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 99;
    overflow: hidden !important;
}

.app-user .logo {
    width: 220px;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
}

/* 헤더 상단 */
.app-user .header-top {
    width: 100%;
    height: 70px;
    min-height: 70px !important;
    max-height: 70px !important;
    z-index: 9;
    overflow: hidden !important;
}

.app-user .header-top .container {
    background-image: linear-gradient(#2b3343, #181d27);
    border-bottom: 1px solid #354255;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 1));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-user .header-top .container:before,
.app-user .header-top .container:after {
    content: "";
    position: absolute;
    background-image: linear-gradient(#2b3343, #181d27);
    border-bottom: 1px solid #354255;
    width: 50%;
    height: calc(100% + 1px);
    bottom: -1px;
    z-index: -1;
}

.app-user .header-top .container:before {
    transform: skew(15deg);
    left: 0;
    border-left: 1px solid #354255;
    transform-origin: bottom left;
}

.app-user .header-top .container:after {
    transform: skew(-15deg);
    right: 0;
    border-right: 1px solid #354255;
    transform-origin: bottom right;
}

/* 게임 카테고리 버튼 그룹 */
.app-user .header-top .btn-grp {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.app-user .header-top .btn-grp::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}

.app-user .header-top .btn-grp .bs-ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

.app-user .header-top .btn-grp .bs-ul li {
    flex-shrink: 0 !important;
}

.app-user .header-top .btn-grp button {
    width: 95px !important;
    min-width: 95px !important;
    height: 32px !important;
    margin-right: 6px !important;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px #000;
    padding: 0 8px !important;
}

.app-user .header-top .btn-grp button svg,
.app-user .header-top .btn-grp button i {
    color: #c38eff;
    margin-right: 4px !important;
    font-size: 12px !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75), 0 0 10px #8e34ff;
    flex-shrink: 0;
}

/* 로그인/회원가입 버튼 영역 */
.app-user .before-login {
    display: none;
}

.app-user .before-login.active {
    display: block;
}

.app-user .before-login input {
    width: 100px;
    height: 37px;
    border-radius: 18px;
    margin-left: 5px;
    border: 1px solid #2a313d;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 0 5px 0 10px;
    color: #fff;
    font-size: 12px;
}

.app-user .before-login input::placeholder {
    color: #abc5e0;
}

.app-user .before-login button {
    width: 100px;
    height: 35px;
    margin-left: 5px;
}

.app-user .bal-container .mobile button {
    width: 45px;
    height: 38px;
    border-radius: 5px;
}

/* 사용자 정보 패널 스타일 - 한 줄로 표시 */
.app-user .user-info-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(17, 189, 250, 0.15) 0%, rgba(195, 143, 255, 0.15) 100%);
    border-radius: 12px;
    border: 1px solid rgba(17, 189, 250, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: auto;
    white-space: nowrap;
}

.app-user .user-info-panel .user-name {
    font-size: 14px;
    font-weight: 600;
    color: #11bdfa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 8px rgba(17, 189, 250, 0.5);
    letter-spacing: 0.5px;
}

.app-user .user-info-panel .user-balance {
    font-size: 16px;
    font-weight: 700;
    color: #ffe244;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 10px rgba(255, 226, 68, 0.6);
    letter-spacing: 1px;
}

.app-user .user-info-panel .user-balance:before {
    content: "₩ ";
    font-size: 14px;
    color: #ffd700;
    margin-right: 3px;
}

/* 모바일 사용자 정보 */
@media (max-width: 1200px) {
    .app-user .user-info-panel {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .app-user .user-info-panel .user-name {
        font-size: 12px;
    }
    
    .app-user .user-info-panel .user-balance {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .app-user .user-info-panel {
        padding: 5px 10px;
        gap: 6px;
    }
    
    .app-user .user-info-panel .user-name {
        font-size: 11px;
    }
    
    .app-user .user-info-panel .user-balance {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .app-user .user-info-panel {
        padding: 4px 8px;
        gap: 5px;
    }
    
    .app-user .user-info-panel .user-name {
        font-size: 10px;
    }
    
    .app-user .user-info-panel .user-balance {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .app-user .user-info-panel {
        padding: 4px 6px;
        gap: 4px;
    }
    
    .app-user .user-info-panel .user-name {
        font-size: 9px;
    }
    
    .app-user .user-info-panel .user-balance {
        font-size: 11px;
    }
    
    .app-user .user-info-panel .user-balance:before {
        content: "";  /* 작은 화면에서 ₩ 기호 제거 */
    }
}

/* 헤더 메뉴 (Desktop - 입금/출금/공지/고객센터) */
.app-user .header-menu {
    width: 100%;
    height: 50px;
    overflow: hidden !important;
}

.app-user .main-menu {
    width: 100%;
    height: 100%;
}

.app-user .main-menu ul {
    width: calc(50% - 126px);
    height: 100%;
}

.app-user .main-menu ul:first-child {
    margin-right: auto;
}

.app-user .main-menu ul li a {
    width: 100%;
    height: calc(100% + 1px);
    max-width: 120px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
    margin: 1px auto 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-user .main-menu ul li a span {
    transition: 0s;
}

.app-user .main-menu ul li a:hover {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.5);
}

.app-user .main-menu ul li a .icon-panel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-image: linear-gradient(#14c9fc, #0067ed);
    color: rgba(0, 0, 0, 0.75);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 10px #0462dc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   2. 버튼 스타일
   ======================================== */
.app-user .btn-blue {
    background-color: #11bdfa;
    background-image: linear-gradient(#11bdfa, #0b61be);
    color: #fff;
    border: none;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 1px 1px #000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.app-user .btn-violet {
    background-color: #c38fff;
    background-image: linear-gradient(#c38fff, #7135b7);
    color: #fff;
    border: none;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 1px 1px #000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.app-user .btn-gray {
    color: #fff;
    background-color: #4a5a79;
    background-image: linear-gradient(#4a5a79, #2b3343);
    border: none;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 1px 1px #000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.app-user .btn-blue:before,
.app-user .btn-violet:before,
.app-user .btn-gray:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: 0.3s;
    z-index: -1;
    border-radius: 2px;
    opacity: 0;
}

.app-user .btn-blue:before {
    background-image: linear-gradient(#11faf2, #096360);
}

.app-user .btn-violet:before {
    background-image: linear-gradient(#e48fff, #830ca9);
}

.app-user .btn-gray:before {
    background-image: linear-gradient(#6c84b3, #38445b);
}

@media (min-width: 1201px) {
    .app-user .btn-blue:hover:before,
    .app-user .btn-violet:hover:before,
    .app-user .btn-gray:hover:before {
        opacity: 1;
    }
    
    .app-user .btn-blue:hover {
        box-shadow: 0 1px 1px #000, 0 0 15px rgba(0, 203, 196, 0.25);
    }
    
    .app-user .btn-violet:hover {
        box-shadow: 0 1px 1px #000, 0 0 15px rgba(176, 0, 232, 0.5);
    }
    
    .app-user .btn-gray:hover {
        box-shadow: 0 1px 1px #000, 0 0 15px rgba(83, 107, 154, 0.5);
    }
}

/* ========================================
   3. 배경 효과
   ======================================== */
.app-user .app-router-view {
    width: 100%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    padding: 120px 0 0;
}

.app-user .top-center-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url(../img/top-spotlight-bg.png);
    background-position: top;
    background-repeat: repeat-x;
    animation: spotlightAnim 10s ease infinite;
}

@keyframes spotlightAnim {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.app-user .top-disco-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 170px;
    z-index: 1;
    pointer-events: none;
    background-image: url(../img/top-disco-bg.png);
    background-position: top;
    background-repeat: repeat-x;
    animation: discoAnim 10s ease infinite;
}

@keyframes discoAnim {
    0% { transform: translateY(-50px); }
    50% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.app-user .top-light-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url(../img/top-light-bg.png);
    background-position: top;
    background-repeat: repeat-x;
    animation: lightAnim 15s ease infinite;
}

@keyframes lightAnim {
    0% { transform: translateY(0); }
    50% { transform: translateY(-100px); }
    100% { transform: translateY(0); }
}

/* ========================================
   4. 페이지 콘텐츠
   ======================================== */
.app-user .page-content {
    padding: 65px 0 26px;
    z-index: auto;
    min-height: 1000px;
    position: relative;
}

.app-user .page-content:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 200px;
    background-image: url(../img/main-bg.png), url(../img/downBg.png);
    background-position: top, 30% 100%;
    background-repeat: no-repeat, no-repeat;
    background-size: 1920px 1385px, 100% 1385px;
    z-index: 1;
    pointer-events: none;
}

.app-user .page-background {
    width: 100%;
    min-width: 1920px;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    pointer-events: none;
    z-index: 2;
}

.app-user .page-background:before,
.app-user .page-background:after {
    content: "";
    width: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    pointer-events: none;
}

.app-user .page-background:before {
    height: 1102px;
    background-image: url(../img/left-bg.png);
    background-position: 0 100%;
    left: 0;
    animation: leftBgAnim 10s ease infinite;
}

@keyframes leftBgAnim {
    0% { transform: translateX(0); }
    50% { transform: translateX(-5%); }
    100% { transform: translateX(0); }
}

.app-user .page-background:after {
    height: 1102px;
    background-image: url(../img/right-bg.png);
    background-position: 100% 100%;
    right: 0;
    animation: rightBgAnim 10s ease infinite;
}

@keyframes rightBgAnim {
    0% { transform: translateX(0); }
    50% { transform: translateX(5%); }
    100% { transform: translateX(0); }
}

/* ========================================
   5. 카테고리 타이틀
   ======================================== */
.app-user .category_title {
    width: 30%;
    height: 50px;
    min-height: 80px !important;
    max-height: 80px !important;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.category_title .category-name {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    letter-spacing: 5px !important;
    font-family: 'Noto Sans KR', 'Segoe UI', Arial, sans-serif !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;
    text-shadow: 
        0 0 10px rgba(93, 242, 255, 1),
        0 0 20px rgba(42, 136, 255, 0.8),
        0 0 30px rgba(42, 136, 255, 0.6) !important;
}

/* ========================================
   6. 게임 카드 섹션
   ======================================== */
.app-user .slot-section {
    width: calc(100% + 22px);
    margin: 0 -11px;
    position: relative;
    z-index: 3;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
}

.app-user .slot-btn {
    width: calc(20% - 24px) !important; /* 기본 5개 */
    margin: 0 12px 24px;
    flex: 0 0 auto;
    position: relative;
    border-radius: 18px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.app-user .slot-btn:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: -1;
    border-radius: 18px;
    background-color: rgba(14, 15, 20, 0.75);
    border: 1px solid #426199;
    transition: 0.3s;
    animation: slotBtnShadow 1s ease 1;
}

@keyframes slotBtnShadow {
    0% {
        opacity: 0;
        transform: translate(-5px, -5px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.app-user .slot-btn:hover:before {
    transform: rotate(5deg) translate(-5px, -5px);
    border-color: #689eff;
    background-color: rgba(14, 15, 20, 0.75);
}

.app-user .slot-btn .g-panel {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid #384d74;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 2px 3px #000;
    animation: slotBtnPanel 1s ease 1;
}

@keyframes slotBtnPanel {
    0% {
        opacity: 0;
        transform: translate(5px, 5px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.app-user .slot-btn:hover .g-panel {
    border-color: #689eff;
    transform: translate(5px, 5px);
    box-shadow: 0 2px 3px #000, 0 0 10px #3e82ff;
}

.app-user .slot-btn .g-panel:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    background-image: url(../img/emboss-bg.png);
    background-size: 100% 100%;
}

.app-user .slot-btn .g-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: 0.3s;
}

.app-user .slot-btn:hover .g-img {
    opacity: 0.5;
}

.app-user .slot-btn .g-footer {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    padding: 0 0 5px;
}

.app-user .slot-btn .g-footer:before {
    content: "";
    width: 100%;
    height: 120%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.app-user .slot-btn .g-footer .g-logo {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-user .slot-btn .g-footer .g-logo img {
    max-width: 80%;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 1));
}

.app-user .slot-btn .g-footer .g-name {
    width: 100%;
    height: 35px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-user .slot-btn .play-btn {
    width: 110px;
    height: 34px;
    border-radius: 18px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 30px;
    margin: auto;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 3px rgba(0, 0, 0, 0.75);
    transition: 0.3s;
    opacity: 0;
    transform: translateY(-15px);
    background-image: linear-gradient(#ffe244, #a25406);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.75);
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    pointer-events: none; /* a 태그 클릭이 우선 */
}

.app-user .slot-btn:hover .play-btn {
    transition: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   7. 푸터
   ======================================== */
.app-user .footer-section {
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.75);
    position: relative;
    z-index: 4;
}

.app-user .footer-copyright {
    padding: 15px 0 25px;
    background-color: #0e0f14;
    border-top: 1px solid #30353f;
    overflow: hidden;
}

.app-user .footer-copyright .logo {
    width: 120px;
    margin: 0 0 10px;
    display: inline-block;
}

.app-user .footer-copyright .logo .logo-img {
    width: 100%;
    margin-top: 0;
}

.app-user .footer-long-img {
    width: 100%;
}

.app-user .footer-long-img img {
    width: 100%;
    display: block;
}

/* ========================================
   8. 모바일 사이드바 햄버거 메뉴
   ======================================== */
.left-menu-btn.mobile {
    width: 26px !important;
    height: 18px !important;
    background-color: transparent;
    border: none;
    padding: 0px !important;
    display: none !important; /* 기본적으로 숨김 */
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0 !important;
    position: relative;
    z-index: 10000;
    flex-shrink: 0 !important;
}

/* 모바일에서만 표시 */
@media (max-width: 1200px) {
    .left-menu-btn.mobile {
        display: flex !important;
    }
}

.left-menu-btn.mobile span {
    width: 34px !important;
    display: block;
    height: 2px !important;
    background-color: #11bdfa;
    margin: 0 !important;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
    transition: all 0.3s ease;
}

.left-menu-btn.mobile span:first-child {
    position: relative;
    top: 0;
    transition: top 0.3s 0.3s, transform 0.3s 0s;
}

.left-menu-btn.mobile span:nth-child(2) {
    width: 27px !important;
    opacity: 1;
    transition: opacity 0.3s;
}

.left-menu-btn.mobile span:last-child {
    position: relative;
    top: 0;
    transition: top 0.3s 0.3s, transform 0.3s 0s;
}

.left-menu-btn.mobile.opened span:first-child {
    width: 24px !important;
    top: 7px;
    transform: rotate(-45deg);
    background-color: #00cbc4;
    transition: top 0.3s 0s, transform 0.3s 0.3s, color 0.3s 0.3s;
}

.left-menu-btn.mobile.opened span:nth-child(2) {
    opacity: 0;
}

.left-menu-btn.mobile.opened span:last-child {
    width: 24px !important;
    top: -7px;
    transform: rotate(45deg);
    background-color: #00cbc4;
    transition: top 0.3s 0s, transform 0.3s 0.3s;
}

/* ========================================
   반응형: 로고 크기 조정
   ======================================== */
@media (max-width: 1200px) {
    .app-user .logo-panel {
        width: 200px !important;
        max-height: 100px !important;
    }
}

@media (max-width: 1024px) {
    .app-user .logo-panel {
        width: 180px !important;
        max-height: 90px !important;
    }
}

@media (max-width: 768px) {
    .app-user .logo-panel {
        width: 150px !important;
        max-height: 75px !important;
    }
}

@media (max-width: 600px) {
    .app-user .logo-panel {
        width: 140px !important;
        max-height: 70px !important;
    }
    
    .app-user .header-top {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
    }
    
    .app-user .app-router-view {
        padding-top: 1%;
    }
}

@media (max-width: 480px) {
    .app-user .logo-panel {
        width: 120px !important;
        max-height: 60px !important;
    }
    
    .app-user .header-top {
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
    }
}

@media (max-width: 414px) {
    .app-user .logo-panel {
        width: 110px !important;
        max-height: 55px !important;
    }
}

@media (max-width: 360px) {
    .app-user .logo-panel {
        width: 100px !important;
        max-height: 50px !important;
    }
}

/* ========================================
   반응형: 게임 카테고리 버튼
   ======================================== */
@media (max-width: 1199px) {
    .app-user .header-top .btn-grp button {
        width: 100px !important;
        min-width: 100px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 1023px) {
    .app-user .header-top .btn-grp button {
        width: 90px !important;
        min-width: 90px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .app-user .header-top .btn-grp button {
        width: 80px !important;
        min-width: 80px !important;
        font-size: 11px !important;
    }
    
    .app-user .header-top .btn-grp button i {
        font-size: 11px !important;
        margin-right: 3px !important;
    }
}

@media (max-width: 600px) {
    .app-user .header-top .btn-grp button {
        width: 75px !important;
        min-width: 75px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .app-user .header-top .btn-grp button {
        width: 65px !important;
        min-width: 65px !important;
        font-size: 10px !important;
        padding: 0 6px !important;
    }
    
    .app-user .header-top .btn-grp button i {
        display: none !important;
    }
}

@media (max-width: 414px) {
    .app-user .header-top .btn-grp button {
        width: 60px !important;
        min-width: 60px !important;
        font-size: 9px !important;
        padding: 0 4px !important;
    }
}

@media (max-width: 360px) {
    .app-user .header-top .btn-grp button {
        width: 55px !important;
        min-width: 55px !important;
        font-size: 9px !important;
        padding: 0 4px !important;
    }
}

/* ========================================
   반응형: 카테고리 타이틀
   ======================================== */
@media (max-width: 1199px) {
    .app-user .category_title {
        min-height: 70px !important;
    }
    
    .category_title .category-name {
        font-size: 24px !important;
        letter-spacing: 4px !important;
    }
}

@media (max-width: 1023px) {
    .app-user .category_title {
        min-height: 65px !important;
    }
    
    .category_title .category-name {
        font-size: 22px !important;
        letter-spacing: 3px !important;
    }
}

@media (max-width: 767px) {
    .app-user .category_title {
        min-height: 60px !important;
        width: 50% !important;
        height: 50px !important;
    }
    
    .category_title .category-name {
        font-size: 20px !important;
        letter-spacing: 3px !important;
    }
    
    .app-user .page-content {
        padding: 15px 0 20px;
    }
}

@media (max-width: 600px) {
    .app-user .category_title {
        min-height: 55px !important;
    }
    
    .category_title .category-name {
        font-size: 18px !important;
        letter-spacing: 2px !important;
    }
}

@media (max-width: 480px) {
    .app-user .category_title {
        min-height: 50px !important;
        width: 60% !important;
    }
    
    .category_title .category-name {
        font-size: 16px !important;
        letter-spacing: 2px !important;
    }
}

@media (max-width: 414px) {
    .app-user .category_title {
        min-height: 45px !important;
        width: 70% !important;
    }
    
    .category_title .category-name {
        font-size: 14px !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 360px) {
    .app-user .category_title {
        min-height: 40px !important;
        width: 75% !important;
    }
    
    .category_title .category-name {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }
}

/* ========================================
   반응형: 게임 카드 (기본 5개)
   ======================================== */
/* 기본값 - 5개 고정 */
.app-user .slot-btn {
    width: calc(17% - 24px) !important; /* 5개 */
}

/* 태블릿 - 4개 */
@media (max-width: 1024px) {
    .app-user .slot-btn {
        width: calc(25% - 24px) !important; /* 4개 */
    }
}

/* 작은 태블릿 - 3개 */
@media (max-width: 840px) {
    .app-user .slot-btn {
        width: calc(33.33% - 24px) !important; /* 3개 */
    }
}

@media (max-width: 767px) {
    .app-user .slot-btn {
        width: calc(33.33% - 24px) !important; /* 3개 */
        margin: 0 6px 14px !important;
    }
    
    .app-user .slot-btn .g-footer .g-name {
        font-size: 14px !important;
        height: 30px !important;
    }
}

@media (max-width: 640px) {
    .app-user .slot-btn {
        width: calc(33.33% - 10px) !important;
        margin: 0 5px 10px !important;
    }
}

@media (max-width: 500px) {
    .app-user .slot-btn {
        width: calc(33.33% - 12px) !important;
        margin: 0 6px 14px !important;
    }
    
    .app-user .slot-btn:before {
        left: 6px;
        top: 6px;
    }
    
    .app-user .slot-btn:hover:before {
        transform: rotate(5deg) translate(-3px, -3px);
    }
    
    .app-user .slot-btn:hover .g-panel {
        transform: translate(3px, 3px);
    }
    
    .app-user .slot-btn .play-btn {
        display: none; /* 작은 화면에서 플레이 버튼 숨김 */
    }
}

@media (max-width: 414px) {
    .app-user .slot-btn {
        width: calc(33.33% - 8px) !important;
        margin: 0 4px 10px !important;
    }
    
    .app-user .slot-btn:before {
        left: 3px;
        top: 3px;
    }
    
    .app-user .slot-btn:hover:before {
        transform: rotate(5deg) translate(-1.5px, -1.5px);
    }
    
    .app-user .slot-btn:hover .g-panel {
        transform: translate(1.5px, 1.5px);
    }
    
    .app-user .slot-btn .g-footer .g-name {
        font-size: 12px !important;
        height: 30px !important;
    }
    
    .app-user .slot-btn .g-footer .g-logo {
        height: 40px !important;
    }
    
    .app-user .slot-btn .g-footer {
        padding-bottom: 0;
    }
}

/* ========================================
   9. 모바일 왼쪽 슬라이드 메뉴
   ======================================== */
.newmodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* 모바일 슬라이드 메뉴용 sidebar-left */
.newmodal-overlay .sidebar-left {
    width: 280px;
    height: 100%;
    min-height: 100vh;
    top: 56px;
    left: -100%;
    background-color: #03070e;
    background-image: linear-gradient(#03070e, #07152c);
    border: none;
    border-right: 1px solid #222e41;
    margin: 0 !important;
    padding: 10px 0 100px;
    display: block;
    overflow-y: auto;
    position: fixed;
    transition: left 0.5s ease;
    z-index: 9999;
}

.newmodal-overlay .sidebar-left.active {
    left: 0;
}

/* Desktop 메뉴용 sidebar-left - 정상 표시 */
.app-user .header-menu.desktop .sidebar-left {
    width: 100%;
    height: 100%;
    position: relative;
    left: auto;
    top: auto;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newmodal-overlay .sidebar-left::-webkit-scrollbar {
    width: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.newmodal-overlay .sidebar-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.newmodal-overlay .sidebar-left::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 모바일 슬라이드 메뉴 스타일 */
.newmodal-overlay .main-menu {
    align-content: flex-start;
}

.newmodal-overlay .main-menu .bs-ul {
    width: 100%;
    display: block;
}

.newmodal-overlay .main-menu ul {
    height: auto;
}

.newmodal-overlay .main-menu .bs-ul li {
    padding-right: 0;
    display: block;
}

.newmodal-overlay .main-menu .bs-ul li a {
    max-width: 100%;
    height: 50px;
    justify-content: flex-start;
    padding: 0 15px;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
}

.newmodal-overlay .main-menu .bs-ul li a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-top: 1px solid #2e425c;
    border-bottom: 1px solid #2e425c;
    background-color: #1a2538;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent);
    mask-image: linear-gradient(90deg, #000, transparent);
    opacity: 1;
    border-radius: 0;
}

.newmodal-overlay .main-menu .bs-ul li a:after {
    display: none;
}

.newmodal-overlay .main-menu .bs-ul li.mobile {
    display: block !important;
}

/* 오버레이 클릭 시 닫기 */
.newmodal-overlay {
    cursor: pointer;
}

.app-user .sidebar-left {
    cursor: default;
}

/* 데스크톱에서는 숨김 */
@media (min-width: 1201px) {
    .newmodal-overlay {
        display: none !important;
    }
}

/* ========================================
   10. 스크롤바 스타일
   ======================================== */
.app-user * ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.app-user * ::-webkit-scrollbar-track {
    background-color: #000;
}

.app-user * ::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 200px;
}

.app-user html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll !important;
}

.app-user html::-webkit-scrollbar {
    width: 8px;
    background: #000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.app-user html::-webkit-scrollbar-thumb {
    background: linear-gradient(#7ac8ff, #0079ce);
    border: 1px solid #000;
    border-radius: 5px;
}

.app-user body {
    height: 100%;
    padding-right: 0 !important;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-family: 'Noto Sans KR', Arial, sans-serif;
    transition: 0.3s;
}

.app-user body.active {
    overflow: hidden;
}

.app-user a,
.app-user button,
.app-user input,
.app-user select,
.app-user span,
.app-user textarea {
    outline: none !important;
    transition: 0.3s;
}

.app-user button {
    padding: 0;
    cursor: pointer;
}

.app-user a:hover {
    text-decoration: none;
}

/* ========================================
   추가: 모바일 반응형
   ======================================== */
@media (max-width: 1200px) {
    .app-user .wrapper {
        padding-top: 70px;
    }
    
    .app-user .btn-gray:before {
        opacity: 1;
    }
}

@media (max-width: 500px) {
    .app-user .header-top .container {
        padding-right: 8px;
        padding-left: 10px;
    }
    
    .left-menu-btn {
        width: 34px;
    }
    
    .app-user .bal-container .mobile button {
        width: 38px;
    }
}
