/* ═══════════════════════════════════════════════════════════════════
   STORE SCREEN
═══════════════════════════════════════════════════════════════════ */

.store-screen {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

.store-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0;
}

.store-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.store-tab:hover { color: #fff; }
.store-tab.active { color: #44ffaa; border-bottom-color: #44ffaa; }

.store-content { min-height: 200px; }

.store-loading {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px;
}

.store-no-wallet {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}
.store-no-wallet-icon { font-size: 2.5rem; margin-bottom: 12px; }

.store-section { margin-bottom: 32px; }

.store-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Hero Cards */
.store-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-hero-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.2s;
}

.store-hero-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

.store-hero-card.equipped {
    border-color: #44ffaa;
    background: rgba(68,255,170,0.05);
}

.store-hero-icon { font-size: 2rem; flex-shrink: 0; width: 40px; text-align: center; }

.store-hero-info { flex: 1; min-width: 0; }
.store-hero-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.store-hero-theme { font-size: 0.75rem; color: #888; margin-bottom: 6px; }

.store-hero-passives { display: flex; flex-direction: column; gap: 3px; }
.store-hero-passive { font-size: 0.78rem; color: #aaa; }

.store-hero-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.store-hero-tier-badge {
    font-size: 0.65rem;
    background: rgba(247,147,26,0.2);
    color: #f7931a;
    border: 1px solid rgba(247,147,26,0.3);
    border-radius: 4px;
    padding: 1px 5px;
    font-weight: 700;
}

.equipped-btn { opacity: 0.6; cursor: default; }
.locked-btn { opacity: 0.4; cursor: not-allowed; }

/* Cosmetics */
.store-cosmetics-info {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

/* Frame Cards — horizontal row like hero cards */
.store-frames-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-frame-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.2s;
}
.store-frame-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.store-frame-card.equipped { border-color: #44ffaa; background: rgba(68,255,170,0.05); }

/* Avatar preview with actual frame ring */
.store-frame-preview-wrap { flex-shrink: 0; }
.store-frame-avatar-mock {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-frame-silhouette { font-size: 1.6rem; line-height: 1; }
.store-frame-avatar-mock .avatar-frame {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    pointer-events: none;
}

.store-frame-info { flex: 1; min-width: 0; }
.store-frame-name { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.store-frame-desc { font-size: 0.78rem; color: #888; margin-bottom: 4px; }
.store-frame-price { font-size: 0.8rem; color: #f7931a; font-weight: 600; }

.store-frame-action { flex-shrink: 0; }

/* Season Pass Card */
.store-sp-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 14px;
    padding: 20px;
}
.store-sp-card.owned { border-color: #44ffaa; background: rgba(68,255,170,0.05); }
.store-sp-icon { font-size: 2.5rem; flex-shrink: 0; }
.store-sp-info { flex: 1; }
.store-sp-title { font-size: 1.1rem; font-weight: 700; color: #FFD700; margin-bottom: 6px; }
.store-sp-desc { font-size: 0.85rem; color: #aaa; margin-bottom: 10px; line-height: 1.5; }
.store-sp-features { display: flex; flex-direction: column; gap: 4px; }
.store-sp-features span { font-size: 0.8rem; color: #ccc; }
.store-sp-countdown { font-size: 0.78rem; color: #aaa; margin-bottom: 6px; }
.store-sp-action { flex-shrink: 0; text-align: right; }
.store-sp-price { font-size: 1rem; font-weight: 700; color: #FFD700; margin-bottom: 8px; }

/* Mobile */
@media (max-width: 600px) {
    .store-hero-card { flex-wrap: wrap; }
    .store-hero-passives { display: none; }
    .store-hero-action { flex-direction: row; align-items: center; }
}
