/* Google Fonts 적용 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Questrial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 제목용 폰트 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* 기본 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 섹션1: 네비게이션바 */
.navbar {
    background-image: url('../img/bar-login.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 95px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 1240px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* 좌측 로고 */
.nav-logo img {
    height: auto;
    max-height: 60px;
    width: auto;
}

/* 우측 버튼들 */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 사용자 정보 바 */
.user-info-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
}

.user-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ff00, #ff0080, #8000ff, #00ff80);
    background-size: 400% 400%;
    animation: neon 8s ease infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 2px #87CEEB, 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes neon {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 2px #87CEEB, 0 0 10px rgba(0, 255, 255, 0.5);
    }
    25% {
        background-position: 100% 0%;
        box-shadow: 0 0 0 2px #87CEEB, 0 0 15px rgba(255, 0, 255, 0.7);
    }
    50% {
        background-position: 100% 100%;
        box-shadow: 0 0 0 2px #87CEEB, 0 0 20px rgba(255, 255, 0, 0.8);
    }
    75% {
        background-position: 0% 100%;
        box-shadow: 0 0 0 2px #87CEEB, 0 0 15px rgba(0, 255, 0, 0.7);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 2px #87CEEB, 0 0 10px rgba(0, 255, 255, 0.5);
    }
}

.badge-icon {
    color: white;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Pretendard', sans-serif;
}

.login-status {
    color: #87CEEB;
    font-size: 12px;
    font-family: 'Pretendard', sans-serif;
}

.user-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-label {
    color: #87CEEB;
    font-size: 11px;
    font-family: 'Pretendard', sans-serif;
}

.stat-value {
    color: white;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Pretendard', sans-serif;
}

.stat-separator {
    color: white;
    font-size: 12px;
    margin: 0 4px;
}

.btn-login,
.btn-join {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-login:hover,
.btn-join:hover {
    opacity: 0.8;
}

.btn-login img,
.btn-join img {
    height: auto;
    max-height: 40px;
    width: auto;
}

/* 반응형 대응 */
@media (max-width: 1240px) {
    .nav-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 10px;
    }
    
    .nav-logo img {
        max-height: 50px;
    }
    
    .btn-login img,
    .btn-join img {
        max-height: 35px;
    }
}

/* 섹션2: 네비게이션바 하단 */
.nav-bottom {
    background-color: #ffffff;
    height: 74px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bottom-container {
    width: 1240px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* 좌측 메뉴 */
.nav-menu-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 우측 메뉴 */
.nav-menu-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 메뉴 아이템 */
.nav-menu-item {
    color: #868686;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-menu-item:hover {
    color: #007aff;
}

.nav-menu-item.active {
    color: #007aff;
}

/* 아이콘이 있는 메뉴 아이템 */
.nav-menu-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    width: 52px;
    height: 52px;
    transition: opacity 0.3s ease;
}

/* 메인 메뉴 호버 시 아이콘 변경은 JavaScript로 처리 */

/* 반응형 대응 */
@media (max-width: 1240px) {
    .nav-bottom-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-bottom-container {
        padding: 0 10px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu-left,
    .nav-menu-right {
        gap: 20px;
    }
    
    .nav-menu-item {
        font-size: 14px;
    }
}

/* 섹션3: 히어로 */
.hero {
    background-image: url('../img/bg-main-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 750px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-container {
    width: 1240px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image {
    position: absolute;
    left: 60px;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-event {
    position: absolute;
    right: 20px;
    top: calc(50% + 170px);
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.banner-main-img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 1.5s ease-out forwards;
}

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

.banner-event-img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 1.5s ease-out 0.5s forwards;
}

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

/* 이벤트 슬라이드 */
.event-slider {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    opacity: 0;
    animation: fadeInSlider 0.5s ease-out 1.5s forwards;
}

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

/* 이벤트 칩 */
.event-chip {
    position: absolute;
    top: -150px;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    animation: fadeInChip 0.5s ease-out 0.5s forwards;
}

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

.chip-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    transform: translateX(25px);
}

/* 잭팟 바 */
.jackpot-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
}

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

.jackpot-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.jackpot-counter {
    position: absolute;
    bottom: 15px;
    right: 100px;
    z-index: 5;
}

.counter-number {
    font-family: 'Bebas Neue', cursive;
    font-weight: 700;
    font-size: 64px;
    color: #8FE6ED;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.event-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.event-slide.active {
    opacity: 1;
}

.event-slide-img {
    width: 480px;
    height: 259px;
    object-fit: cover;
    transform: translateX(-100px);
}

/* 반응형 대응 */
@media (max-width: 1240px) {
    .hero-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-main-img,
    .banner-event-img {
        max-height: 300px;
    }
    
    .event-slide-img {
        width: 300px;
        height: 162px;
    }
    
    .chip-img {
        max-height: 300px;
    }
    
    .jackpot-img {
        max-height: 100px;
    }
    
    .counter-number {
        font-size: 32px;
    }
    
    .jackpot-counter {
        right: 90px;
        bottom: 10px;
    }
}

/* 섹션4: 흐르는 공지사항 */
.notice-scroll {
    width: 1050px;
    margin: 30px auto;
    background: linear-gradient(#ffffff, #edf6f9);
    border: 1px solid #96d8ea;
    border-radius: 20px;
    overflow: visible;
    position: relative;
}

.notice-container {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.notice-icon {
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon-img {
    width: 67px;
    height: 68px;
}

.notice-content {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 0.912rem;
    line-height: 40px;
    color: #333;
    white-space: nowrap;
    animation: scrollNotice 46s linear infinite;
    padding-left: 90px;
    animation-delay: 0s;
}

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

/* 반응형 대응 */
@media (max-width: 1050px) {
    .notice-scroll {
        width: 100%;
        margin: 30px 20px;
    }
}

@media (max-width: 768px) {
    .notice-scroll {
        margin: 30px 10px;
    }
    
    .notice-content {
        font-size: 0.8rem;
        padding-left: 70px;
    }
    
    .notice-icon {
        left: -25px;
    }
    
    .notice-icon-img {
        width: 50px;
        height: 51px;
    }
}

/* 섹션5: 인기게임 */
.popular-games {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.popular-games-container {
    width: 1240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.popular-games-title {
    line-height: 100%;
    text-align: center;
    font-family: 'Pretendard';
    font-weight: 700;
    color: #9f9f9f;
    font-size: 1.125rem;
    margin: 60px 0 20px;
}

.popular-games-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1108px;
    height: 3rem;
    font-weight: 900;
    color: #4285fe;
    font-size: 44px;
    margin: 4px auto 4px;
    gap: 60px;
}

.line-left,
.line-right {
    height: 60px;
    width: 396px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.line-right {
    transform: scaleX(-1);
}

.popular-games-english {
    line-height: 100%;
    text-align: center;
    font-family: 'Pretendard';
    font-weight: 700;
    color: #9f9f9f;
    font-size: 22.8px;
    margin: 4px auto 0;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px auto 0;
}

.tab-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.tab-button:hover {
    opacity: 0.8;
}

.tab-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.game-content {
    margin-top: 80px;
    position: relative;
}

.game-bg {
    display: none;
    width: 100%;
    text-align: center;
}

.game-bg.active {
    display: block;
}

.game-bg-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.live-title-overlay {
    position: absolute;
    left: 100px;
    top: 100px;
    z-index: 10;
}

.live-title-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.live-move-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 70px;
    margin-left: -80px;
    transition: opacity 0.3s ease;
    position: relative;
}

.live-move-btn:hover {
    opacity: 0.8;
}

.live-move-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.live-visual-overlay {
    position: absolute;
    right: 0;
    top: calc(50% - 400px);
    transform: translateY(-50%) translateX(100%);
    z-index: 10;
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes slideInFromRight {
    0% {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.live-visual-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.live-cards-overlay {
    position: absolute;
    top: calc(50% + 130px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.live-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.live-cards-row:last-child {
    margin-bottom: 0;
}

.live-card {
    width: 242px;
    height: 288px;
    transition: transform 0.3s ease;
    position: relative;
}

.live-card:hover {
    transform: scale(1.05);
}

.live-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.live-card:hover .live-card-overlay {
    opacity: 1;
}

.live-card-btn {
    max-width: 51.2%;
    height: auto;
    display: block;
    cursor: pointer;
}

.live-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
}

.live-deco-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    margin-top: 60px;
}

.live-deco-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 트리톤 카드 스타일 */
.triton-cards-overlay {
    position: absolute;
    top: calc(50% + 130px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.triton-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.triton-card {
    width: 242px;
    height: 288px;
    position: relative;
    transition: transform 0.3s ease;
}

.triton-card:hover {
    transform: scale(1.05);
}

.triton-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
}

.triton-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.triton-card:hover .triton-card-overlay {
    opacity: 1;
}

.triton-card-btn {
    max-width: 51.2%;
    height: auto;
    display: block;
    cursor: pointer;
}

.triton-deco-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    margin-top: 60px;
}

.triton-deco-img {
    display: block;
}

.triton-description {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.triton-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 50px auto 40px;
}

.triton-description p {
    font-family: 'Pretendard', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #363636;
    margin: 0 0 20px 0;
}

.triton-description p:last-child {
    margin-bottom: 0;
}

/* 슬롯 카드 스타일 */
.slot-cards-overlay {
    position: absolute;
    top: calc(50% + 130px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.slot-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.slot-card {
    width: 242px;
    height: 288px;
    position: relative;
    transition: transform 0.3s ease;
}

.slot-card:hover {
    transform: scale(1.05);
}

.slot-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
}

.slot-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.slot-card:hover .slot-card-overlay {
    opacity: 1;
}

.slot-card-btn {
    max-width: 51.2%;
    height: auto;
    display: block;
    cursor: pointer;
}

.slot-deco-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    margin-top: 60px;
}

.slot-deco-img {
    display: block;
}

/* 보드 섹션 스타일 */
.board-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.board-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
}

.board-item {
    position: relative;
    width: 360px;
    height: 504px;
    padding: 4px;
}

.board-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.board-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0;
}

.board-title-container {
    position: absolute;
    top: 30px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.board-title.gradient-text {
    background: linear-gradient(to right, #4280ff 50%, #4fb6ff);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 1.125rem;
    font-family: 'Pretendard';
    font-weight: 800;
    margin: 0;
}

.board-icon {
    width: 26px;
    height: 16px;
    display: block;
}

.notice-icon {
    width: 34px;
    height: 26px;
    margin-left: 100px;
}

.board-notice-icon {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 26px;
}

.notice-list {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    padding: 0 10px;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.board-section .notice-title {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    flex: 1;
    margin-right: 10px;
}

.notice-date {
    color: #b8b8b8;
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* 보드 탭 스타일 */
.board-tabs {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 10;
}

.board-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    font-family: 'Pretendard';
    font-size: 1.125rem;
    font-weight: 800;
    color: #d2d2d2;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.board-tab:hover {
    color: #333;
}

.board-tab.active {
    background: linear-gradient(to right, #4280ff 50%, #4fb6ff);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.tab-divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
    margin: 0 10px;
}

.board-tab-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-panel {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.tab-panel.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.charge-list {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    padding: 0 10px;
}

.charge-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.charge-user {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    flex: 1;
    margin-right: 10px;
}

.charge-amount {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #4292ff;
    margin-right: 10px;
    white-space: nowrap;
}

.charge-date {
    color: #b8b8b8;
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.exchange-list {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    padding: 0 10px;
}

.exchange-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.exchange-user {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    flex: 1;
    margin-right: 10px;
}

.exchange-amount {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #4292ff;
    margin-right: 10px;
    white-space: nowrap;
}

.exchange-date {
    color: #b8b8b8;
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.player-list {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    padding: 0 10px;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.player-rank {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    width: 30px;
    text-align: center;
    margin-right: 10px;
}

.player-user {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    flex: 1;
    margin-right: 10px;
}

.player-score {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #4292ff;
    white-space: nowrap;
}

/* 텔레그램 섹션 스타일 */
.telegram-section {
    padding: 0 0 60px 0;
    background-color: #ffffff;
    border-bottom: 2px solid rgba(67, 133, 255, 0.3);
}

.telegram-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.telegram-item {
    width: 100%;
    height: 150px;
    position: relative;
}

.telegram-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PC 뷰에서 한 줄에 두 개 배치 */
@media (min-width: 1201px) {
    .telegram-item {
        width: calc(50% - 10px);
        max-width: 600px;
    }
}

.telegram-icon {
    position: absolute;
    top: 50%;
    left: calc(50% - 90px);
    transform: translate(-50%, -50%);
    z-index: 10;
}

.telegram-text {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    text-align: left;
    z-index: 10;
}

.telegram-subtitle {
    color: #363636;
    font-size: 0.75rem;
    font-family: 'Pretendard';
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.telegram-title {
    font-size: 1.125rem;
    font-family: 'Pretendard';
    font-weight: 700;
    background: linear-gradient(to right, #4280ff 50%, #4fb6ff);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin: 0;
    line-height: 1;
}

/* 파트너 섹션 스타일 */
.partner-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.partner-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partner-line {
    max-width: 100%;
    height: auto;
}

.copyright-text {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 1rem;
    color: #363636;
    text-align: center;
    margin: 40px 0 0 0;
}

/* 로그인 팝업 스타일 */
.login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-popup.show {
    display: flex;
}

.login-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.login-popup-bg {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    border-radius: 10px;
}

.login-character {
    position: absolute;
    left: 60px;
    top: calc(50% - 20px);
    transform: translateY(-50%) scale(1.2);
    max-width: 200px;
    height: auto;
    z-index: 1001;
}

.login-logo {
    position: absolute;
    right: 160px;
    top: 30px;
    max-width: 120px;
    height: auto;
    z-index: 1001;
}

.login-form {
    position: absolute;
    right: 60px;
    top: 140px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
}

.login-input {
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.875rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    color: #363636;
    background: transparent;
    width: 160px;
}

.login-input::placeholder {
    color: #363636;
    font-family: 'Pretendard', sans-serif;
    font-size: 0.875rem;
    font-weight: bold;
}

.login-submit-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 10px;
}

.login-submit-btn:hover {
    opacity: 0.8;
}

.login-btn-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.join-submit-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: -20px;
}

.join-submit-btn:hover {
    opacity: 0.8;
}

.join-btn-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 회원가입 팝업 스타일 */
.signup-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px 0;
    padding-top: 280px;
}

.signup-popup.show {
    display: flex;
}

.signup-popup-content {
    position: relative;
    max-width: 90%;
    width: auto;
    height: auto;
}

.signup-popup-bg {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    border-radius: 10px;
}

.signup-logo {
    position: absolute;
    top: 40px;
    right: 230px;
    max-width: 120px;
    z-index: 10;
}

/* 회원가입 폼 스타일 */
.signup-form {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: transparent;
    padding: 30px;
    z-index: 10;
}

.form-group {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: #007bff;
}

.input-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    opacity: 0.7;
}

.form-input, .form-select {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    padding: 5px 0;
}

.form-input::placeholder {
    color: #999;
}

.form-select {
    cursor: pointer;
}

.check-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.check-btn:hover {
    background: #0056b3;
}

.input-help {
    font-size: 12px;
    color: #007bff;
    margin-top: 5px;
    margin-left: 35px;
}

.notice-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.notice-list li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.signup-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.signup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 마이페이지 팝업 스타일 */
.mypage-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
}

.mypage-popup.show {
    display: flex;
}

.mypage-popup-content {
    position: absolute;
    top: 5vh;
    left: 50%;
    width: 1124px;
    z-index: 120;
    transform: translate(-50%, 0);
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(to right, #4cabfb, #7fcaff);
    clip-path: polygon(20px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    min-height: 600px;
    border-radius: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    max-width: 100vw;
}

/* 마이페이지 헤더 */
.mypage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: transparent;
    height: 80px;
}

.mypage-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.mypage-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-image {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.5;
}

.close-icon {
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* 탭 메뉴 */
.mypage-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    padding: 0 40px;
    height: 60px;
}

.tab-item {
    padding: 18px 25px;
    color: white;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    height: 100%;
}

.tab-item.active {
    border-bottom-color: #007bff;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
}

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

/* 메인 콘텐츠 */
.mypage-main-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    background: #f5f7fa;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* 섹션 공통 스타일 */
.info-section, .event-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.section-header {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.section-content {
    padding: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 정보 아이템 */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bullet-icon {
    color: #007bff;
    margin-right: 15px;
    font-size: 16px;
    margin-top: 0px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 마이페이지 유의사항 섹션 */
.mypage-notice-section {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #007bff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: 0;
}

.mypage-notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
    word-wrap: break-word;
}

.mypage-bullet-icon {
    color: #007bff;
    margin-right: 15px;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.mypage-notice-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    display: block;
    word-break: break-word;
    hyphens: auto;
}

.mypage-notice-list {
    margin-left: 0;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.mypage-notice-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    padding-left: 25px;
    position: relative;
}

.mypage-notice-list li:before {
    content: "-";
    position: absolute;
    left: 0;
    color: #555;
    font-weight: bold;
    font-size: 15px;
}

/* 이벤트 그리드 */
.event-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 25px;
}

.event-card {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.event-card:last-child {
    border-bottom: none;
}

.event-card:hover {
    background-color: #f8f9fa;
}

.event-title {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 13px;
    margin-right: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 140px;
    text-align: center;
}

.event-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 입금 신청 폼 스타일 */
.deposit-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.deposit-form {
    padding: 25px;
}

.form-row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-label {
    min-width: 120px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.amount-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amount-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

.reset-btn {
    padding: 8px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.amount-buttons {
    display: flex;
    gap: 8px;
}

.amount-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.amount-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.select-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.help-icon {
    width: 20px;
    height: 20px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.radio-text {
    font-size: 14px;
    color: #333;
}

.leverage-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.leverage-text {
    font-size: 14px;
    color: #333;
}

.leverage-btn {
    width: 30px;
    height: 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #f8f9fa;
    color: #6c757d;
}

.message-group {
    position: relative;
    flex: 1;
}

.message-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.history-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.history-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.deposit-notice {
    background: #e3f2fd;
    padding: 15px 25px;
    margin: 0;
}

.deposit-notice p {
    margin-bottom: 5px;
    font-size: 13px;
    color: #1976d2;
    line-height: 1.4;
}

.deposit-notice p:last-child {
    margin-bottom: 0;
}

.deposit-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.deposit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 환전신청 폼 스타일 */
.withdrawal-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.withdrawal-form {
    padding: 25px;
}

.withdrawal-notice {
    background: #e3f2fd;
    padding: 15px 25px;
    margin: 0;
}

.withdrawal-notice p {
    margin-bottom: 5px;
    font-size: 13px;
    color: #1976d2;
    line-height: 1.4;
}

.withdrawal-notice p:last-child {
    margin-bottom: 0;
}

.withdrawal-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.withdrawal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 포인트 내역 폼 스타일 */
.point-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.point-summary-section, .point-use-section, .point-history-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.point-summary {
    padding: 25px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.summary-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.summary-value {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.point-use-form {
    padding: 25px;
}

.use-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.use-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

.use-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.use-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.point-history-table {
    padding: 25px;
    overflow-x: auto;
}

.point-history-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.point-history-table th {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #e0e0e0;
}

.point-history-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #555;
}

.point-history-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.point-history-table tbody tr:hover {
    background: #e3f2fd;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #f8f9fa;
}

.page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-ellipsis {
    padding: 8px 5px;
    color: #666;
    font-size: 13px;
}

/* 쿠폰함 폼 스타일 */
.coupon-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.coupon-box-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.coupon-table-container {
    padding: 25px;
    overflow-x: auto;
}

.coupon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.coupon-table th {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #e0e0e0;
}

.coupon-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #555;
}

.coupon-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.coupon-table tbody tr:hover {
    background: #e3f2fd;
}

.coupon-table .expired {
    color: #dc3545;
    font-weight: bold;
}

.status-used {
    color: #6c757d;
    font-weight: 500;
}

.use-coupon-btn {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-coupon-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.coupon-total {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.total-amount {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.coupon-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

/* 내 정보 폼 스타일 */
.myinfo-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.myinfo-box-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

.myinfo-header {
    background: linear-gradient(to right, #4cabfb, #7fcaff);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myinfo-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.myinfo-logo {
    display: flex;
    align-items: center;
}

.myinfo-logo .logo-image {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.5;
}

.myinfo-form {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-field {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-label {
    min-width: 150px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.info-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.info-input:focus {
    outline: none;
    border-color: #4cabfb;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.info-value {
    flex: 1;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e0e0e0;
}

.change-btn {
    margin-top: 20px;
    padding: 15px 0;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
    width: 100%;
}

.change-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

/* 공지사항 팝업 스타일 */
.notice-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
}

.notice-popup.show {
    display: flex;
}

.notice-popup-content {
    position: absolute;
    top: 5vh;
    left: 50%;
    width: 1124px;
    z-index: 120;
    transform: translate(-50%, 0);
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(to right, #4cabfb, #7fcaff);
    clip-path: polygon(20px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    min-height: 600px;
    border-radius: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    max-width: 100vw;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: transparent;
    height: 80px;
}

.notice-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.notice-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-logo .logo-image {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.5;
}

.notice-logo .close-icon {
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-logo .close-icon:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.notice-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    padding: 0 40px;
    height: 60px;
}

.notice-tabs .tab-item {
    padding: 18px 25px;
    color: white;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.notice-tabs .tab-item.active {
    border-bottom-color: #007bff;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
}

.notice-tabs .tab-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notice-main-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    background: #f5f7fa;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* 공지사항 테이블 스타일 */
.notice-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    padding: 25px;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.notice-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #e0e0e0;
}

.notice-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #555;
}

.notice-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.notice-table tbody tr:hover {
    background: #e3f2fd;
}

.notice-table td:nth-child(2) {
    text-align: left;
    cursor: pointer;
}

.notice-table td:nth-child(2):hover {
    color: #007bff;
    text-decoration: underline;
}

.notice-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.notice-pagination .page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.notice-pagination .page-btn:hover {
    background: #f8f9fa;
}

.notice-pagination .page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 자주 묻는 질문 테이블 스타일 */
.faq-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    padding: 25px;
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.faq-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #e0e0e0;
}

.faq-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #555;
}

.faq-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.faq-table tbody tr:hover {
    background: #e3f2fd;
}

.faq-table td:nth-child(2) {
    text-align: left;
    cursor: pointer;
}

.faq-table td:nth-child(2):hover {
    color: #007bff;
    text-decoration: underline;
}

.faq-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.faq-pagination .page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.faq-pagination .page-btn:hover {
    background: #f8f9fa;
}

.faq-pagination .page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 프로모션/이벤트 테이블 스타일 */
.promotion-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    padding: 25px;
}

.promotion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.promotion-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #e0e0e0;
}

.promotion-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #555;
}

.promotion-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.promotion-table tbody tr:hover {
    background: #e3f2fd;
}

.promotion-table td:nth-child(2) {
    text-align: left;
    cursor: pointer;
}

.promotion-table td:nth-child(2):hover {
    color: #007bff;
    text-decoration: underline;
}

.promotion-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.promotion-pagination .page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.promotion-pagination .page-btn:hover {
    background: #f8f9fa;
}

.promotion-pagination .page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}


.play-now-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Pretendard';
    font-weight: 600;
    color: white;
    font-size: 16px;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

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

.slot-title-overlay {
    position: absolute;
    left: 100px;
    top: 100px;
    z-index: 10;
}

.slot-title-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.triton-title-overlay {
    position: absolute;
    left: 100px;
    top: 100px;
    z-index: 10;
}

.triton-title-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.triton-move-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 70px;
    margin-left: -80px;
    transition: opacity 0.3s ease;
    position: relative;
}

.triton-move-btn:hover {
    opacity: 0.8;
}

.triton-move-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.triton-visual-overlay {
    position: absolute;
    right: 0;
    top: calc(50% - 400px);
    transform: translateY(-50%) translateX(100%);
    z-index: 10;
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.triton-visual-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.slot-move-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 70px;
    margin-left: -10px;
    transition: opacity 0.3s ease;
    position: relative;
}

.slot-move-btn:hover {
    opacity: 0.8;
}

.slot-move-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.slot-visual-overlay {
    position: absolute;
    right: 0;
    top: calc(50% - 400px);
    transform: translateY(-50%) translateX(100%);
    z-index: 10;
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.slot-visual-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 반응형 대응 */
@media (max-width: 1240px) {
    .popular-games-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .nav-buttons {
        display: none;
    }
    
    .nav-bottom {
        display: none;
    }
    
    .hero {
        display: none;
    }
    
    .notice-scroll {
        display: none;
    }
    
    .popular-games {
        display: none;
    }
    
    .board-section {
        display: none;
    }
    
    .mobile-hero {
        display: block !important;
        width: 100%;
        height: 1400px; /* Changed from 1600px to 1400px */
        background-image: url('../img/bg-main-odd.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }
    
    .mobile-holdem-title {
        position: absolute;
        left: 25%;
        top: 40px;
        transform: translateX(-50%);
        width: 228px;
        height: 200px;
        z-index: 15;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-holdem-title:hover {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.1);
    }
    
    .mobile-play-now-btn {
        position: absolute;
        left: 25%;
        top: 200px; /* Below holdem title */
        transform: translateX(-50%);
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        transition: all 0.3s ease;
        z-index: 20;
    }
    
    .mobile-play-now-btn:hover {
        background: linear-gradient(135deg, #ff5252, #ff7979);
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
    
    .mobile-title-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .mobile-holdem-title {
        width: 180px;
        height: auto;
        flex-shrink: 0;
    }
    
    .mobile-triton-character {
        width: 280px;
        height: auto;
        flex-shrink: 0;
    }
    
    /* index.html 전용 클래스 - 라이브 캐릭터/타이틀 사이즈 참조 */
    .mobile-index-holdem-title {
        position: absolute;
        left: 25%;
        top: 40px;
        transform: translateX(-50%);
        width: 228px; /* mobile-live-title과 동일 */
        height: 200px;
        z-index: 15;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-index-holdem-title:hover {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.1);
    }
    
    .mobile-index-triton-character {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 626px; /* mobile-live-character과 동일 */
        height: auto;
        z-index: 10;
    }
    
    .mobile-live-character {
        position: absolute;
        left: 0;
        top: 466px;
        width: 100%;
        max-width: 626px;
        height: auto;
        z-index: 10;
    }
    
    .mobile-live-title {
        position: absolute;
        left: 75%;
        top: 600px; /* Back to original 600px */
        transform: translateX(-50%);
        width: 228px;
        height: 200px;
        z-index: 15;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-live-title:hover {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.1);
    }
    
    .mobile-slot-character {
        position: absolute;
        right: 0;
        top: 932px; /* Below live character (466px + 466px) */
        width: 100%;
        max-width: 626px;
        height: auto;
        z-index: 10;
    }
    
    .mobile-slot-title {
        position: absolute;
        left: 25%;
        top: 1050px; /* Below slot character */
        transform: translateX(-50%);
        width: 228px;
        height: 200px;
        z-index: 15;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-slot-title:hover {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.1);
    }
    
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1000;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        background: white;
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    .hamburger-btn:hover .hamburger-line {
        background: #007bff;
    }
    
    /* 모바일 슬롯 카드 스타일 */
    .slot-cards-overlay {
        position: absolute;
        top: calc(50% + 200px); /* img-triton-visual.png 다음 위치 */
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 11;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .slot-cards-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .slot-cards-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .slot-card {
        width: 160px; /* 원래 242px에서 축소 */
        height: 190px; /* 원래 288px에서 축소 */
        position: relative;
        transition: transform 0.3s ease;
    }
    
    .slot-card:hover {
        transform: scale(1.05);
    }
    
    .slot-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        background: transparent;
    }
    
    .slot-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .slot-card:hover .slot-card-overlay {
        opacity: 1;
    }
    
    .slot-card-btn {
        max-width: 60%;
        height: auto;
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .popular-games-container {
        padding: 0 10px;
    }
    
    .popular-games-title {
        font-size: 1rem;
        margin: 60px 0 30px;
    }
    
    .mobile-title-container {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .mobile-holdem-title {
        width: 150px;
        height: auto;
    }
    
    .mobile-triton-character {
        width: 220px;
        height: auto;
    }
    
    /* index.html 전용 클래스 - 768px 이하 */
    .mobile-index-holdem-title {
        width: 180px; /* mobile-live-title과 동일 */
        height: auto;
    }
    
    .mobile-index-triton-character {
        max-width: 80vw; /* mobile-live-character과 동일 */
        height: auto;
    }
    
    .mobile-play-now-btn {
        top: 160px; /* Adjusted for smaller screen */
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .mobile-triton-character {
        max-width: 80vw;
        height: auto;
    }
    
    .mobile-live-character {
        max-width: 80vw;
        height: auto;
        top: 60vw;
    }
    
    .mobile-live-title {
        width: 180px;
        height: auto;
        top: 500px; /* Changed to 500px for 768px and below */
    }
    
    .mobile-slot-character {
        max-width: 80vw;
        height: auto;
        top: calc(80vw + 300px); /* 300px 더 아래로 */
    }
    
    /* 작은 화면용 슬롯 카드 스타일 */
    .slot-cards-overlay {
        top: calc(50% + 250px); /* 더 아래로 이동 */
        padding: 0 10px;
    }
    
    .slot-cards-row {
        gap: 15px;
        margin-bottom: 10px;
        max-width: 100%;
    }
    
    .slot-cards-container {
        gap: 6px;
    }
    
    .slot-card {
        width: 140px; /* 더 작게 */
        height: 166px; /* 더 작게 */
    }
    
    .slot-card-btn {
        max-width: 65%;
    }
    
    .mobile-slot-title {
        width: 180px; /* Same as other titles */
        height: auto;
        top: calc(80vw + 400px); /* Below slot character */
    }
}

@media (max-width: 760px) {
    .mobile-hero {
        height: 1400px; /* Changed from 1300px to 1400px */
    }
}

@media (max-width: 700px) {
    .mobile-hero {
        height: 1300px; /* Reduced height for smaller screens */
    }
}

@media (max-width: 640px) {
    .mobile-hero {
        height: 1000px; /* Changed from 1100px to 1000px */
    }
    .mobile-triton-character {
        max-width: 70vw;
        height: auto;
    }
    
    .mobile-live-character {
        max-width: 70vw;
        height: auto;
        top: 50vw;
    }
    
    .mobile-live-title {
        top: 400px; /* 640px and below */
    }
    
    /* index.html 전용 클래스 - 640px 이하 */
    .mobile-index-triton-character {
        max-width: 70vw; /* mobile-live-character과 동일 */
        height: auto;
    }
    
    .mobile-slot-character {
        max-width: 70vw;
        height: auto;
        top: calc(70vw + 200px); /* 200px 더 아래로 */
    }
    
    .mobile-slot-title {
        width: 150px; /* Same as other titles */
        height: auto;
        top: calc(70vw + 300px); /* Below slot character */
    }
}

@media (max-width: 560px) {
    .mobile-hero {
        height: 900px; /* Reduced height for smaller screens */
    }
    
    .mobile-live-title {
        top: 350px; /* 560px and below */
    }
    
    .mobile-slot-character {
        max-width: 70vw;
        height: auto;
        top: calc(60vw + 250px); /* 100px 더 아래로 (150px + 100px = 250px) */
    }
    
    /* index.html 전용 클래스 - 560px 이하 */
    .mobile-index-triton-character {
        max-width: 70vw; /* mobile-live-character과 동일 */
        height: auto;
    }
    
    .mobile-slot-title {
        /* width: 150px; Remove width setting to match other titles */
        height: auto;
        top: calc(60vw + 350px); /* Below slot character */
    }
}

@media (max-width: 480px) {
    .mobile-hero {
        height: 700px; /* Reduced height for smaller screens */
    }
    
    .mobile-holdem-title {
        width: 150px;
        height: auto;
    }
    
    .mobile-play-now-btn {
        top: 130px; /* Adjusted for smaller screen */
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .mobile-triton-character {
        max-width: 70vw;
        height: auto;
    }
    
    /* index.html 전용 클래스 - 480px 이하 */
    .mobile-index-holdem-title {
        width: 150px; /* mobile-live-title과 동일 */
        height: auto;
    }
    
    .mobile-index-triton-character {
        max-width: 70vw; /* mobile-live-character과 동일 */
        height: auto;
    }
    
    .mobile-live-character {
        max-width: 70vw;
        height: auto;
        top: 50vw;
    }
    
    .mobile-live-title {
        width: 150px;
        height: auto;
        top: 250px; /* Changed to 250px for 480px and below */
    }
    
    .mobile-slot-character {
        max-width: 70vw;
        height: auto;
        top: calc(50vw + 220px); /* 220px 더 아래로 */
    }
    
    .mobile-slot-title {
        width: 150px; /* Same as other titles */
        height: auto;
        top: calc(50vw + 300px); /* 20px 더 위로 (320px - 20px) */
    }
}

@media (max-width: 400px) {
    .mobile-hero {
        height: 650px; /* Changed from 600px to 650px */
    }
}

@media (max-width: 360px) {
    .mobile-hero {
        height: 500px; /* Changed from 400px to 500px */
    }
    
    .mobile-holdem-title {
        width: 120px;
        height: auto;
    }
    
    .mobile-play-now-btn {
        top: 110px; /* Adjusted for smaller screen */
        padding: 6px 18px;
        font-size: 11px;
    }
    
    .mobile-triton-character {
        max-width: 60vw;
        height: auto;
    }
    
    /* index.html 전용 클래스 - 360px 이하 */
    .mobile-index-holdem-title {
        width: 120px; /* mobile-live-title과 동일 */
        height: auto;
    }
    
    .mobile-index-triton-character {
        max-width: 60vw; /* mobile-live-character과 동일 */
        height: auto;
    }
    
    .mobile-live-character {
        max-width: 60vw;
        height: auto;
        top: 40vw;
    }
    
    .mobile-live-title {
        width: 120px;
        height: auto;
        top: 200px; /* Changed to 200px for 360px and below */
    }
    
    .mobile-slot-character {
        max-width: 60vw;
        height: auto;
        top: calc(40vw + 160px); /* 160px 더 아래로 */
    }
    
    .mobile-slot-title {
        width: 120px; /* Same as other titles */
        height: auto;
        top: calc(40vw + 200px); /* 20px 더 위로 (220px - 20px) */
    }
}

/* 1:1문의 테이블 스타일 */
.inquiry-table-container {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin: 20px;
}

.inquiry-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.inquiry-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    font-weight: bold;
    color: #333;
}

.inquiry-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.inquiry-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.inquiry-table tbody tr:hover {
    background: #e3f2fd;
}

.inquiry-table td:nth-child(2) {
    text-align: center;
    cursor: pointer;
}

.inquiry-table td:nth-child(2):hover {
    color: #007bff;
    text-decoration: underline;
}

.inquiry-table .no-data {
    text-align: center;
    color: #dc3545;
    font-weight: bold;
    padding: 40px;
}

.inquiry-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.inquiry-pagination .page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.inquiry-pagination .page-btn:hover {
    background: #f8f9fa;
}

.inquiry-pagination .page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.inquiry-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.inquiry-create-btn {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.inquiry-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

/* 1:1문의 폼 스타일 */
.inquiry-form-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    margin: 20px;
}

.inquiry-form-header {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    padding: 20px;
    text-align: center;
}

.inquiry-form-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.inquiry-form-content {
    padding: 30px;
}

.inquiry-form-content .form-group {
    margin-bottom: 25px;
}

.inquiry-form-content .form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.inquiry-form-content .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.inquiry-form-content .form-input:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 2px rgba(76, 171, 251, 0.1);
}

.inquiry-form-content .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.inquiry-form-content .form-textarea:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 2px rgba(76, 171, 251, 0.1);
}

.inquiry-form-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.inquiry-submit-btn {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.inquiry-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

/* 쪽지함 스타일 */
.message-box-container {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin: 20px;
}

.message-box-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.message-box-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    font-weight: bold;
    color: #333;
}

.message-box-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.message-box-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.message-box-table tbody tr:hover {
    background: #e3f2fd;
}

.message-box-table td:nth-child(1) {
    text-align: center;
    cursor: pointer;
}

.message-box-table td:nth-child(1):hover {
    color: #007bff;
    text-decoration: underline;
}

.message-box-table .no-message {
    text-align: center;
    color: #dc3545;
    font-weight: bold;
    padding: 40px;
}

.message-box-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.message-box-pagination .page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.message-box-pagination .page-btn:hover {
    background: #f8f9fa;
}

.message-box-pagination .page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: #c82333;
}

.hamburger-btn {
    display: none;
}

.mobile-hero {
    display: none;
}

/* 모바일 사이드 메뉴 스타일 */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.mobile-side-menu.show {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-side-menu.show .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-side-menu.show .mobile-menu-content {
    transform: translateX(0);
}

/* 닫기 버튼 */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: scale(1.1);
}

.mobile-close-btn:active {
    transform: scale(0.95);
}

/* 사용자 정보 */
.mobile-user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
}

/* 로고 정보 */
.mobile-logo-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* 로그인 버튼들 */
.mobile-login-buttons {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mobile-login-btn,
.mobile-join-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mobile-login-btn:hover,
.mobile-join-btn:hover {
    opacity: 0.8;
}

.mobile-btn-img {
    width: 100%;
    height: auto;
    max-height: 50px;
    display: block;
}

/* 480~400px 구간에서 버튼 크기 조정 */
@media (max-width: 480px) and (min-width: 400px) {
    .mobile-btn-img {
        max-height: 45px;
    }
    
    .mobile-login-btn,
    .mobile-join-btn {
        flex: 1;
        max-width: 120px;
    }
    
    .mobile-login-buttons {
        justify-content: center;
        gap: 15px;
    }
}

/* 390~360px 구간에서 버튼 크기 더 작게 조정 */
@media (max-width: 390px) and (min-width: 360px) {
    .mobile-btn-img {
        max-height: 35px;
    }
    
    .mobile-login-btn,
    .mobile-join-btn {
        flex: 1;
        max-width: 100px;
    }
    
    .mobile-login-buttons {
        justify-content: center;
        gap: 10px;
    }
}

/* 모바일 로그인 팝업 스타일 */
.mobile-login-popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    overflow-y: auto;
}

.mobile-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-bottom: 1px solid #e9ecef;
}

.mobile-login-logo {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mobile-login-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-login-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-login-form {
    padding: 40px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-login-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-login-input-group {
    margin-bottom: 20px;
}

.mobile-login-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-login-input:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-login-input::placeholder {
    color: #999;
}

.mobile-login-submit-btn,
.mobile-login-join-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-login-submit-btn {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

.mobile-login-join-btn {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.mobile-login-join-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* 모바일에서만 모바일 로그인 팝업 표시 */
@media (max-width: 768px) {
    .login-popup.show .login-popup-content {
        display: none;
    }
    
    .login-popup.show .mobile-login-popup-content {
        display: block;
    }
}

/* 데스크톱에서는 모바일 로그인 팝업 숨김 */
@media (min-width: 769px) {
    .mobile-login-popup-content {
        display: none !important;
    }
}

/* 모바일 회원가입 팝업 스타일 */
.mobile-signup-popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    overflow-y: auto;
}

.mobile-signup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-signup-logo {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mobile-signup-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-signup-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-signup-form {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-signup-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-signup-input-group {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-signup-input,
.mobile-signup-select {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-signup-input:focus,
.mobile-signup-select:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-signup-input::placeholder {
    color: #999;
}

.mobile-check-btn {
    padding: 12px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
}

.mobile-check-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.mobile-input-help {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    margin-top: -5px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-signup-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-family: 'Pretendard', sans-serif;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-signup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

/* 모바일에서만 모바일 회원가입 팝업 표시 */
@media (max-width: 768px) {
    .signup-popup.show .signup-popup-content {
        display: none;
    }
    
    .signup-popup.show .mobile-signup-popup-content {
        display: block;
    }
}

/* 데스크톱에서는 모바일 회원가입 팝업 숨김 */
@media (min-width: 769px) {
    .mobile-signup-popup-content {
        display: none !important;
    }
}

/* 모바일 마이페이지 팝업 스타일 */
.mobile-mypage-popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    overflow-y: auto;
}

.mobile-mypage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-mypage-logo {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mobile-mypage-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-mypage-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-mypage-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    position: sticky;
    top: 80px;
    z-index: 9;
}

.mobile-tab-item {
    flex: 1;
    padding: 12px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
    border-bottom: 3px solid transparent;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-tab-item.active {
    color: #4cabfb;
    border-bottom-color: #4cabfb;
    background: white;
}

.mobile-mypage-content {
    padding: 20px;
}

.mobile-section {
    margin-bottom: 30px;
}

.mobile-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4cabfb;
    font-family: 'Pretendard', sans-serif;
}

.mobile-info-list {
    margin-bottom: 20px;
}

.mobile-info-item {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.mobile-notice-title {
    font-size: 16px;
    font-weight: bold;
    color: #856404;
    margin-bottom: 10px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-text {
    font-size: 14px;
    color: #856404;
    margin-bottom: 10px;
    line-height: 1.5;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-list {
    margin: 10px 0;
    padding-left: 20px;
}

.mobile-notice-list li {
    font-size: 14px;
    color: #856404;
    margin-bottom: 5px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-event-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.mobile-event-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-event-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-form-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    font-family: 'Pretendard', sans-serif;
}

.mobile-amount-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-amount-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    transition: all 0.3s ease;
}

.mobile-amount-input:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-reset-btn {
    padding: 12px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
}

.mobile-reset-btn:hover {
    background: #5a6268;
}

/* 360px 이하에서 인풋창 크기 조정 */
@media (max-width: 360px) {
    .mobile-amount-input-group {
        gap: 8px;
    }
    
    .mobile-amount-input {
        flex: 0.7; /* 인풋창을 70%로 제한 */
        padding: 10px 12px;
        font-size: 13px;
        min-width: 0;
    }
    
    .mobile-reset-btn {
        flex: 0.3; /* 초기화 버튼을 30%로 설정 */
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 50px;
    }
    
    /* 사이드메뉴 내부의 인풋창도 동일하게 적용 */
    .mobile-menu-content .mobile-amount-input-group {
        gap: 8px;
    }
    
    .mobile-menu-content .mobile-amount-input {
        flex: 0.7;
        padding: 10px 12px;
        font-size: 13px;
        min-width: 0;
    }
    
    .mobile-menu-content .mobile-reset-btn {
        flex: 0.3;
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 50px;
    }
    
    /* 회원가입 인풋창 그룹 360px 이하에서 크기 조정 */
    .mobile-signup-input-group {
        gap: 8px;
    }
    
    .mobile-signup-input,
    .mobile-signup-select {
        flex: 0.7; /* 인풋창을 70%로 제한 */
        padding: 10px 12px;
        font-size: 13px;
        min-width: 0;
    }
    
    .mobile-check-btn {
        flex: 0.3; /* 버튼을 30%로 설정 */
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 50px;
    }
}

.mobile-amount-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-amount-btn {
    flex: 1;
    padding: 10px 8px;
    background: #e9ecef;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.mobile-amount-btn:hover {
    background: #4cabfb;
    color: white;
}

.mobile-game-select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.mobile-game-select:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-radio-group {
    display: flex;
    gap: 20px;
}

.mobile-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #4cabfb;
}

.mobile-name-input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    background: #f8f9fa;
    color: #666;
}

.mobile-message-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-message-textarea:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-history-btn {
    margin-top: 10px;
    padding: 10px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-btn:hover {
    background: #5a6268;
}

.mobile-deposit-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.mobile-deposit-notice p {
    font-size: 13px;
    color: #0c5460;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-deposit-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-family: 'Pretendard', sans-serif;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-deposit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

.mobile-withdrawal-notice {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.mobile-withdrawal-notice p {
    font-size: 13px;
    color: #721c24;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-withdrawal-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-family: 'Pretendard', sans-serif;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.mobile-withdrawal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.mobile-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-coupon-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-coupon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-coupon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-coupon-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-radius: 50%;
    color: white;
}

.mobile-coupon-info {
    flex: 1;
}

.mobile-coupon-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-status.available {
    background: #d4edda;
    color: #155724;
}

.mobile-coupon-status.used {
    background: #f8d7da;
    color: #721c24;
}

.mobile-coupon-status.expired {
    background: #e2e3e5;
    color: #6c757d;
}

.mobile-coupon-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.mobile-coupon-value {
    font-size: 18px;
    font-weight: bold;
    color: #4cabfb;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-expiry {
    font-size: 12px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-use-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-use-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 171, 251, 0.3);
}

.mobile-coupon-use-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.mobile-coupon-use-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.mobile-coupon-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.mobile-coupon-notice-title {
    font-size: 16px;
    font-weight: bold;
    color: #856404;
    margin-bottom: 10px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-coupon-notice-list {
    margin: 0;
    padding-left: 20px;
}

.mobile-coupon-notice-list li {
    font-size: 13px;
    color: #856404;
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-summary {
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-point-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-value {
    font-size: 18px;
    font-weight: bold;
    color: white;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-value.positive {
    color: #90EE90;
}

.mobile-point-value.negative {
    color: #FFB6C1;
}

.mobile-point-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.mobile-point-tab-item {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-tab-item.active {
    background: white;
    color: #4cabfb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-point-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.mobile-point-item-history {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.mobile-point-item-history:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-point-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mobile-point-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.mobile-point-info {
    flex: 1;
}

.mobile-point-type {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-date {
    font-size: 13px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-amount {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-amount.positive {
    color: #28a745;
}

.mobile-point-amount.negative {
    color: #dc3545;
}

.mobile-point-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.mobile-point-game {
    font-size: 13px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-status.completed {
    background: #d4edda;
    color: #155724;
}

.mobile-point-status.processing {
    background: #fff3cd;
    color: #856404;
}

.mobile-point-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.mobile-point-more-btn {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-more-btn:hover {
    background: #e9ecef;
    color: #333;
}

.mobile-point-notice {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.mobile-point-notice-title {
    font-size: 16px;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 10px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-point-notice-list {
    margin: 0;
    padding-left: 20px;
}

.mobile-point-notice-list li {
    font-size: 13px;
    color: #1976d2;
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.mobile-history-tab-item {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-tab-item.active {
    background: white;
    color: #4cabfb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.mobile-history-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.mobile-history-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-history-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mobile-history-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.mobile-history-info {
    flex: 1;
}

.mobile-history-type {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-date {
    font-size: 13px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-amount {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-amount.positive {
    color: #28a745;
}

.mobile-history-amount.negative {
    color: #dc3545;
}

.mobile-history-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.mobile-history-method {
    font-size: 13px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-status.completed {
    background: #d4edda;
    color: #155724;
}

.mobile-history-status.processing {
    background: #fff3cd;
    color: #856404;
}

.mobile-history-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.mobile-history-more-btn {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-history-more-btn:hover {
    background: #e9ecef;
    color: #333;
}

.mobile-history-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-summary-label {
    font-size: 14px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-summary-value {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-summary-value.positive {
    color: #28a745;
}

.mobile-summary-value.negative {
    color: #dc3545;
}

/* PC용 충환전내역 스타일 */
.history-content {
    padding: 20px;
}

.history-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.history-tab-item {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
}

.history-tab-item.active {
    background: white;
    color: #4cabfb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.history-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.history-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.history-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
}

.history-type {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Pretendard', sans-serif;
}

.history-date {
    font-size: 14px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.history-amount {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.history-amount.positive {
    color: #28a745;
}

.history-amount.negative {
    color: #dc3545;
}

.history-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.history-method {
    font-size: 14px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.history-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.history-status.completed {
    background: #d4edda;
    color: #155724;
}

.history-status.processing {
    background: #fff3cd;
    color: #856404;
}

.history-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.history-more-btn {
    width: 100%;
    padding: 15px;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
}

.history-more-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

.history-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.summary-item {
    text-align: center;
    flex: 1;
}

.summary-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-family: 'Pretendard', sans-serif;
}

.summary-value {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.summary-value.positive {
    color: #28a745;
}

.summary-value.negative {
    color: #dc3545;
}

/* 모바일에서만 모바일 마이페이지 팝업 표시 */
@media (max-width: 768px) {
    .mypage-popup.show .mypage-popup-content {
        display: none;
    }
    
    .mypage-popup.show .mobile-mypage-popup-content {
        display: block;
    }
}

/* 데스크톱에서는 모바일 마이페이지 팝업 숨김 */
@media (min-width: 769px) {
    .mobile-mypage-popup-content {
        display: none !important;
    }
}

/* 모바일 공지사항 팝업 스타일 */
.mobile-notice-popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    overflow-y: auto;
}

.mobile-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-notice-logo {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mobile-notice-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-notice-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-notice-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    position: sticky;
    top: 80px;
    z-index: 9;
}

.mobile-notice-tab-item {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
    border-bottom: 3px solid transparent;
}

.mobile-notice-tab-item.active {
    color: #4cabfb;
    border-bottom-color: #4cabfb;
    background: white;
}

.mobile-notice-content {
    padding: 20px;
}

/* 모바일 1:1문의 리스트 스타일 */
.mobile-inquiry-list {
    margin-bottom: 20px;
}

.mobile-inquiry-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mobile-inquiry-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-inquiry-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mobile-inquiry-number {
    background: #4cabfb;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.mobile-inquiry-title {
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-inquiry-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

.mobile-inquiry-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.mobile-inquiry-status.pending {
    background: #fff3e0;
    color: #f57c00;
}

.mobile-inquiry-date {
    font-size: 12px;
    color: #666;
    text-align: right;
}

.mobile-inquiry-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.mobile-page-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-page-btn:hover {
    background: #e0e0e0;
}

.mobile-page-btn.active {
    background: #4cabfb;
    color: white;
    border-color: #4cabfb;
}

.mobile-inquiry-button-container {
    text-align: center;
    margin-top: 20px;
}

.mobile-inquiry-create-btn {
    background: linear-gradient(135deg, #4cabfb, #357abd);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-inquiry-create-btn:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

/* 모바일 1:1문의 폼 버튼들 */
.mobile-inquiry-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.mobile-inquiry-back-btn {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-inquiry-back-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.mobile-inquiry-submit-btn {
    background: linear-gradient(135deg, #4cabfb, #357abd);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-inquiry-submit-btn:hover {
    background: linear-gradient(135deg, #357abd, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

.mobile-notice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-notice-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.mobile-notice-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-notice-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-notice-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-badge:contains("공지") {
    background: #dc3545;
}

.mobile-notice-badge:contains("이벤트") {
    background: #28a745;
}

.mobile-notice-badge:contains("안내") {
    background: #17a2b8;
}

.mobile-notice-title {
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-date {
    font-size: 12px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-notice-content-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.mobile-faq-question,
.mobile-faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-faq-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    font-family: 'Pretendard', sans-serif;
    flex-shrink: 0;
}

.mobile-faq-question .mobile-faq-icon {
    background: #4cabfb;
}

.mobile-faq-answer .mobile-faq-icon {
    background: #28a745;
}

.mobile-faq-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-promotion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-promotion-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-promotion-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.mobile-promotion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-promotion-info {
    padding: 15px;
}

.mobile-promotion-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-promotion-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.mobile-promotion-period {
    font-size: 12px;
    color: #4cabfb;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

.mobile-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-inquiry-select,
.mobile-inquiry-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-inquiry-select:focus,
.mobile-inquiry-input:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-inquiry-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-inquiry-textarea:focus {
    outline: none;
    border-color: #4cabfb;
    box-shadow: 0 0 0 3px rgba(76, 171, 251, 0.1);
}

.mobile-inquiry-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4cabfb, #7fcaff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
    box-shadow: 0 4px 15px rgba(76, 171, 251, 0.3);
}

.mobile-inquiry-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 171, 251, 0.4);
}

.mobile-message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-message-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.mobile-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-message-sender {
    font-size: 14px;
    font-weight: bold;
    color: #4cabfb;
    font-family: 'Pretendard', sans-serif;
}

.mobile-message-date {
    font-size: 12px;
    color: #666;
    font-family: 'Pretendard', sans-serif;
}

.mobile-message-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-message-content {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

/* 모바일에서만 모바일 공지사항 팝업 표시 */
@media (max-width: 768px) {
    .notice-popup.show .notice-popup-content {
        display: none;
    }
    
    .notice-popup.show .mobile-notice-popup-content {
        display: block;
    }
}

/* 데스크톱에서는 모바일 공지사항 팝업 숨김 */
@media (min-width: 769px) {
    .mobile-notice-popup-content {
        display: none !important;
    }
}

.mobile-user-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ff00, #ff0080, #8000ff, #00ff80);
    background-size: 400% 400%;
    animation: neon 8s ease infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 0 2px #87CEEB, 0 0 10px rgba(0, 255, 255, 0.5);
}

.mobile-badge-icon {
    color: white;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-user-details {
    flex: 1;
}

.mobile-user-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Pretendard', sans-serif;
}

.mobile-user-id {
    font-size: 14px;
    opacity: 0.9;
    font-family: 'Pretendard', sans-serif;
}

/* 게임머니/포인트 정보 */
.mobile-money-info {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mobile-money-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mobile-money-item:last-child {
    margin-bottom: 0;
}

.mobile-money-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;
}

.mobile-money-value {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
}

/* 메뉴 리스트 */
.mobile-menu-list {
    padding: 20px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.mobile-menu-item:hover {
    background-color: #f8f9fa;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 모바일 메뉴 아이콘별 스타일 - 필요시 추가 */

.mobile-menu-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;
}

/* 하단 버튼들 */
.mobile-menu-buttons {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}


.mobile-logout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
    font-family: 'Pretendard', sans-serif;
}

.mobile-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* 반응형 대응 */
@media (max-width: 480px) {
    .mobile-menu-content {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .mobile-user-info {
        padding: 15px;
    }
    
    .mobile-money-info {
        padding: 15px;
    }
    
    .mobile-menu-list {
        padding: 15px 0;
    }
    
    .mobile-menu-item {
        padding: 14px 15px;
    }
    
    .mobile-menu-buttons {
        padding: 15px;
    }
}

/* 모바일 뷰 - 텔레그램 배경 반응형 */
@media (max-width: 600px) {
    .telegram-item {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4/1;
    }
    
    .telegram-container {
        padding: 0 10px;
        gap: 10px;
    }
}

/* 섹션 10: 팝업창 스타일 */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.popup-container {
    width: 100%;
    max-width: 1200px;
    height: 550px;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.popup-slider {
    height: 100%;
    display: flex;
    gap: 15px;
    padding: 0 0 20px 0;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: auto;
    scrollbar-color: #667eea rgba(102, 126, 234, 0.1);
}

.popup-slider::-webkit-scrollbar {
    height: 16px;
}

.popup-slider::-webkit-scrollbar-track {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.popup-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    transform: scaleY(1.1);
}

.popup-event-card {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.popup-image {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
}

.popup-actions {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-dismiss-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-dismiss-btn:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-1px);
}


/* 모바일 반응형 */
@media (max-width: 480px) {
    .popup-modal {
        padding: 10px;
    }
    
    .popup-container {
        width: 90%;
        height: 500px;
    }
    
    .popup-event-card {
        width: 280px;
    }
    
    .popup-slider {
        gap: 10px;
    }
    
    .popup-slider {
        padding: 0 0 15px 0;
    }
    
    .popup-slider::-webkit-scrollbar {
        height: 12px;
    }
    
    .popup-slider::-webkit-scrollbar-track {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .popup-slider::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    }
    
    .popup-actions {
        padding: 12px;
        height: 50px;
    }
    
    .popup-dismiss-btn {
        padding: 6px;
        font-size: 11px;
    }
}

