/*
* [모듈명]: 상점 스타일
* [파일명]: store.css
* [역할]: 타래 충전 및 아이템 구매 화면의 레이아웃과 상품 카드 디자인을 정의합니다.
*/

.store-page {
    background-color: #000;
    color: #FFF;
}

.nav-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #111;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-title {
    font-size: 17px;
    font-weight: 800;
}

.btn-back {
    background: none;
    border: none;
    color: #FFF;
    cursor: pointer;
}

.store-content {
    padding: 24px 20px;
}

/* 보유 포인트 카드 */
.balance-card {
    position: relative;
    background: #111;
    border-radius: 24px;
    padding: 32px 24px;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid #222;
}

.card-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.balance-card .inner {
    position: relative;
    z-index: 1;
}

.balance-card .label {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    margin-bottom: 12px;
    display: block;
}

.balance-value {
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-value .amount {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

.credit-symbol {
    font-size: 28px;
    margin-right: -4px;
}

/* 탭 메뉴 */
.store-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #111;
}

.tab-item {
    background: none;
    border: none;
    color: #444;
    font-size: 16px;
    font-weight: 800;
    padding: 12px 0;
    position: relative;
    cursor: pointer;
}

.tab-item.active {
    color: #FFF;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFF;
}

/* 상품 리스트 그리드 */
.product-grid {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.product-grid.active {
    display: flex;
}

.product-card {
    background: #0A0A0A;
    border: 1px solid #111;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: all 0.2s ease;
}

.product-card:active {
    background: #111;
}

.product-card.hot {
    border-color: #333;
    background: #111;
}

.product-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 44px;
    height: 44px;
    background: #1A1A1A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 20px;
}

.icon-box.dark {
    background: #000;
    border: 1px solid #222;
}

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

.info .name {
    font-size: 16px;
    font-weight: 800;
}

.info .bonus {
    font-size: 12px;
    font-weight: 700;
    color: #00B0FF;
}

.info .desc {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.btn-buy {
    min-width: 90px;
    height: 40px;
    background: #FFF;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-buy.cost {
    background: #222;
    color: #FFF;
}

.badge-hot {
    position: absolute;
    top: -8px;
    left: 20px;
    background: #00B0FF;
    color: #FFF;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    z-index: 2;
}

.talae-icon {
    stroke: #FFF;
    fill: none;
}

.talae-icon.sm {
    stroke-width: 2.5;
}