@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 텍스트 선택 방지 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 드래그 방지 */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

body {
    font-family: 'Poppins', sans-serif;
    /* 고급스러운 밤하늘 그라디언트 */
    background: 
        radial-gradient(ellipse at top, rgba(30, 20, 60, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(20, 10, 40, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a15 0%, #0d0820 25%, #120a30 50%, #0d0820 75%, #0a0a15 100%);
    color: #e6e7ea;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* 이미지 드래그 방지 */
img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* 고급스러운 밤하늘 별 효과 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 개별 별 스타일 */
.star {
    position: absolute;
    border-radius: 50%;
    animation: starTwinkle 4s ease-in-out infinite;
}

.big-star {
    animation: bigStarTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@keyframes bigStarTwinkle {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    50% { 
        opacity: 0.4;
        transform: scale(0.9);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* 은하수 효과 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 50% 50%, 
            rgba(139, 92, 246, 0.03) 0%, 
            transparent 40%);
    animation: galaxyRotate 200s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes galaxyRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 뒤로가기 버튼 */
.back-button {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 50px;
    color: #e6e7ea;
    text-decoration: none;
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.back-button:hover {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.7), rgba(20, 15, 30, 0.6));
    border-color: rgba(139, 92, 246, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.08);
    color: #e9e7ff;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.djmax-card {
    background: linear-gradient(180deg, rgba(8,8,12,0.75), rgba(12,12,18,0.85));
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(139, 92, 246, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 8px 34px rgba(139, 92, 246, 0.06);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.djmax-logo {
    max-width: 200px;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.4),
        0 8px 24px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.2);
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(139, 92, 246, 0.3),
            0 0 30px rgba(139, 92, 246, 0.2),
            0 8px 24px rgba(139, 92, 246, 0.2),
            inset 0 0 15px rgba(139, 92, 246, 0.1);
        border-color: rgba(139, 92, 246, 0.4);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(139, 92, 246, 0.5),
            0 0 50px rgba(139, 92, 246, 0.3),
            0 8px 24px rgba(139, 92, 246, 0.3),
            inset 0 0 20px rgba(139, 92, 246, 0.2);
        border-color: rgba(139, 92, 246, 0.6);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #6366f1, #8b5cf6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6))
            drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
    animation: titleGlow 3s ease-in-out infinite, gradientShift 5s ease infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3))
                drop-shadow(0 2px 4px rgba(139, 92, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5))
                drop-shadow(0 2px 6px rgba(139, 92, 246, 0.3));
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    color: #9ca3af;
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    animation: subtitleGlow 3s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(139, 92, 246, 0.2),
            0 2px 4px rgba(0, 0, 0, 0.5);
        color: #9ca3af;
    }
    50% {
        text-shadow: 
            0 0 8px rgba(139, 92, 246, 0.3),
            0 2px 6px rgba(0, 0, 0, 0.5);
        color: #b4b9c5;
    }
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    margin: 40px 0;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: linear-gradient(135deg, rgba(18,18,24,0.6) 0%, rgba(15,15,20,0.8) 50%, rgba(12,12,16,0.6) 100%);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.info-box:hover {
    background: linear-gradient(135deg, rgba(26,20,36,0.75) 0%, rgba(20,18,30,0.85) 50%, rgba(18,16,26,0.75) 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.22);
}

.info-box h2 {
    color: #a78bfa;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.5),
        0 2px 6px rgba(139, 92, 246, 0.3);
    animation: sectionTitleGlow 3s ease-in-out infinite;
}

@keyframes sectionTitleGlow {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(139, 92, 246, 0.3),
            0 2px 4px rgba(139, 92, 246, 0.15);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(139, 92, 246, 0.4),
            0 2px 6px rgba(139, 92, 246, 0.25);
    }
}

.info-box p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.feature-list i {
    color: #8b5cf6;
    font-size: 1.1rem;
}

.stats-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.05));
}

/* 티어 쇼케이스 스타일 */
.tier-showcase {
    background: linear-gradient(180deg, rgba(12,12,18,0.6), rgba(8,8,12,0.6));
    padding: 40px;
    border-radius: 25px;
    border: 2px solid rgba(139, 92, 246, 0.18);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 6px 24px rgba(139, 92, 246, 0.06);
    margin-bottom: 30px;
    animation: tierPulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.tier-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(139, 92, 246, 0.04) 50%,
        transparent 70%
    );
    animation: tierShine 3s linear infinite;
}

@keyframes tierPulse {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(139, 92, 246, 0.1);
    }
    50% { 
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 6px 20px rgba(139, 92, 246, 0.15);
    }
}

.tier-showcase-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.tier-showcase-header h2 {
    color: #e6e7ea;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 
        0 0 15px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(139, 92, 246, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    animation: tierHeaderGlow 3s ease-in-out infinite;
}

@keyframes tierHeaderGlow {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(139, 92, 246, 0.4),
            0 0 20px rgba(139, 92, 246, 0.2),
            0 2px 8px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(139, 92, 246, 0.5),
            0 0 30px rgba(139, 92, 246, 0.3),
            0 2px 10px rgba(0, 0, 0, 0.5);
    }
}

.tier-showcase-header h2 i {
    color: #8b5cf6;
    font-size: 2.2rem;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.tier-subtitle {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.tier-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tier-video-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.tier-showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tier-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(139, 92, 246, 0.15) 100%);
    pointer-events: none;
    animation: tierGlow 3s ease-in-out infinite;
}

@keyframes tierGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.tier-info {
    padding: 20px;
}

.tier-rank {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
    animation: tierShine 3s linear infinite;
}

@keyframes tierShine {
    0% { filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3)) brightness(1); }
    50% { filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4)) brightness(1.1); }
    100% { filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3)) brightness(1); }
}

.tier-description {
    color: rgba(230, 230, 234, 0.75);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.tier-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tier-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.tier-stat-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateX(5px);
}

.tier-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.tier-stat-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 캐릭터 갤러리 */
.character-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.character-card {
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.character-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.character-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin-bottom: 10px;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.3s ease;
}

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

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

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

.character-overlay i {
    color: #a78bfa;
    font-size: 2rem;
}

.character-name {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(139, 92, 246, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #a78bfa;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.stat-item .stat-value {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-section h2 {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    animation: sectionTitleGlow 3s ease-in-out infinite;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.links-section h2 {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    animation: sectionTitleGlow 3s ease-in-out infinite;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.link-btn.steam {
    background: linear-gradient(135deg, #1b2838, #171a21);
}

.link-btn.official {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.link-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* 곡 리스트 스타일 */
.songs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.song-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.song-item:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.song-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.song-thumbnail:hover img {
    transform: scale(1.1);
}

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

.song-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3rem;
    color: #a78bfa;
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.8));
}

.song-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.song-name {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.song-composer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.song-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.song-dlc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.03));
    padding: 4px 8px;
    border-radius: 10px;
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}

.song-dlc:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.06));
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.song-dlc img {
    width: auto;
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: transparent;
    padding: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: block;
}

/* V LIBERTY DLC는 하얀색 배경 */
.song-dlc img[src*="vliberty"] {
    background: #ffffff;
}

.song-dlc img:hover {
    transform: scale(1.08);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.song-difficulty {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.song-player {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    overflow: visible;
    transition: max-height 0.5s ease;
    border-radius: 15px;
}

.song-item.active .song-player {
    max-height: 600px;
    margin-top: 15px;
}

.song-player iframe {
    width: 100%;
    height: 360px;
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

/* 반응형 */
@media (max-width: 768px) {
    .djmax-card {
        padding: 30px 20px;
    }

    .title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-button {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
    }

    .song-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .song-thumbnail {
        width: 100%;
    }

    .song-name {
        font-size: 1.2rem;
    }

    .song-player iframe {
        height: 250px;
    }
}

/* 갤러리 모달 */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #a78bfa;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.gallery-close:hover {
    color: #c4b5fd;
    transform: rotate(90deg);
}

.gallery-title {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.6);
}

/* 모달 스크롤바 스타일 */
.gallery-modal-content::-webkit-scrollbar {
    width: 10px;
}

.gallery-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.gallery-modal-content::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 10px;
}

.gallery-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

@media (max-width: 768px) {
    .gallery-modal-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .gallery-images {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
}

/* 이미지 전체화면 뷰어 */
.image-viewer {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.viewer-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y pinch-zoom;
}

.viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.viewer-close {
    position: fixed;
    top: 30px;
    right: 50px;
    color: #a78bfa;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.viewer-close:hover {
    color: #c4b5fd;
    transform: rotate(90deg) scale(1.2);
}

.viewer-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.3);
    border: none;
    color: #a78bfa;
    font-size: 40px;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.viewer-nav:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.viewer-prev {
    left: 30px;
}

.viewer-next {
    right: 30px;
}

.viewer-counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 30px;
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 10001;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .viewer-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
    
    .viewer-nav {
        font-size: 30px;
        padding: 15px 20px;
    }
    
    .viewer-prev {
        left: 10px;
    }
    
    .viewer-next {
        right: 10px;
    }
    
    .viewer-counter {
        bottom: 20px;
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* 나의 기록 스타일 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(139, 92, 246, 0.06);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.18);
    box-shadow: 0 10px 30px rgba(99, 66, 180, 0.08);
}

.stat-card[onclick]:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.26);
    box-shadow: 0 12px 40px rgba(99, 66, 180, 0.09);
}

.stat-card[onclick]:hover .stat-value {
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.6);
}

.stat-card[onclick]:hover .clickable-hint {
    color: rgba(255, 255, 255, 0.5);
}

.stat-card.clickable {
    cursor: pointer;
}

.stat-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 66, 180, 0.18) 0%, rgba(80, 58, 150, 0.08) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 28px;
    color: #a78bfa;
}

.stat-svg-icon {
    width: 35px;
    height: 35px;
    filter: brightness(0) saturate(100%) invert(78%) sepia(26%) saturate(1614%) hue-rotate(215deg) brightness(102%) contrast(98%);
}

.tier-video {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 600;
    height: 1.2em;
    display: flex;
    align-items: center;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
    height: 1.8em;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-subtext {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    height: 1.2em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-subtext.clickable-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.difficulty-sc {
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
    margin-left: 5px;
}

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-right: 4px;
}

.key-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(100, 200, 255, 0.15);
    border: 1px solid rgba(100, 200, 255, 0.4);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64c8ff;
}

.tier-name {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* DLC 팝업 스타일 */
.dlc-list-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.dlc-popup-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dlc-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.dlc-popup-header h3 {
    font-size: 1.8rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dlc-close-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.4);
    color: #ff4444;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dlc-close-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    border-color: #ff4444;
    transform: rotate(90deg);
}

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

.dlc-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dlc-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.dlc-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 460 / 215;
    object-fit: cover;
    border-radius: 8px;
}

.dlc-item span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .dlc-popup-content {
        padding: 25px;
    }
    
    .dlc-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .dlc-popup-header h3 {
        font-size: 1.4rem;
    }
}

/* 도전과제 팝업 스타일 */
.achievement-list-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.achievement-popup-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 40px;
    max-width: 1400px;
    width: 95%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.achievement-popup-header {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.achievement-popup-header h3 {
    margin: 0;
    font-size: 2rem;
}

.achievement-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffd700;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    background: none;
    border: none;
}

.achievement-close-btn:hover {
    color: #ffed4e;
    transform: rotate(90deg);
}

.achievement-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0;
}

.filter-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: #aaa;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-tab:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.filter-tab.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.filter-tab span {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.filter-tab.active span {
    background: rgba(255, 215, 0, 0.3);
    color: #fff;
}

.achievement-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(80vh - 220px);
    padding-right: 10px;
}

.achievement-item {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(50, 50, 50, 0.6));
    border: 2px solid rgba(100, 100, 100, 0.3);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 70px;
}

.achievement-item.achieved {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(50, 40, 0, 0.3), rgba(60, 50, 10, 0.2));
}

.achievement-item.locked {
    opacity: 0.6;
}

.achievement-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 215, 0, 0.6);
}

.achievement-icon {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.achievement-check {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #4caf50;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.5);
}

.achievement-info {
    flex: 1;
}

.achievement-info h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.achievement-item.achieved .achievement-info h4 {
    color: #ffd700;
}

.achievement-info p {
    color: #aaa;
    font-size: 0.8rem;
    margin: 0 0 3px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.unlock-date {
    color: #4caf50;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 도전과제 목록 스크롤바 */
.achievement-list::-webkit-scrollbar {
    width: 8px;
}

.achievement-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.achievement-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    border-radius: 10px;
}

.achievement-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e, #ffd700);
}

/* 도전과제 팝업 스크롤바 */
.achievement-popup-content::-webkit-scrollbar {
    width: 10px;
}

.achievement-popup-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.achievement-popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    border-radius: 10px;
}

.achievement-popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e, #ffd700);
}

@media (max-width: 1400px) {
    .achievement-list {
        grid-template-columns: 1fr;
    }
    
    .achievement-popup-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .tier-showcase {
        padding: 25px;
    }
    
    .tier-showcase-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tier-showcase-header h2 {
        font-size: 1.5rem;
    }
    
    .tier-rank {
        font-size: 2rem;
    }

    .achievement-popup-content {
        padding: 25px;
        max-height: 85vh;
        height: 85vh;
        max-width: 95%;
    }
    
    .achievement-popup-header h3 {
        font-size: 1.4rem;
    }
    
    .achievement-list {
        grid-template-columns: 1fr;
        max-height: calc(85vh - 220px);
    }
    
    .achievement-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}

/* ===== 도전과제 갤러리 스타일 ===== */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(50, 50, 50, 0.6));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.achievement-card.achieved {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(60, 50, 20, 0.6), rgba(80, 70, 30, 0.4));
}

.achievement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.6);
}

.achievement-card-icon {
    position: relative;
    width: 64px;
    height: 64px;
}

.achievement-card-icon img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.achievement-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    word-break: keep-all;
}

.achievement-card.locked .achievement-card-name {
    color: #888;
}

/* 도전과제 상세 뷰어 */
.achievement-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.achievement-viewer-content {
    max-width: 600px;
    width: 90%;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
}

.achievement-viewer-icon {
    width: 128px;
    height: 128px;
    border-radius: 20px;
    margin: 0 auto 30px;
    display: block;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.achievement-viewer-name {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.achievement-viewer-desc {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.achievement-viewer-status {
    margin-top: 20px;
}

/* 팝업 컨텐츠 스크롤바 */
.achievement-popup-content::-webkit-scrollbar {
    width: 10px;
}

.achievement-popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.achievement-popup-content::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

.achievement-popup-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* 추가 반응형 스타일 */
@media (max-width: 1024px) {
    .djmax-card {
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .djmax-card {
        padding: 20px 15px;
        max-width: 100%;
        margin: 10px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .djmax-logo {
        width: 80px;
        height: 80px;
    }
    
    .stats-grid,
    .dlc-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tier-showcase {
        padding: 20px 15px;
    }
    
    .tier-rank {
        font-size: 1.5rem;
    }
    
    .tier-showcase-header h2 {
        font-size: 1.2rem;
    }
    
    .back-button {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .djmax-card {
        padding: 15px 10px;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .djmax-logo {
        width: 70px;
        height: 70px;
    }
}
