/* ============================================
   Info 패널 스타일
   ============================================ */

.info-panel {
    background: rgba(255,255,255,0.1);
    padding: 1.2rem; /* 패딩 감소 */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 160px; /* 200px에서 20% 감소 */
    max-width: 160px; /* 200px에서 20% 감소 */
}

/* info 패널 내 버튼 기본 스타일 */
.info-panel .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    background: rgba(255,255,255,0.05);
    border-radius: clamp(8px, 1.5vw, 12px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.info-item h3 {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    margin-bottom: clamp(0.25rem, 1vw, 0.4rem);
    opacity: 0.9;
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-value {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5),
                 0 0 20px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.info-value.updated {
    animation: numberUpdate 0.5s ease;
    color: #4CAF50;
}

.info-value.level-up {
    animation: levelUp 0.8s ease;
    color: #FF9800;
}

@keyframes numberUpdate {
    0% { 
        transform: scale(1);
        color: #fff;
    }
    50% { 
        transform: scale(1.2);
        color: #4CAF50;
    }
    100% { 
        transform: scale(1);
        color: #fff;
    }
}

@keyframes levelUp {
    0% { 
        transform: scale(1) rotate(0deg);
        color: #fff;
    }
    25% { 
        transform: scale(1.3) rotate(-5deg);
        color: #FF9800;
    }
    50% { 
        transform: scale(1.3) rotate(5deg);
        color: #FFB74D;
    }
    75% { 
        transform: scale(1.1) rotate(-2deg);
        color: #FF9800;
    }
    100% { 
        transform: scale(1) rotate(0deg);
        color: #fff;
    }
}

