/* ============================================
   GOLD SWIX Gaming Site Styles
   Based on https://sample5.swixgaming.com/
   ============================================ */

/* ===== GLOBAL RESET & BASE ===== */
* {
    box-sizing: border-box;
}

/* min-h-screen 하단 여백 제거 및 불필요한 높이 제거 */
.min-h-screen {
    min-height: 0 !important; /* 100vh 제거하여 footer-section이 차지하는 만큼만 높이 확보 */
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
}

body {
    background: #0a0a0f;
    background: linear-gradient(180deg, #0a0a0f 0%, #0f0f15 100%);
    color: #e8e8f0;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    line-height: 1.6;
}

/* 이탤릭체 제거 - 최신 트렌드에 맞게 일반 폰트 사용 */
* {
    font-style: normal;
}

/* 버튼, 입력 필드도 일반 폰트 */
button, input, select, textarea, a {
    font-style: normal;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* 스크롤 시 여백 방지 */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    touch-action: auto !important;
}

/* 스크롤바 드래그 가능하도록 설정 - 모든 CSS 오버라이드 */

/* 스크롤바 스타일 - 최고 우선순위로 설정 */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    -webkit-appearance: none !important;
    width: 10px !important;
    height: 10px !important;
    background-color: #000 !important;
    border-left: solid 1px rgba(255, 255, 255, 0.1) !important;
    display: block !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1) !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
    pointer-events: auto !important;
    -webkit-touch-callout: default !important;
    touch-action: auto !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    pointer-events: auto !important;
    cursor: pointer !important;
    cursor: grab !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
    -webkit-appearance: none !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
    border: none !important;
    -webkit-touch-callout: default !important;
    touch-action: auto !important;
    -webkit-user-drag: auto !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active,
*::-webkit-scrollbar-thumb:active {
    cursor: -webkit-grabbing !important;
    cursor: grabbing !important;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%) !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5) !important;
}

/* ===== HEADER STYLES ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.4), 0px 0px 1px 0px rgba(255, 255, 255, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-nav {
    max-width: 1690px;
    width: 100%;
    height: 70px;
    position: relative;
    padding: 0 115px;
    margin: 0 auto;
}

/* 1920px 초과 시에도 헤더 콘텐츠는 고정, 배경만 확장 */
@media (min-width: 1921px) {
    #header {
        background: linear-gradient(to bottom, #1f0f0f, #110909);
    }
    
    #header-nav {
        max-width: 1690px; /* 콘텐츠는 고정 */
        padding: 0 115px;
        margin: 0 auto;
    }
}

#header-nav-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

/* Header Logo */
.header-logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo img {
    height: 65px;
    width: auto;
}

/* Header Navigation Menu */
.header-nav-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0;
}

.header-nav-item {
    height: 70px;
    width: 163px;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: skewX(-14.5deg);
}

.header-nav-item > div {
    transform: skewX(14.5deg);
    height: 70px;
    width: 140px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav-item > div:hover .nav-item-gradient {
    opacity: 1;
}

.nav-item-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, #a78bfa, #6366f1 50%, #3336f1);
    opacity: 0;
    transition: opacity 0.3s;
    transform: skewX(-14.5deg);
}

.header-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e8e8f0;
    font-size: 14.5px;
    font-weight: 500;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    z-index: 2;
    padding: 0 8px 0 10px;
    height: 100%;
    gap: 5px;
    transition: color 0.3s ease;
}

.header-nav-item a:hover {
    color: #a78bfa;
}

.header-nav-item a i {
    font-size: 14.5px;
    margin-bottom: 5px;
}

/* Header Auth Section */
.header-auth {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

/* 드롭다운과 모바일 버튼이 나란히 배치되도록 */
.header-auth > * {
    flex-shrink: 0;
}

/* PC 버전: 로그인/회원가입 버튼 */
.header-auth-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.header-auth-btn {
    height: 42px;
    width: 120px;
    border-radius: 5px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transform: skewX(-14.5deg);
    position: relative;
    overflow: hidden;
}

.header-auth-btn > span {
    transform: skewX(14.5deg);
}

.header-auth-btn.login {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: rgba(139, 92, 246, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-auth-btn.login:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-auth-btn.register {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e8e8f0;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-auth-btn.register:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* 모바일 버전: Mypage 드롭다운 (기본 숨김) */
.header-mypage-dropdown {
    display: none;
    position: relative;
}

.header-mypage-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e8e8f0;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-mypage-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.5), 0px 0px 1px rgba(255, 255, 255, 0.1);
    min-width: 180px;
    z-index: 1000;
    overflow: hidden;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #e8e8f0;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-style: normal;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-dropdown-item:last-child {
    border-bottom: none;
}

.header-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    padding-left: 25px;
}

.header-dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 모바일 메뉴 버튼 (header-auth 내부) */
.header-auth .nav-toggole {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex-shrink: 0;
}

/* 드롭다운 컨테이너 */
.header-auth .dropdown {
    flex-shrink: 0;
}



@media (max-width: 1200px) {
    .header-nav-menu {
        display: none !important;
    }
}

/* 모바일에서만 mypage 드롭다운 표시, PC에서는 버튼 표시 */
@media (max-width: 768px) {
    .header-auth-buttons {
        display: none !important;
    }
    
    .header-mypage-dropdown {
        display: block !important;
        position: relative;
        top: 1x;
        padding-right: 0px;
    }
    
    .header-nav-menu {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .header-auth-buttons {
        display: flex !important;
        padding-right: 20px;
    }
    
    .header-mypage-dropdown {
        display: none !important;
    }
}

.header-spacer {
    height: 70px;
}

/* ===== SAMPLE NAVIGATION BAR ===== */
.sample-nav {
    background: #1b1c1d;
    padding: 11px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
    max-width: 1690px;
}

.sample-nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.6px 0;
    border-radius: 4px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    transition: all 0.3s;
}

.sample-nav-item:hover {
    background: rgba(255,255,255,0.1);
}

.sample-nav-item.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* ===== MAIN BANNER/HERO SECTION ===== */
/* main.css의 모든 스타일 오버라이드 */
.banner-main {
    width: 100% !important;
    min-height: 382px !important;
    height: auto !important;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f15 100%) !important;
    padding: 0 0 20px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    float: none !important;
    clear: both !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important; /* main.css의 transform 제거 */
    max-width: 100% !important; /* main.css의 max-width: 1920px 제거 */
    margin-left: 0 !important; /* main.css의 margin-left: auto 제거 */
    margin-right: 0 !important; /* main.css의 margin-right: auto 제거 */
    box-sizing: border-box !important;
}

.banner-main .banner-center {
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    vertical-align: top !important;
    left: 0 !important; /* main.css의 left: 50% 제거 */
    transform: none !important; /* main.css의 transform: translateX(-50%) 제거 */
}

.banner-center {
    max-width: 1700px !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    min-height: 382px !important;
    height: auto !important;
    aspect-ratio: 1700 / 421 !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    border-radius: 10px !important;
    box-shadow: -3px 2px 67px -36px rgba(237,101,101,0.15) !important;
    padding: 50px 115px 0 !important;
    display: block !important;
    overflow: hidden !important;
    left: 0 !important; /* main.css의 left: 50% 제거 */
    right: 0 !important;
    transform: none !important; /* main.css의 transform: translateX(-50%) 제거 */
    float: none !important;
    clear: both !important;
}

/* main.css의 미디어 쿼리 오버라이드 (1025px 이상) */
@media (min-width: 1025px) {
    .banner-main {
        display: block !important; /* main.css의 display: flex 제거 */
        justify-content: normal !important;
        align-items: normal !important;
        left: 0 !important; /* main.css의 left: 50% 제거 */
        transform: none !important; /* main.css의 transform: translateX(-50%) 제거 */
    }
    
    .banner-center {
        display: block !important; /* main.css의 display: flex 제거 */
        justify-content: normal !important;
        align-items: normal !important;
        left: 0 !important; /* main.css의 left: 50% 제거 */
        transform: none !important; /* main.css의 transform: translateX(-50%) 제거 */
    }
}

/* 배너 반응형 조정 - 콘텐츠는 최대 1700px로 고정 */
@media (max-width: 1700px) {
    .banner-center {
        aspect-ratio: auto !important;
        min-height: calc(382px * (100vw / 1700px)) !important;
        padding: calc(50px * (100vw / 1700px)) calc(115px * (100vw / 1700px)) 0 !important;
    }
}

@media (min-width: 1701px) {
    .banner-center {
        width: 1700px !important; /* 최대 1700px로 고정 */
    }
}

.banner-content-wrapper {
    /* position: relative; */
    width: 100%;
    height: 100%;
}

.banner-glow-left {
    position: absolute;
    bottom: 0;
    left: 3.5%;
    width: 33.2%;
    z-index: 1;
}

.banner-glow-left img {
    width: 100%;
    height: auto;
}

.banner-light {
    position: absolute;
    bottom: -19%;
    left: -8.6%;
    width: 28.3%;
    height: 114%;
    z-index: 2;
}

.banner-light img {
    width: 100%;
    height: 100%;
    animation: lightPulse 2s ease-in-out infinite;
}

.banner-girl-center {
    position: absolute;
    bottom: 0;
    left: 5.2%;
    width: 15.6%;
    height: 70%;
    z-index: 3;
    opacity: 0;
    transform: translateY(50px);
    animation: girlCenterFadeIn 1.5s ease-out forwards;
}

.banner-girl-center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-girl-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8.6%;
    height: 59%;
    z-index: 3;
    opacity: 0;
    animation: girlSideFadeIn 1s ease-out 1.5s forwards;
}

.banner-girl-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-girl-right {
    position: absolute;
    bottom: 0;
    left: 12.1%;
    width: 16.3%;
    height: 58.5%;
    z-index: 3;
    opacity: 0;
    animation: girlSideFadeIn 1s ease-out 1.5s forwards;
}

.banner-girl-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-candy-slot {
    position: absolute;
    bottom: 0;
    right: 13%;
    width: 13.2%;
    height: 62.2%;
    z-index: 3;
    opacity: 0;
    transform: translateX(50px);
    animation: slotSlideIn 1s ease-out 2.5s forwards;
}

.banner-candy-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-money-slot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 21.5%;
    height: 62.7%;
    z-index: 3;
    opacity: 0;
    transform: translateX(50px);
    animation: slotSlideIn 1s ease-out 3s forwards;
}

.banner-money-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-glow-right {
    position: absolute;
    bottom: -32.8%;
    right: -2.6%;
    width: 33.3%;
    height: 134.4%;
    z-index: 1;
}

.banner-glow-right img {
    width: 100%;
    height: 100%;
    animation: lightPulse 2s ease-in-out infinite;
}

/* ===== BANNER ANIMATIONS ===== */
@keyframes girlCenterFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes girlSideFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slotSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lightPulse {
    0%, 100% {
        opacity: 0.3;
        filter: brightness(0.5);
    }
    50% {
        opacity: 1;
        filter: brightness(1.5);
    }
}

/* ===== BANNER TEXT ===== */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: textFadeIn 1s ease-out 2s forwards;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    text-shadow: none;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-style: normal;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #c4b5fd;
    margin: 0;
    text-shadow: 0 2px 20px rgba(139, 92, 246, 0.3);
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-style: normal;
    letter-spacing: 0.5px;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Banner Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
    text-indent: -9999px;
    border: none;
}

.carousel-indicators li:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: scale(1.1);
}

.carousel-indicators li.active {
    width: 25px;
    height: 25px;
    border-radius: 12.5px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* ===== GAME CATEGORY NAVIGATION ===== */
.game-category-nav {
    position: relative;
    height: auto;
    min-height: 320px; /* 카테고리 버튼들이 모두 표시되도록 최소 높이 확보 */
    background: linear-gradient(180deg, #0f0f15 0%, #0a0a0f 100%);
    padding: 20px 0 40px 0; /* 하단 패딩 추가 */
    max-width: 1690px;
    margin: 0 auto;
    width: calc(100% - 240px);
    clear: both;
    margin-bottom: 0; /* game-provider-section과의 간격 제어 */
}

.category-button {
    position: absolute;
    height: 75px;
    width: 100%;
    max-width: calc(50% - 150px);
    transform: skewX(-14.5deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0 29px 0 64px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-button:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.2);
}

/* 슬롯게임과 스포츠 버튼: 오른쪽 정렬 */
.category-button.category-slot,
.category-button.category-sports,
.category-button.category-minigame {
    justify-content: flex-end;
    padding: 0 64px 0 29px;
}

.category-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
}

.category-button.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-button.active .category-icon {
    opacity: 1;
    color: #a78bfa;
}

.category-button.active .category-text {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.category-button:not(.active) .category-text {
    color: #9ca3af;
}

.category-button:not(.active) .category-icon {
    opacity: 0;
}

.category-text {
    font-size: 24.8px;
    font-weight: 600;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transform: skewX(14.5deg);
    white-space: nowrap;
    margin-right: 20px;
    letter-spacing: -0.3px;
}

/* 슬롯게임, 스포츠, 미니게임: 텍스트 마진 조정 */
.category-button.category-slot .category-text,
.category-button.category-sports .category-text,
.category-button.category-minigame .category-text {
    margin-right: 0;
    margin-left: 20px;
}

.category-icon {
    font-size: 31.1px;
    color: #a78bfa;
    transform: skewX(14.5deg);
    transition: all 0.3s ease;
    display: inline-block;
    animation: arrowBounce 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: skewX(14.5deg) translateY(0);
    }
    50% {
        transform: skewX(14.5deg) translateY(5px);
    }
}

.category-icon-container {
    width: 152px;
    height: 124px;
    position: absolute;
    top: -26px;
    left: -95px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/gold/images/category/Container.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.category-icon-container.right {
    left: auto;
    right: -95px;
}

.category-icon-img {
    /* width: 150px; */
    height: 75px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: iconPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Category Button Positions */
/* 왼쪽: 라이브, 홀덤, Binary Option */
.category-live {
    left: 120px;
    top: 21px;
}

.category-holdem {
    left: 120px;
    top: 120px; /* 75px (버튼 높이) + 35px (간격) */
}

.category-esports {
    left: 120px;
    top: 220px; /* 110px + 75px + 35px */
}

/* 오른쪽: 슬롯, 스포츠 */
.category-slot {
    right: 120px;
    top: 21px;
    left: auto;
}

.category-sports {
    right: 120px;
    top: 120px; /* 75px (버튼 높이) + 35px (간격) */
    left: auto;
}

/* 미니게임 카테고리 (오른쪽 열 3번째) */
.category-minigame {
    right: 120px;
    top: 220px;
    left: auto;
}

/* 카테고리 버튼 간격 확보 - 이미 position: absolute로 배치되어 있으므로 margin 제거 */

/* ===== GAME PROVIDER CARDS GRID ===== */
.game-provider-section {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    max-width: 1304px;
    margin: 0 auto;
    margin-top: 0; /* game-category-nav와의 간격 제거 */
    padding: 30px 7px 40px;
    width: calc(100% - 240px);
    background: linear-gradient(180deg, #0a0a0f 0%, #0f0f15 100%);
    clear: both;
}

.game-provider-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
    position: relative;
}

.game-provider-card {
    width: 242px;
    height: 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-provider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.3), 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.game-provider-card-inner {
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px 9px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.game-card-image {
    width: 100%;
    aspect-ratio: 222/280;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
    background: black;
    box-shadow: 0px 1px 1px 0px #541f1f;
    position: relative;
}

.game-card-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card-image:hover img {
    transform: scale(1.1);
}

.game-card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 42px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.game-provider-card:hover .game-card-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.game-card-play-btn:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

.game-card-play-btn > span {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.game-provider-card:hover .game-card-play-btn {
    opacity: 1;
}

.game-card-info {
    height: 102px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 20%, rgba(139, 92, 246, 0.08) 50%, rgba(255, 255, 255, 0.05) 100%);
    position: relative;
}

.game-card-logo {
    width: 88px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-card-logo {
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-card-logo img {
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    border-radius: 8.4px;
}

.game-card-name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e8e8f0;
    text-shadow: none;
    line-height: 24px;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #050508 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 0 0 0;
    min-height: 439px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    clear: both;
    width: 100%;
}

.footer-section:before,
.footer-section:after {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    position: absolute;
    box-shadow: 0 0 1000px #5e3310;
    pointer-events: none;
    z-index: 0;
}

.footer-section:before {
    width: 70%;
    top: -100%;
    box-shadow: 0 0 1400px #460b0b, 0 0 2000px #601010;
}

.footer-section:after {
    width: 956px;
    height: 12px;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-image: radial-gradient(#bb5d5d, transparent, transparent);
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
    display: none;
}

/* Footer Content Section */
.footer-content-section {
    background: #110909;
    padding: 20px 0;
    width: 100%;
    position: relative;
    margin-top: 0;
}

.footer-content {
    max-width: 1690px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 41px 115px 90px;
}

.footer-info-box {
    width: 543px;
    padding: 0 15px;
}

.footer-info-header {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    gap: 10px;
}

.footer-info-header::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0px 1px 1px 0px rgba(0,0,0,0.5);
    pointer-events: none;
    border-radius: 8px;
}

.footer-info-icon {
    width: auto;
    height: 72px;
    margin-right: 0;
    object-fit: contain;
}

.footer-info-title {
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 100% 100%;
    position: relative;
    font-size: 25px;    
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
}

.footer-table {
    width: 100%;
}

.footer-table-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12.75px 1px;
    align-items: center;
    transition: background 0.2s ease;
}

.footer-table-row:hover {
    background: rgba(139, 92, 246, 0.05);
}

.footer-table-cell {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e8e8f0;
    padding: 0 1px;
}

.footer-table-cell:first-child {
    width: 132px;
    text-align: left;
}

.footer-table-cell:nth-child(2) {
    width: 180px;
    text-align: right;
}

.footer-table-cell:last-child {
    flex: 1;
    text-align: right;
    padding-right: 10px;
    color: #9ca3af;
}

.footer-notice-link {
    color: #e8e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-notice-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.footer-more-link {
    color: #a78bfa;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-style: normal;
    transition: all 0.3s ease;
}

.footer-more-link:hover {
    color: #c4b5fd;
    transform: translateX(3px);
}

.footer-more-link i {
    font-size: 12px;
}

/* ===== FOOTER SLIDING BANNER ===== */
.footer-slide-banner {
    width: 100%;
    max-width: 1690px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}

.slide-banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide-banner-track {
    display: flex;
    animation: slideBanner 30s linear infinite;
    gap: 40px;
}

.slide-banner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-banner-item img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    filter: none;
}

@keyframes slideBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer Logo Section */
.footer-logo-section {
    text-align: center;
    padding: 35px 0 35px 0;
    max-width: 1690px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 29px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 12px;
    color: #6b7280;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: center;
    padding: 30px 0 35px 0;
    position: relative;
    margin-bottom: 0;
}

.footer-copyright::after {
    content: '';
    position: absolute;
    width: 24%;
    height: 2px;
    left: 50%;
    top: 0;
    background-image: linear-gradient(to right, rgba(99, 102, 241, 0), rgba(139, 92, 246, 0.6), rgba(99, 102, 241, 0));
    transform: translate(-50%);
    margin-top: 10px;
}

/* Partner Logos */
.partner-logos {
    max-width: 1690px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.partner-logo-item {
    width: 219px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s;
}

.partner-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== HIDE OLD SECTIONS ===== */
.section-pt {
    display: none !important;
}

.fixed-grid {
    display: none !important;
}

.divider-with-text {
    display: none !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1920px) {
    .game-provider-grid {
        grid-template-columns: repeat(5, 0fr);
    }
}

@media (max-width: 1600px) {
    .game-provider-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    #header-nav {
        padding: 0 50px;
    }
    
    .game-provider-section {
        left: 50px;
        right: 50px;
    }
}

@media (max-width: 1200px) {
    .game-provider-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 1200px 이하에서도 nav 메뉴는 유지 (768px 이하에서만 숨김) */
    .header-nav-menu {
        display: flex;
    }
    
    .category-button {
        width: 100%;
        max-width: calc(50% - 20px);
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 10px;
        transform: skewX(-14.5deg) !important;
    }
    
    .category-live,
    .category-holdem,
    .category-esports {
        float: left;
        clear: left;
    }
    
    .category-slot,
    .category-sports,
    .category-minigame {
        float: right;
        clear: right;
        justify-content: flex-end !important;
    }
    
    .category-slot .category-text,
    .category-sports .category-text,
    .category-minigame .category-text {
        margin-right: 0 !important;
        margin-left: 20px !important;
    }
    
    .game-provider-section {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100% !important;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    /* 배너 섹션 - 모바일 반응형 */
    .banner-main {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: linear-gradient(to bottom, #412121, #110909) !important;
    }
    
    .banner-center {
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        max-height: 250px !important;
        padding: 15px 5px !important;
        background-size: cover !important;
        background-position: center !important;
        position: relative !important;
        aspect-ratio: 375/180 !important; /* 모바일 비율에 맞춤 */
    }
    
    .banner-content-wrapper {
        width: 100% !important;
        height: 100% !important;
        min-height: 180px !important;
        position: relative !important;
    }
    
    /* 배너 이미지들 비율 조정 - 모바일에 맞게 축소 및 위치 조정 */
    .banner-girl-center {
        width: 30% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 0 !important;
        height: auto !important;
    }
    
    .banner-girl-center img {
        width: 100% !important;
        height: auto !important;
        max-height: 140px !important;
        object-fit: contain !important;
    }
    
    .banner-girl-left {
        width: 22% !important;
        left: 0 !important;
        bottom: 0 !important;
        height: auto !important;
    }
    
    .banner-girl-left img {
        width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        object-fit: contain !important;
    }
    
    .banner-girl-right {
        width: 22% !important;
        left: 20% !important;
        bottom: 0 !important;
        height: auto !important;
    }
    
    .banner-girl-right img {
        width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        object-fit: contain !important;
    }
    
    .banner-candy-slot {
        width: 18% !important;
        right: 25% !important;
        bottom: 0 !important;
        height: auto !important;
    }
    
    .banner-candy-slot img {
        width: 100% !important;
        height: auto !important;
        max-height: 100px !important;
        object-fit: contain !important;
    }
    
    .banner-money-slot {
        width: 25% !important;
        right: 0 !important;
        bottom: 0 !important;
        height: auto !important;
    }
    
    .banner-money-slot img {
        width: 100% !important;
        height: auto !important;
        max-height: 110px !important;
        object-fit: contain !important;
    }
    
    .banner-glow-left {
        width: 40% !important;
        left: -5% !important;
        bottom: -20px !important;
        height: auto !important;
    }
    
    .banner-glow-left img {
        width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        opacity: 0.5 !important;
        object-fit: contain !important;
    }
    
    .banner-glow-right {
        width: 40% !important;
        right: -5% !important;
        bottom: -20px !important;
        height: auto !important;
    }
    
    .banner-glow-right img {
        width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        opacity: 0.5 !important;
        object-fit: contain !important;
    }
    
    .banner-light {
        width: 35% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -30px !important;
        height: auto !important;
    }
    
    .banner-light img {
        width: 100% !important;
        height: auto !important;
        max-height: 80px !important;
        object-fit: contain !important;
    }
    
    .banner-text {
        position: absolute !important;
        top: 20% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        width: 90% !important;
        text-align: center !important;
    }
    
    .banner-title {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }
    
    .banner-subtitle {
        font-size: 12px !important;
    }
    
    /* 게임 카테고리 네비게이션 - 모바일 반응형 */
    .game-category-nav {
        width: 100% !important;
        padding: 10px 5px !important;
        min-height: 0 !important;
        height: auto !important;
        background: #110909 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    
    .category-button {
        width: calc(50% - 4px) !important;
        max-width: none !important;
        height: 55px !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 0 !important;
        float: none !important;
        padding: 0 10px 0 45px !important;
        flex-shrink: 0 !important;
    }
    
    /* 모바일에서 올바른 순서 보장 */
    .category-live {
        order: 1 !important;
    }
    
    .category-slot {
        order: 2 !important;
    }
    
    .category-holdem {
        order: 3 !important;
    }
    
    .category-sports {
        order: 4 !important;
    }
    
    .category-esports {
        order: 5 !important;
    }
    
    .category-minigame {
        order: 6 !important;
    }
    
    /* 왼쪽 아이콘 (라이브, 홀덤, e스포츠) */
    .category-button:not(.category-slot):not(.category-sports):not(.category-minigame) .category-icon-container {
        width: 50px !important;
        height: 45px !important;
        top: 0px !important;
        left: -10px !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* 오른쪽 아이콘 (슬롯, 스포츠) */
    .category-icon-container.right {
        width: 50px !important;
        height: 45px !important;
        top: 0px !important;
        left: auto !important;
        right: -8px !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* 오른쪽 버튼은 오른쪽 패딩 추가 및 오른쪽 정렬 */
    .category-button.category-slot,
    .category-button.category-sports,
    .category-button.category-minigame {
        padding: 0 45px 0 10px !important;
        justify-content: flex-end !important;
    }
    
    .category-button.category-slot .category-text,
    .category-button.category-sports .category-text,
    .category-button.category-minigame .category-text {
        margin-right: 0 !important;
        margin-left: 8px !important;
    }
    
    .category-icon-img {
        width: 45px !important;
        height: 35px !important;
        object-fit: contain !important;
    }
    
    .category-text {
        font-size: 14px !important;
        margin-right: 8px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .category-icon {
        font-size: 16px !important;
    }
    
    /* 게임 프로바이더 그리드 */
    .game-provider-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .game-provider-section {
        width: 100% !important;
        padding: 20px 10px !important;
    }
    
    .game-provider-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 222/306 !important;
        margin: 0 !important;
    }
    
    /* 푸터 콘텐츠 - 모바일 반응형 */
    .footer-content-section {
        width: 100% !important;
        padding: 20px 10px !important;
    }
    
    .footer-content {
        flex-direction: column !important;
        max-width: 100% !important;
        padding: 20px 10px !important;
        gap: 20px !important;
    }
    
    .footer-info-box {
        width: 100% !important;
        padding: 0 10px !important;
        margin-bottom: 20px !important;
    }
    
    .footer-info-header {
        height: 45px !important;
        padding: 0 10px !important;
        margin-bottom: 15px !important;
    }
    
    .footer-info-icon {
        height: 50px !important;
        margin-right: 8px !important;
    }
    
    .footer-info-title {
        font-size: 18px !important;
    }
    
    .footer-table {
        font-size: 12px !important;
    }
    
    .footer-table-row {
        height: 40px !important;
    }
    
    .footer-table-cell {
        font-size: 12px !important;
        padding: 5px !important;
    }
    
    .footer-more-link {
        font-size: 12px !important;
    }
}

