/* =========================================
   6. 상점 화면 (shop.css)
   ========================================= */

.shop-container {
    padding: 30px 20px;
    width: 100%; max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
    animation: fadeInUp 0.5s ease-out;
}

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

.shop-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    margin: 0;
}

.shop-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 아이템 리스트 그리드 */
.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* 아이템 카드 */
.item-card {
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid #334155;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.item-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.item-name {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.item-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    height: 40px; /* 줄바꿈 방지용 높이 확보 */
}

/* 구매 버튼 */
.buy-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.buy-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.buy-btn:active {
    transform: scale(0.98);
}
