/* TOKPLY 메인 대시보드 페이지 전용 스타일 */

:root {
    --tokply-primary: #FF6B6B;
    --tokply-secondary: #4ECDC4;
    --tokply-accent: #45B7D1;
    --tokply-success: #96CEB4;
    --tokply-warning: #FFEAA7;
    --tokply-danger: #FF7675;
    --tokply-purple: #A29BFE;
    --tokply-orange: #FD79A8;
    --tokply-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --tokply-game-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tokply-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --tokply-border-radius: 16px;
    
    /* 새로운 귀여운 색상들 */
    --tokply-cute-pink: #FF9A9E;
    --tokply-cute-blue: #A8E6CF;
    --tokply-cute-yellow: #FFD93D;
    --tokply-cute-purple: #C7CEEA;
    --tokply-cute-orange: #FFB347;
    --tokply-cute-green: #98FB98;
    
    /* 금은동 색상 */
    --tokply-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --tokply-silver: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    --tokply-bronze: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

body.tokply-dashboard-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-y: auto;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.tokply-dashboard-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.tokply-bg-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.1;
    animation: tokply-float 6s ease-in-out infinite;
}

.tokply-shape-1 {
    width: 80px;
    height: 80px;
    background: var(--tokply-cute-pink);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.tokply-shape-2 {
    width: 60px;
    height: 60px;
    background: var(--tokply-cute-blue);
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.tokply-shape-3 {
    width: 100px;
    height: 100px;
    background: var(--tokply-cute-yellow);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.tokply-shape-4 {
    width: 70px;
    height: 70px;
    background: var(--tokply-cute-purple);
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

.tokply-shape-5 {
    width: 90px;
    height: 90px;
    background: var(--tokply-cute-orange);
    top: 50%;
    left: 3%;
    animation-delay: 4s;
}

.tokply-shape-6 {
    width: 50px;
    height: 50px;
    background: var(--tokply-cute-green);
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

.tokply-shape-7 {
    width: 75px;
    height: 75px;
    background: var(--tokply-cute-pink);
    top: 35%;
    right: 25%;
    animation-delay: 6s;
}

.tokply-shape-8 {
    width: 65px;
    height: 65px;
    background: var(--tokply-cute-blue);
    bottom: 45%;
    left: 20%;
    animation-delay: 7s;
}

@keyframes tokply-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* 대시보드 컨테이너 */
.tokply-dashboard-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tokply-dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10px 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1000;
}

.tokply-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.tokply-header-right {
    position: relative;
    flex-shrink: 0;
    z-index: 1001;
}

/* 대시보드 헤더의 로고 섹션 */
.tokply-dashboard-header .tokply-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.tokply-dashboard-header .tokply-logo-image {
    display: flex;
    align-items: center;
}

.tokply-dashboard-header .tokply-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);*/
}

.tokply-dashboard-header .tokply-logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}

.tokply-logo-tok {
    color: #FF6B6B;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.3);
}

.tokply-logo-ply {
    color: #4ECDC4;
    text-shadow: 2px 2px 4px rgba(78, 205, 196, 0.3);
}

/* 검색 영역 */
.tokply-search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.tokply-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 50px;
}

.tokply-search-wrapper:focus-within {
    border-color: var(--tokply-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.tokply-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    height: 50px;
    box-sizing: border-box;
}

.tokply-search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.tokply-search-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    height: 50px;
    flex-shrink: 0;
}

.tokply-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tokply-search-btn:hover::before {
    left: 100%;
}

.tokply-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* 사용자 정보 영역 */
.tokply-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 0px solid rgba(126, 126, 126, 0.3);
    height: 50px;
    box-sizing: border-box;
}

.tokply-user-info:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tokply-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 0px solid rgba(126, 126, 126, 0.3);    
}

/* 아바타 이미지 스타일 추가 */
.tokply-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tokply-avatar-default,
.tokply-avatar-fallback {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tokply-user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tokply-dropdown-arrow {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tokply-user-info:hover .tokply-dropdown-arrow {
    transform: rotate(180deg);
}

.tokply-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

.tokply-dropdown-item {
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
}

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

.tokply-dropdown-item:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(5px);
}

.tokply-menu-icon {
    font-size: 1.1rem;
}

/* 메인 콘텐츠 */
.tokply-main-content {
    display: flex;
    gap: 10px;
    padding: 0 10px 12px 10px;
    flex: 1;
    position: relative;
    z-index: 10;
}

.tokply-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tokply-game-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    margin-top: 0px;
}

.tokply-section-header {    
    margin-bottom: 10px;
    padding-top: 0;
    text-align: center;
    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;    
}

/* 섹션 제목 행 스타일 추가 */
.tokply-section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.tokply-section-title-left {
    text-align: left;
}

.tokply-section-title-right {
    flex-shrink: 0;
}

/* [전체보기] 버튼 스타일 */
.tokply-view-all-btn {
    background: linear-gradient(135deg, #919191 0%, #919191 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tokply-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tokply-view-all-btn:hover::before {
    left: 100%;
}

.tokply-view-all-btn:hover {
    transform: translateY(-2px);
}

.tokply-section-header h2 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.tokply-section-header p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.tokply-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.tokply-game-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tokply-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--tokply-primary);
}

.tokply-game-image {
   width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/3; /* 400:300 비율 유지 */
    background: var(--tokply-game-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.tokply-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill → cover로 변경하여 비율 유지 */
    border-radius: 20px;
}

.tokply-game-card:hover .tokply-game-img {
    transform: scale(1.05);
}

.tokply-game-info {
    padding: 10px;
}

.tokply-game-info h4 {
    color: rgb(51, 51, 51);
    font-weight: 600;
    margin: 0px 0px 10px;
    
    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;
    
    /* 더 큰 반응형 폰트 크기 - 컨테이너에 맞게 꽉 차도록 */
    font-size: clamp(1.1rem, 4vw, 1.1rem);
}

.tokply-game-info p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tokply-game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #a0aec0;
    /*font-weight: 500;*/
}

/* 사이드바 */
.tokply-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.tokply-ranking-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.tokply-ranking-header {
    background: linear-gradient(135deg, #9d34ff 0%, #7e74ff 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.tokply-ranking-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tokply-ranking-list {
    padding: 13px;
}

.tokply-ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 5px;
}

.tokply-ranking-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/*.tokply-ranking-item:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(8px);
    padding-left: 15px;
}*/

.tokply-rank-badge-all {
    position: absolute;  /* 이 라인 추가! */
    top: 10px;          /* 이 라인 추가! */
    left: 10px;         /* 이 라인 추가! */    
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.tokply-rank-badge {
    /* position: absolute 제거 */
    /* top: 10px 제거 */
    /* left: 10px 제거 */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    pointer-events: none; /* 클릭 방지 */
}

/* 금은동 배지 색상 */
.tokply-rank-gold {
    background: var(--tokply-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.tokply-rank-silver {
    background: var(--tokply-silver);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.tokply-rank-bronze {
    background: var(--tokply-bronze);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.tokply-rank-normal {
    background: linear-gradient(135deg, var(--tokply-accent) 0%, #74b9ff 100%);
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.tokply-rank-info {
    flex: 1;
}

.tokply-rank-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tokply-rank-score {
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 500;
}

.tokply-no-data {
    text-align: center;
    color: #666;
    padding: 60px 20px;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

/* 검색 모달 */
.tokply-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.tokply-search-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.tokply-search-modal-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tokply-search-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.tokply-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tokply-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.tokply-search-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.tokply-search-result-header {
    margin-bottom: 20px;
    text-align: center;
}

.tokply-search-result-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.tokply-search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid rgba(163, 163, 163, 0.418);
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.tokply-search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--tokply-primary);
    background: rgba(255, 255, 255, 0.8);
}

.tokply-search-game-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.tokply-search-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tokply-search-game-info {
    flex: 1;
}

.tokply-search-game-info h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: clamp(16px, 2.8vw, 18px);
    font-weight: 600;
    text-align: left; 
}

.tokply-search-game-info p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    line-height: 1.4;
    text-align: left; 
}

.tokply-search-game-stats {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.tokply-search-no-result {
    text-align: center;
    padding: 60px 20px;
}

.tokply-no-result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.tokply-no-result-text h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.tokply-no-result-text p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

/* ========================================
   핫픽 캐러셀 스타일
   ======================================== */

/* 핫픽 캐러셀 컨테이너 중앙 정렬 */
.hotpick-carousel-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0px 0;
}

.hotpick-carousel-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.hotpick-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 0 0px;
    width: fit-content;
    max-width: none;
}

/* 게임 아이템 - 고정 크기 */
.hotpick-game-item {
    flex: 0 0 300px;
    width: 300px;
    height: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hotpick-game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 순위 배지 */
.hotpick-rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hotpick-rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation: goldPulse 2s infinite;
}

.hotpick-rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.hotpick-rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
}

.hotpick-rank-badge:not(.hotpick-rank-1):not(.hotpick-rank-2):not(.hotpick-rank-3) {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

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

/* 게임 이미지 */
.hotpick-game-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

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

.hotpick-game-item:hover .hotpick-game-img {
    transform: scale(1.05);
}

/* 게임 정보 */
.hotpick-game-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotpick-game-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;

    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;    
}

.hotpick-game-desc {
    color: #718096;
    margin: 0 0 15px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex: 1;

    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;
    
    /* 반응형 폰트 크기 - 배지에 적합한 크기 */
    font-size: 14px
}

.hotpick-game-stats {
    font-size: 13px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* 네비게이션 버튼 */
.hotpick-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}

.hotpick-carousel-prev {
    left: 15px;
}

.hotpick-carousel-next {
    right: 15px;
}

.hotpick-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hotpick-carousel-btn svg {
    color: #4a5568;
}

/* 호버 시 버튼 표시 */
.hotpick-carousel-container:hover .hotpick-carousel-btn,
.hotpick-carousel-container.hotpick-carousel-hover .hotpick-carousel-btn {
    opacity: 0.7;
    visibility: visible;
}

/* 데이터 없음 표시 */
.hotpick-no-data {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
    font-size: 16px;
}

/* ========================================
   추천 게임 캐러셀 스타일 (오늘의 핫픽과 동일한 구조)
   ======================================== */

.recommended-carousel-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0px 0;
}

.recommended-carousel-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.recommended-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 0 0px;
    margin: 0;
}

/* 추천 게임 아이템 */
.recommended-game-item {
    flex: 0 0 300px;
    width: 300px;
    height: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.recommended-game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 추천 배지 */
.recommended-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: recommendedPulse 3s infinite;
}

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

/* 추천 게임 이미지 */
.recommended-game-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

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

.recommended-game-item:hover .recommended-game-image img {
    transform: scale(1.05);
}

/* 추천 게임 정보 */
.recommended-game-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recommended-game-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;

    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;    
}

.recommended-game-desc {
    font-size: 14px;
    color: #718096;
    margin: 0 0 15px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex: 1;

    /* 한글 단어별 줄바꿈 설정 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;    
}

.recommended-game-stats {
    font-size: 13px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* 추천 캐러셀 네비게이션 버튼 */
.recommended-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}

.recommended-carousel-prev {
    left: 15px;
}

.recommended-carousel-next {
    right: 15px;
}

.recommended-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.recommended-carousel-btn svg {
    color: #4a5568;
}

/* 호버 시 버튼 표시 */
.recommended-carousel-container:hover .recommended-carousel-btn,
.recommended-carousel-container.recommended-carousel-hover .recommended-carousel-btn {
    opacity: 0.7;
    visibility: visible;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .tokply-main-content {
        flex-direction: column;
    }
    
    .tokply-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
    }
    
    .tokply-ranking-card {
        min-width: 300px;
        flex-shrink: 0;
    }
}

/* 태블릿 크기 (768px ~ 1023px) */
@media (max-width: 1023px) {
    .hotpick-game-item {
        flex: 0 0 280px;
        width: 280px;
        height: 380px;
    }
    
    .hotpick-rank-badge {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .hotpick-game-image {
        height: 200px;
    }
    
    .hotpick-game-title {
        font-size: 16px;
    }
    
    .hotpick-game-desc {
        font-size: 13px;
    }
    
    .recommended-game-item {
        flex: 0 0 280px;
        width: 280px;
        height: 380px;
    }
    
    .recommended-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .recommended-game-image {
        height: 200px;
    }
    
    .recommended-game-title {
        font-size: 16px;
    }
    
    .recommended-game-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .tokply-game-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px; /* 최소 높이 보장 */
    }

    .tokply-game-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .tokply-dashboard-header {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        margin: 0 10px 10px 10px;
    }
    
    .tokply-header-left {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .tokply-search-container {
        width: 100%;
        margin: 0;
    }
    
    .tokply-main-content {
        padding: 0 10px 12px 10px;
    }
    
    .tokply-game-grid {
        grid-template-columns: 1fr;
    }
    
    .tokply-sidebar {
        flex-direction: column;
    }
    
    .tokply-ranking-card {
        min-width: auto;
    }
    
    .tokply-dashboard-header .tokply-logo-text {
        font-size: 2rem;
    }
    
    .tokply-dashboard-header .tokply-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .tokply-bg-shape {
        opacity: 0.05;
    }
    
    .tokply-search-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .tokply-search-result-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tokply-search-game-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* 모바일 크기 (480px ~ 767px) */
    .hotpick-carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        gap: 20px;
        padding: 0 0px;
        width: fit-content;
        max-width: none;
    }
    
    .hotpick-game-item {
        flex: 0 0 250px;
        width: 250px;
        height: 350px;
    }
    
    .hotpick-rank-badge {
        width: 32px;
        height: 32px;
        font-size: 12px;
        top: 10px;
        left: 10px;
    }
    
    .hotpick-game-image {
        height: 180px;
    }
    
    .hotpick-game-info {
        padding: 10px;
    }
    
    .hotpick-game-title {
        font-size: 15px;
    }
    
    .hotpick-game-desc {
        font-size: 12px;
    }
    
    .hotpick-game-stats {
        font-size: 12px;
    }
    
    /* 모바일에서는 버튼을 반투명하게 항상 표시 */
    .hotpick-carousel-btn {
        opacity: 0;
        visibility: hidden;
        width: 40px;
        height: 40px;
    }
    
    .hotpick-carousel-btn:hover {
        opacity: 1;
    }
    
    .recommended-carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        gap: 20px;
        padding: 0 0px;
        width: fit-content;
        max-width: none;
    }
    
    .recommended-game-item {
        flex: 0 0 250px;
        width: 250px;
        height: 350px;
    }
    
    .recommended-badge {
        font-size: 10px;
        padding: 5px 8px;
        top: 10px;
        left: 10px;
    }
    
    .recommended-game-image {
        height: 180px;
    }
    
    .recommended-game-info {
        padding: 10px;
    }
    
    .recommended-game-title {
        font-size: 15px;
    }
    
    .recommended-game-desc {
        font-size: 12px;
    }
    
    .recommended-game-stats {
        font-size: 12px;
    }
    
    /* 모바일에서는 버튼을 반투명하게 항상 표시 */
    .recommended-carousel-btn {
        opacity: 0;
        visibility: hidden;
        width: 40px;
        height: 40px;
    }
    
    .recommended-carousel-btn:hover {
        opacity: 1;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .tokply-game-image {
        min-height: 180px;
    }
        
    .tokply-search-btn {
        padding: 0 18px;
        min-width: 60px; /* 50px → 60px로 증가 */
        flex-shrink: 0; /* 추가: 버튼 축소 방지 */
    }
    
    .tokply-search-btn span:not(.tokply-btn-icon) {
        display: none; /* "검색" 텍스트 숨기기 */
    }
    
    .tokply-search-wrapper {
        height: 45px;
        display: flex; /* 명시적 flex 설정 */
    }
    
    .tokply-search-input {
        flex: 1;
        min-width: 0; /* 입력창이 너무 작아지지 않도록 */
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tokply-search-btn {
        padding: 0 18px;
        min-width: 60px;
        height: 45px;
        flex-shrink: 0; /* 버튼 크기 고정 */
    }
    
    .hotpick-carousel-track {
        gap: 12px;
        padding: 0 0px;
    }
    
    .hotpick-game-item {
        flex: 0 0 220px;
        width: 220px;
        height: 320px;
    }
    
    .hotpick-rank-badge {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .hotpick-game-image {
        height: 160px;
    }
    
    .hotpick-game-info {
        padding: 10px;
    }
    
    .hotpick-game-title {
        font-size: 14px;
    }
    
    .hotpick-game-desc {
        font-size: 11px;
    }
    
    .hotpick-carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .recommended-carousel-track {
        gap: 12px;
        padding: 0 0px;
    }
    
    .recommended-game-item {
        flex: 0 0 220px;
        width: 220px;
        height: 320px;
    }
    
    .recommended-badge {
        font-size: 9px;
        padding: 4px 6px;
    }
    
    .recommended-game-image {
        height: 160px;
    }
    
    .recommended-game-info {
        padding: 10px;
    }
    
    .recommended-game-title {
        font-size: 14px;
    }
    
    .recommended-game-desc {
        font-size: 11px;
    }
    
    .recommended-carousel-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 320px) {
    .tokply-dashboard-header {
        padding: 15px;
        margin: 0 5px 10px 5px;
    }
    
    .tokply-search-wrapper {
        height: 40px;
    }
    
    .tokply-search-input {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-width: 0;
    }
    
    .tokply-search-btn {
        padding: 0 15px;
        min-width: 55px; /* 45px → 55px로 증가 */
        height: 40px;
        flex-shrink: 0;
    }
}


/* 로그인 버튼 스타일 */
.tokply-login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tokply-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.tokply-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}


/* 게임 태그 스타일 */
.game-tags {
    margin: 7px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.game-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* 핫픽 게임 태그 */
.hotpick-game-info .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);    
    /*
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
    */
}

/* 추천 게임 태그 */
.recommended-game-info .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}

/* 검색 결과 게임 태그 */
.tokply-search-game-info .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}

/* 게임 목록 페이지 게임 카드 태그 */
.tokply-game-grid .tokply-game-card .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}

/* 모든 게임 카드 태그 (통합) */
.tokply-game-card .game-tag,
.tokply-tag-game-card .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}










/* 태그별 좌우 스크롤 컨테이너 */
.tokply-tag-scroll-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    /* 추가: 내부 콘텐츠가 줄어들지 않도록 */
    flex-wrap: nowrap;
}

/* 스크롤바 스타일링 */
.tokply-tag-scroll-container::-webkit-scrollbar {
    height: 5px;
}

.tokply-tag-scroll-container::-webkit-scrollbar-track {
    background: rgba(218, 218, 218, 0.1);
    border-radius: 4px;
}

.tokply-tag-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(65, 65, 65, 0.3);
    border-radius: 4px;
}

.tokply-tag-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(153, 153, 153, 0.5);
}

/* 태그 게임 카드 (스크롤용) */
.tokply-tag-game-card {
    flex: 0 0 280px; /* 이미 있음 - 280px 고정 */
    width: 280px;
    min-width: 220px; /* 추가: 최소 너비 보장 */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.tokply-tag-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--tokply-primary);
}

.tokply-tag-game-card .tokply-game-image {
    width: 100%;
    height: 220px;
    background: var(--tokply-game-gradient);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.tokply-tag-game-card .tokply-game-info {
    padding: 10px;
}

.tokply-tag-game-card .tokply-game-info h4 {
    color: rgb(51, 51, 51);
    font-weight: 600;
    margin: 0px 0px 5px;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;
    font-size: 1.1rem;
}

.tokply-tag-game-card .tokply-game-info p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    height: 42px; /* 고정 높이 (1.4 × 0.9rem × 3줄) */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 3줄로 제한 */
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 태그 게임 통계 스타일 추가 */
.tokply-tag-game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    margin-top: 10px;
}

/* 태그 게임 이미지 내부 img 태그 스타일 */
.tokply-tag-game-card .tokply-tag-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.tokply-tag-game-card .tokply-tag-game-image .hotpick-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* 태그 게임 카드의 이미지 컨테이너 수정 */
.tokply-tag-game-card .tokply-game-image {
    width: 100%;
    height: 220px;
    background: var(--tokply-game-gradient);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* 태그 게임 카드의 이미지 태그 스타일 */
.tokply-tag-game-card .tokply-game-image img,
.tokply-tag-game-card .tokply-game-image .hotpick-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* 태그 게임 카드 호버 시 이미지 확대 */
.tokply-tag-game-card:hover .tokply-game-image img,
.tokply-tag-game-card:hover .tokply-game-image .hotpick-game-img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 로딩 상태 스타일 */
.tokply-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .tokply-tag-scroll-container {
        scrollbar-width: thin;
        scrollbar-color: rgba(0,0,0,0.3) transparent;
    }
    
    .tokply-tag-scroll-container::-webkit-scrollbar {
        height: 6px;
    }
    
    .tokply-tag-scroll-container::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 3px;
    }
    
    .tokply-tag-scroll-container::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }
    
    .tokply-tag-game-card {
        flex: 0 0 250px;
        width: 250px;
    }
    
    .tokply-tag-game-card .tokply-game-image {
        height: 160px;
    }
    
    .tokply-tag-game-card .tokply-game-info {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .tokply-tag-scroll-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tokply-tag-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .tokply-tag-game-card {
        flex: 0 0 220px;
        width: 220px;
    }
    
    .tokply-tag-game-card .tokply-game-image {
        height: 140px;
    }
    
    .tokply-tag-game-card .tokply-game-info {
        padding: 10px;
    }
    
    .tokply-tag-game-card .tokply-game-info h4 {
        font-size: 1rem;
    }
    
    .tokply-tag-game-card .tokply-game-info p {
        font-size: 11px;
    }
}

/* 태그 게임 카드 태그 스타일 */
.tokply-tag-game-card .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}







/* 랭킹 프로필 이미지 스타일 */
.tokply-ranking-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.tokply-ranking-profile-default {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* 사용자 정보 모달 스타일 */
.tokply-user-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.tokply-user-info-modal-content {
    background: white;
    border-radius: 12px;
    padding: 15px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tokply-user-info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tokply-user-info-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tokply-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
}

.tokply-modal-close:hover {
    color: #ef4444;
}

.tokply-user-info-profile-image {
    width: 120px;
    height: 120px;
    margin: 0px 10px 0px 0px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.tokply-modal-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tokply-modal-default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 60px;
}

.tokply-user-info-nickname {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin: 12px;
    text-align: center;
}

.tokply-user-info-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.tokply-level-text {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
}

.tokply-grade-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tokply-user-info-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.tokply-user-info-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 12px;
}

.tokply-user-info-stat-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.tokply-user-info-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.tokply-friend-add-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tokply-friend-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* 친구 사이 버튼 */
.tokply-user-info-friend-status {
    margin-top: 20px;
    text-align: center;  /* 이 줄 추가 */
}

tokply-user-info-friend-btn {
    display: inline-block;  /* block을 inline-block으로 변경 */
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tokply-user-info-modal-body {
    text-align: center;
}








/* 배너 슬라이더 스타일 - 높이 300px */
.tokply-banner-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tokply-banner-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    touch-action: pan-y pinch-zoom; /* 세로 스크롤은 허용, 가로는 커스텀 처리 */
    user-select: none; /* 드래그 시 텍스트 선택 방지 */    
}

.tokply-banner-track {
    position: relative;
    width: 100%;
    height: 300px;
    cursor: grab; /* 데스크톱에서도 드래그 가능 표시 */    
}

.tokply-banner-track.dragging {
    transition: none; /* 드래그 중에는 애니메이션 제거 */
    cursor: grabbing;
}

.tokply-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tokply-banner-slide.active {
    opacity: 1;
    z-index: 2;  /* 이 줄 추가 필요 */    
}

.tokply-banner-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
}

/* 배너 네비게이션 버튼 */
.tokply-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.tokply-banner-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.tokply-banner-prev {
    left: 15px;
}

.tokply-banner-next {
    right: 15px;
}

/* 배너 인디케이터 */
.tokply-banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}

.tokply-banner-indicator {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tokply-banner-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .tokply-banner-container {
        height: 150px;
        margin: 15px 0;
        border-radius: 12px;
    }
    
    .tokply-banner-slider {
        height: 150px;
        border-radius: 12px;
    }
    
    .tokply-banner-track {
        height: 150px;
    }
    
    .tokply-banner-slide {
        height: 150px;
    }
    
    .tokply-banner-slide img {
        height: 150px;
        border-radius: 12px;
    }
    
    .tokply-banner-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .tokply-banner-prev {
        left: 10px;
    }
    
    .tokply-banner-next {
        right: 10px;
    }
    
    .tokply-banner-indicators {
        bottom: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .tokply-banner-container {
        height: 150px;
        margin: 0px 0;
        border-radius: 12px;
    }
    
    .tokply-banner-slider {
        height: 150px;
        border-radius: 12px;
    }
    
    .tokply-banner-track {
        height: 150px;
    }
    
    .tokply-banner-slide {
        height: 150px;
    }
    
    .tokply-banner-slide img {
        height: 150px;
        border-radius: 12px;
    }
}









/* 광고 섹션 - 라운드 박스 스타일 */
.tokply-ad-section {
    margin: 0px 0;
    padding: 0 0px;
}

.tokply-ad-banner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tokply-ad-banner.tokply-ad-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tokply-ad-content {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.tokply-ad-content iframe {
    border-radius: 12px;
    max-width: 100%;
}

/* 반응형 광고 배너 */
@media (max-width: 768px) {
    .tokply-ad-section {
        padding: 0 0px;
        margin: 0px 0;
    }
    
    .tokply-ad-banner {
        padding: 12px;
        border-radius: 12px;
    }
    
    .tokply-ad-content iframe {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .tokply-ad-section {
        padding: 0 0px;
        margin: 0px 0;
    }
    
    .tokply-ad-banner {
        padding: 10px;
        border-radius: 10px;
    }
}







/* 새로 나왔어요 캐러셀의 게임 태그 스타일 - 핫픽과 동일하게 */
.newest-game-info .game-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
}

/* 새로 나왔어요 캐러셀 컨테이너를 핫픽과 동일하게 수정 */
.newest-carousel-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0px 0;
}

.newest-carousel-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.newest-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 0 0px;
    width: fit-content;
    max-width: none;
}

/* 새로 나왔어요 게임 아이템을 핫픽과 동일한 크기로 */
.newest-game-item {
    flex: 0 0 300px;
    width: 300px;
    height: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/*
.newest-game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
*/

/* 새로 나왔어요 게임 이미지 */
.newest-game-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.newest-game-image img,
.newest-game-image .hotpick-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/*
.newest-game-item:hover .newest-game-image img,
.newest-game-item:hover .newest-game-image .hotpick-game-img {
    transform: scale(1.05);
}
*/

/* 새로 나왔어요 게임 정보 */
.newest-game-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newest-game-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.newest-game-desc {
    color: #718096;
    margin: 0 0 15px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex: 1;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.2;
    font-size: 14px;
}

.newest-game-stats {
    font-size: 13px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* 새로 나왔어요 네비게이션 버튼을 핫픽과 동일하게 */
.newest-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}

.newest-carousel-prev {
    left: 15px;
}

.newest-carousel-next {
    right: 15px;
}

/*
.newest-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
*/

.newest-carousel-btn svg {
    color: #4a5568;
}

/* 호버 시 버튼 표시 */
/*
.newest-carousel-container:hover .newest-carousel-btn,
.newest-carousel-container.newest-carousel-hover .newest-carousel-btn {
    opacity: 0.7;
    visibility: visible;
}
*/

/* 반응형 - 태블릿 */
@media (max-width: 1023px) {
    .newest-game-item {
        flex: 0 0 280px;
        width: 280px;
        height: 380px;
    }
    
    .newest-game-image {
        height: 200px;
    }
    
    .newest-game-title {
        font-size: 16px;
    }
    
    .newest-game-desc {
        font-size: 13px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .newest-game-item {
        flex: 0 0 250px;
        width: 250px;
        height: 350px;
    }
    
    .newest-game-image {
        height: 180px;
    }
    
    .newest-game-info {
        padding: 10px;
    }
    
    .newest-game-title {
        font-size: 15px;
    }
    
    .newest-game-desc {
        font-size: 12px;
    }
    
    .newest-game-stats {
        font-size: 12px;
    }
    
    .newest-carousel-btn {
        opacity: 0;
        visibility: hidden;
        width: 40px;
        height: 40px;
    }
}

/* 반응형 - 소형 모바일 */
@media (max-width: 480px) {
    .newest-carousel-track {
        gap: 12px;
        padding: 0 0px;
    }

    .newest-game-item {
        flex: 0 0 220px;
        width: 220px;
        height: 320px;
    }
    
    .newest-game-image {
        height: 160px;
    }
    
    .newest-game-info {
        padding: 10px;
    }
    
    .newest-game-title {
        font-size: 14px;
    }
    
    .newest-game-desc {
        font-size: 11px;
    }
    
    .newest-carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* 새로 나왔어요 배지 스타일 추가 */
.newest-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: white;
    padding: 4px 6px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: newestPulse 3s infinite;
}

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





.tokply-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 15px;
    /*margin: 20px 0;*/
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    font-size: 12px;
    color: #ffffff;
}

.tokply-footer-link-item {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tokply-footer-link-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: translateY(-1px);
}

.tokply-footer-link-divider {
    color: #64748b;
    font-size: 10px;
}

@media (max-width: 768px) {
    .tokply-footer-links {
        font-size: 11px;
        gap: 6px;
        padding: 15px 10px;
    }
    
    .tokply-footer-link-item {
        padding: 3px 6px;
    }
}



/* 랭킹 필터 버튼 */
.tokply-ranking-filter {
    display: flex;
    gap: 0px;
    margin-left: auto;
}

.tokply-filter-btn {
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    margin: 3px
}

.tokply-filter-btn.active {
    background: linear-gradient(135deg, #893fff 0%, #f94aff 100%);
    color: white;
    border-color: #c300ff;
    box-shadow: 0 4px 15px rgba(205, 78, 163, 0.3);
}