/* store.css */
.store-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.store-header h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.store-header p {
    color: var(--text-muted);
    max-width: 500px;
    margin: var(--space-sm) auto 0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

.store-card {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.store-card.featured {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 100, 0, 0.05));
    border: 1px solid var(--gold);
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.store-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.store-card-icon i {
    font-size: 2rem;
}

.store-card-info {
    flex: 1;
}

.store-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.store-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.store-card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}

.store-card-price i, .store-card-owned i {
    margin-right: 4px;
}

.btn-store-buy {
    margin-top: var(--space-md);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    padding: 8px 12px;
    border-radius: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.btn-store-buy:active {
    transform: scale(0.96);
}

.btn-store-buy.disabled, .btn-store-buy.maxed {
    background: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.store-empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl);
}

/* Purchase Modal */
.store-modal-sheet {
    max-width: 420px;
    text-align: center;
}

.store-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.store-modal-icon i {
    font-size: 2.5rem;
}

.store-modal-price {
    background: rgba(255,215,0,0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 40px;
    display: inline-block;
    margin: var(--space-sm) 0;
}

.store-modal-quantity {
    margin: var(--space-md) 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-selector input {
    width: 80px;
    text-align: center;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: var(--radius-md);
    padding: 8px;
    color: white;
    font-weight: bold;
}

.store-modal-total {
    font-size: 1.2rem;
    font-weight: bold;
    margin: var(--space-md) 0;
}

.store-modal-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.store-modal-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
}